1 Author: Gerfried Fuchs <rhonda@debian.at> vim:ft=diff:
2 Description: Escape hyphens in manpage where they mean the minus sign
4 Index: t-prot-2.7/t-prot.1
5 ===================================================================
6 --- t-prot-2.7.orig/t-prot.1
7 +++ t-prot-2.7/t-prot.1
10 t-prot \- TOFU Protection - Display Filter for RFC 2822 messages
12 -.BI "t-prot [" OPTIONS "]..."
13 +.BI "t\-prot [" OPTIONS "]..."
16 This program is a filter to improve the readability of
17 @@ -22,19 +22,19 @@ is the reason for not using standard CPA
20 For easy usage, you can download a file to be included in your ~/.muttrc:
21 -.I http://www.escape.de/users/tolot/mutt/t-prot/muttrc.t-prot
22 +.I http://www.escape.de/users/tolot/mutt/t\-prot/muttrc.t\-prot
24 And here is an example S-Lang macro to use t-prot from within slrn:
25 -.I http://www.escape.de/users/tolot/mutt/t-prot/t-prot.sl
26 +.I http://www.escape.de/users/tolot/mutt/t\-prot/t\-prot.sl
30 "ad footer directory":
31 Defines the directory which contains the advertisement list footers (one
32 footer per file) which are to be tested when removing them with options
39 This option is also needed if you do not want signature lengths to be
40 counted wrong or fullquotes get undetected when an ad footer is
41 @@ -53,12 +53,12 @@ footer file found in the directory speci
42 (which is mandatory for this option). The comparison is done by perl's
50 This option is not needed if
55 .BR "\-\-bigq" [=n[,x]]
56 @@ -71,7 +71,7 @@ Input consists just of the message's bod
60 -This does not work with --pgp-short, and multipart messages will not
61 +This does not work with \-\-pgp\-short, and multipart messages will not
62 be detected due to missing headers.
65 @@ -137,7 +137,7 @@ With this option enabled t-prot makes fo
66 be helpful with broken list servers, or even if your email provider munges
67 the bodies of your messages.
69 -Works similar to --ftr-ad, just that it is intended for mailing list footers.
70 +Works similar to \-\-ftr\-ad, just that it is intended for mailing list footers.
73 This requires a directory with footer files to be given with option
74 @@ -153,7 +153,7 @@ Displays a short help text with a summar
78 -Defines a file for input; the default input is from '-' i.e. STDIN.
79 +Defines a file for input; the default input is from '\-' i.e. STDIN.
83 @@ -287,7 +287,7 @@ use of it when called from within your M
84 Hides TOFU as given by some Microsoft mailers. (You all surely know these
85 fullquotes beginning with
87 -"----- Original Message -----"
88 +"\-\-\-\-\- Original Message \-\-\-\-\-"
90 and some header lines...)
92 @@ -332,7 +332,7 @@ As an example for usage with
93 put this line into your alias file and invoke
96 -notofu: |"/usr/local/bin/t-prot -mt -p=user@mydomain"
97 +notofu: |"/usr/local/bin/t\-prot \-mt \-p=user@mydomain"
99 This will bounce messages for <notofu@domainname> if any TOFU is detected
100 inside the message, and deliver it to <user@mydomain> otherwise.
101 @@ -387,7 +387,7 @@ than 4. Consider this old-fashioned, but
105 -The line containing "-- " ist not counted when testing for an overlong
106 +The line containing "\-\- " ist not counted when testing for an overlong
107 signature, but it is included when displaying how many lines were deleted.
110 @@ -439,7 +439,7 @@ The environment variables
113 are read and respected when interpreting output by mutt or gnupg
114 -(unless they are overruled by the --locale option). T-prot's own
115 +(unless they are overruled by the \-\-locale option). T-prot's own
116 output is English regardless of any locale setting.
118 On program exit, t-prot uses exit codes from
119 @@ -483,7 +483,7 @@ Please point these people to the page
120 There are several ways to fine-tune t-prot's performance:
122 Some command line options are quite grave a performance hit -- do not
123 -use -k and especially --ms-smart if you are content without them.
124 +use \-k and especially \-\-ms\-smart if you are content without them.
126 Checking for special footers is very costly as well. Put as few footer
127 files as absolutely needed in any footer directory.
128 @@ -513,7 +513,7 @@ your line is empty you match uncondition
132 -I use the options -l and -L to supress mailing list footers when
133 +I use the options \-l and \-L to supress mailing list footers when
134 displaying messages in
136 This does work sometimes, but sometimes it does not: the footer is not
137 @@ -524,7 +524,7 @@ detected as too long (which they aren't)
138 This might occur if the message is badly encoded, so mutt cannot resolve
139 all encoded characters, e.g. if you have an encoded message on a mailing
140 list, and majordomo appends a mailing list footer in a different encoding
141 -(or even plain us-ascii). "-- " simply does not match "--=20".
142 +(or even plain us-ascii). "\-\- " simply does not match "\-\-=20".
144 Another problem are non-us-ascii characters. Just avoid them, and
145 everything should work fine.
146 @@ -544,13 +544,13 @@ instruction:
150 -This line is protected from being filtered by t-prot !!!!!!!
151 +This line is protected from being filtered by t\-prot !!!!!!!
156 Text coming now is not.
158 -Written by Jochen Striepe <t-prot@tolot.escape.de>.
159 +Written by Jochen Striepe <t\-prot@tolot.escape.de>.
161 All of the documentation and software included in the t-prot releases
162 is copyrighted by Jochen Striepe (except when explicitly stated otherwise).
163 @@ -629,7 +629,7 @@ t-prot team with some useful info, pleas
165 facility, just set display_filter to something like
167 -"tee ~/foobar | t-prot <your options>"
168 +"tee ~/foobar | t\-prot <your options>"
170 and include ~/foobar in the bug report -- this way we might reproduce
171 the bug much easier if you are using a different environment than we do.
172 @@ -639,7 +639,7 @@ with, what perl version t-prot runs on y
173 be important to enable us reproducing the bug.
175 Send your bug report to
176 -.IR <t-prot-bugs@tolot.escape.de> .
177 +.IR <t\-prot\-bugs@tolot.escape.de> .