<<< Date Index >>>     <<< Thread Index >>>

Re: Man page formatting on OpenBSD



* Mon Aug  1 2005 Will Yardley <mutt-dev@xxxxxxxxxxxxxxxxx>
> On OpenBSD, the "Simple Patterns" section of the man page seems to be
> screwy - it shows up like this for me:
(snip)

That's because OpenBSD's "man" doesn't preprocess manuals with tbl
by default. There are several workarounds:

0) add "-t" option to nroff in /etc/man.conf
1) mv man5/muttrc.5 man5/muttrc.tbl
2) patch doc/muttrc.man.head

-- 
tamo
Index: doc/muttrc.man.head
===================================================================
RCS file: /home/roessler/cvs/mutt/doc/muttrc.man.head,v
retrieving revision 3.15
diff -u -r3.15 muttrc.man.head
--- doc/muttrc.man.head 15 Jan 2005 07:36:37 -0000      3.15
+++ doc/muttrc.man.head 2 Aug 2005 06:10:34 -0000
@@ -398,46 +398,120 @@
 .PP
 Mutt understands the following simple patterns:
 .PP
-.TS
-l l.
-~A     all messages
-~b \fIEXPR\fP  messages which contain \fIEXPR\fP in the message body
-~B \fIEXPR\fP  messages which contain \fIEXPR\fP in the whole message
-~c \fIEXPR\fP  messages carbon-copied to \fIEXPR\fP
-~C \fIEXPR\fP  message is either to: or cc: \fIEXPR\fP
-~D     deleted messages
-~d \fIMIN\fP-\fIMAX\fP messages with \(lqdate-sent\(rq in a Date range
-~E     expired messages
-~e \fIEXPR\fP  message which contains \fIEXPR\fP in the \(lqSender\(rq field
-~F     flagged messages
-~f \fIEXPR\fP  messages originating from \fIEXPR\fP
-~g     PGP signed messages
-~G     PGP encrypted messages
-~H \fIEXPR\fP  messages with spam tags matching \fIEXPR\fP
-~h \fIEXPR\fP  messages which contain \fIEXPR\fP in the message header
-~k     message contains PGP key material
-~i \fIEXPR\fP  message which match \fIEXPR\fP in the \(lqMessage-ID\(rq field
-~L \fIEXPR\fP  message is either originated or received by \fIEXPR\fP
-~l     message is addressed to a known mailing list
-~m \fIMIN\fP-\fIMAX\fP message in the range \fIMIN\fP to \fIMAX\fP
-~n \fIMIN\fP-\fIMAX\fP messages with a score in the range \fIMIN\fP to 
\fIMAX\fP
-~N     new messages
-~O     old messages
-~p     message is addressed to you (consults $alternates)
-~P     message is from you (consults $alternates)
-~Q     messages which have been replied to
-~R     read messages
-~r \fIMIN\fP-\fIMAX\fP messages with \(lqdate-received\(rq in a Date range
-~S     superseded messages
-~s \fIEXPR\fP  messages having \fIEXPR\fP in the \(lqSubject\(rq field.
-~T     tagged messages
-~t \fIEXPR\fP  messages addressed to \fIEXPR\fP
-~U     unread messages
-~v     message is part of a collapsed thread.
-~x \fIEXPR\fP  messages which contain \fIEXPR\fP in the \(lqReferences\(rq 
field
-~z \fIMIN\fP-\fIMAX\fP messages with a size in the range \fIMIN\fP to \fIMAX\fP
-~=     duplicated messages (see $duplicate_threads)
-~$     unreferenced message (requries threaded view)
+.TP 12
+~A
+all messages
+.TP
+~b \fIEXPR\fP
+messages which contain \fIEXPR\fP in the message body
+.TP
+~B \fIEXPR\fP
+messages which contain \fIEXPR\fP in the whole message
+.TP
+~c \fIEXPR\fP
+messages carbon-copied to \fIEXPR\fP
+.TP
+~C \fIEXPR\fP
+message is either to: or cc: \fIEXPR\fP
+.TP
+~D
+deleted messages
+.TP
+~d \fIMIN\fP-\fIMAX\fP
+messages with \(lqdate-sent\(rq in a Date range
+.TP
+~E
+expired messages
+.TP
+~e \fIEXPR\fP
+message which contains \fIEXPR\fP in the \(lqSender\(rq field
+.TP
+~F
+flagged messages
+.TP
+~f \fIEXPR\fP
+messages originating from \fIEXPR\fP
+.TP
+~g
+PGP signed messages
+.TP
+~G
+PGP encrypted messages
+.TP
+~H \fIEXPR\fP
+messages with spam tags matching \fIEXPR\fP
+.TP
+~h \fIEXPR\fP
+messages which contain \fIEXPR\fP in the message header
+.TP
+~k
+message contains PGP key material
+.TP
+~i \fIEXPR\fP
+message which match \fIEXPR\fP in the \(lqMessage-ID\(rq field
+.TP
+~L \fIEXPR\fP
+message is either originated or received by \fIEXPR\fP
+.TP
+~l
+message is addressed to a known mailing list
+.TP
+~m \fIMIN\fP-\fIMAX\fP
+message in the range \fIMIN\fP to \fIMAX\fP
+.TP
+~n \fIMIN\fP-\fIMAX\fP
+messages with a score in the range \fIMIN\fP to \fIMAX\fP
+.TP
+~N
+new messages
+.TP
+~O
+old messages
+.TP
+~p
+message is addressed to you (consults $alternates)
+.TP
+~P
+message is from you (consults $alternates)
+.TP
+~Q
+messages which have been replied to
+.TP
+~R
+read messages
+.TP
+~r \fIMIN\fP-\fIMAX\fP
+messages with \(lqdate-received\(rq in a Date range
+.TP
+~S
+superseded messages
+.TP
+~s \fIEXPR\fP
+messages having \fIEXPR\fP in the \(lqSubject\(rq field.
+.TP
+~T
+tagged messages
+.TP
+~t \fIEXPR\fP
+messages addressed to \fIEXPR\fP
+.TP
+~U
+unread messages
+.TP
+~v
+message is part of a collapsed thread.
+.TP
+~x \fIEXPR\fP
+messages which contain \fIEXPR\fP in the \(lqReferences\(rq field
+.TP
+~z \fIMIN\fP-\fIMAX\fP
+messages with a size in the range \fIMIN\fP to \fIMAX\fP
+.TP
+~=
+duplicated messages (see $duplicate_threads)
+.TP
+~$
+unreferenced message (requries threaded view)
 .TE
 .PP
 In the above, \fIEXPR\fP is a regular expression.