]> git.deb.at Git - pkg/t-prot.git/blob - debian/patches/01_fix-manpage
Imported Debian patch 2.7.1-1
[pkg/t-prot.git] / debian / patches / 01_fix-manpage
1 Author: Gerfried Fuchs <rhonda@debian.at>       vim:ft=diff:
2 Description: Escape hyphens in manpage where they mean the minus sign
3
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
8 @@ -4,7 +4,7 @@
9  .SH NAME
10  t-prot \- TOFU Protection - Display Filter for RFC 2822 messages
11  .SH SYNOPSIS
12 -.BI "t-prot [" OPTIONS "]..."
13 +.BI "t\-prot [" OPTIONS "]..."
14  .SH DESCRIPTION
15  .PP
16  This program is a filter to improve the readability of
17 @@ -22,19 +22,19 @@ is the reason for not using standard CPA
18  messages).
19  .PP
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
23  .br
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
27  .SH OPTIONS
28  .TP
29  .BR "\-A" =DIRECTORY
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
33 -.B -a
34 +.B \-a
35  or
36 -.BR --ftr-ad .
37 +.BR \-\-ftr\-ad .
38  .br
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
43  .B index()
44  function (please try
45 -.I perldoc -f index
46 +.I perldoc \-f index
47  for details).
48  .sp
49  .IR NOTE :
50  This option is not needed if
51 -.B --ftr-ad
52 +.B \-\-ftr\-ad
53  is specified.
54  .TP
55  .BR "\-\-bigq" [=n[,x]]
56 @@ -71,7 +71,7 @@ Input consists just of the message's bod
57  lines.
58  .IP
59  .IR NOTE :
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.
63  .TP
64  .B "\-c"
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.
68  .br
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.
71  .sp
72  .IR NOTE :
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
75  .TP
76  .BR "\-i" =FILE
77  "input file":
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.
80  .TP
81  .B "\-k"
82  "anti Kammquote":
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
86  .br
87 -"----- Original Message -----"
88 +"\-\-\-\-\- Original Message \-\-\-\-\-"
89  .br
90  and some header lines...)
91  .TP
92 @@ -332,7 +332,7 @@ As an example for usage with
93  put this line into your alias file and invoke
94  .BR newaliases :
95  .sp
96 -notofu: |"/usr/local/bin/t-prot -mt -p=user@mydomain"
97 +notofu: |"/usr/local/bin/t\-prot \-mt \-p=user@mydomain"
98  .sp
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
102  conformance.)
103  .sp
104  .IR NOTE :
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.
108  .TP
109  .B "\-s"
110 @@ -439,7 +439,7 @@ The environment variables
111  and
112  .I LANG
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.
117  .SH EXIT STATUS
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:
121  .PP
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.
125  .PP
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
129  .PP
130  .TP
131  .IR Q :
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
135  .BR mutt (1).
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".
143  .br
144  Another problem are non-us-ascii characters. Just avoid them, and 
145  everything should work fine.
146 @@ -544,13 +544,13 @@ instruction:
147  .sp
148  #v+
149  .br
150 -This line is protected from being filtered by t-prot !!!!!!!
151 +This line is protected from being filtered by t\-prot !!!!!!!
152  .br
153 -#v-
154 +#v\-
155  .br
156  Text coming now is not.
157  .SH AUTHOR
158 -Written by Jochen Striepe <t-prot@tolot.escape.de>.
159 +Written by Jochen Striepe <t\-prot@tolot.escape.de>.
160  .SH COPYRIGHT
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
164  .I display_filter
165  facility, just set display_filter to something like
166  .IP
167 -"tee ~/foobar | t-prot <your options>"
168 +"tee ~/foobar | t\-prot <your options>"
169  .PP
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.
174  .PP
175  Send your bug report to 
176 -.IR <t-prot-bugs@tolot.escape.de> .
177 +.IR <t\-prot\-bugs@tolot.escape.de> .
178  Thank you.
179  .SH TODO
180  Fix bugs (see the