]> diplodocus.org Git - nmh/blobdiff - man/mhl.man
Reworked output handling.
[nmh] / man / mhl.man
index 824faddf679a9ae1c0e948032254409eab4e3e0b..01a1e64135e8ac05132c9aa8deea5c82a3145019 100644 (file)
@@ -1,4 +1,4 @@
-.TH MHL %manext1% "January 31, 2012" "%nmhversion%"
+.TH MHL %manext1% "September 14, 2014" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
 .\"
 .\" %nmhwarning%
 .\"
@@ -7,7 +7,9 @@ mhl \- produce formatted listings of nmh messages
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/mhl
+.B %nmhlibexecdir%/mhl
+.RB [ \-help ]
+.RB [ \-version ]
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-clear " | " \-noclear ]
 .RB [ \-folder
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-clear " | " \-noclear ]
 .RB [ \-folder
@@ -26,11 +28,9 @@ mhl \- produce formatted listings of nmh messages
 .RB [ \-nofmtproc ]
 .RI [ files
 .IR \&... ]
 .RB [ \-nofmtproc ]
 .RI [ files
 .IR \&... ]
-.RB [ \-version ]
-.RB [ \-help ]
 .ad
 .SH DESCRIPTION
 .ad
 .SH DESCRIPTION
-.B Mhl
+.B mhl
 is an
 .B nmh
 command for filtering and/or displaying text
 is an
 .B nmh
 command for filtering and/or displaying text
@@ -129,7 +129,7 @@ is called
 will first search for this file in the user's
 .B nmh
 directory, and will then search in the directory
 will first search for this file in the user's
 .B nmh
 directory, and will then search in the directory
-.IR %etcdir% .
+.IR %nmhetcdir% .
 This default
 can be changed by using the
 .B \-form
 This default
 can be changed by using the
 .B \-form
@@ -153,7 +153,7 @@ and
 .B prev
 initialize appropriately.
 .PP
 .B prev
 initialize appropriately.
 .PP
-.B Mhl
+.B mhl
 operates in two phases: 1) read and parse the format file, and
 2) process each message (file).  During phase 1, an internal description
 of the format is produced as a structured list.  In phase 2, this list
 operates in two phases: 1) read and parse the format file, and
 2) process each message (file).  During phase 1, an internal description
 of the format is produced as a structured list.  In phase 2, this list
@@ -236,6 +236,9 @@ nocenter    flag    don't center
 leftadjust     flag    strip off leading whitespace on each
                line of text
 noleftadjust   flag    don't leftadjust
 leftadjust     flag    strip off leading whitespace on each
                line of text
 noleftadjust   flag    don't leftadjust
+rtrim  flag    trim whitespace at end of text lines
+nortrim        flag    retain whitespace at end of text
+               lines (default)
 compress       flag    change newlines in text to spaces
 nocompress     flag    don't compress
 wrap   flag    Wrap lines that exceed width (default)
 compress       flag    change newlines in text to spaces
 nocompress     flag    don't compress
 wrap   flag    Wrap lines that exceed width (default)
@@ -361,8 +364,8 @@ options can be used to build up multiple arguments to the format filter.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mhl.format~^The message template
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mhl.format~^The message template
 ^or <mh\-dir>/mhl.format~^Rather than the standard template
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi
 ^or <mh\-dir>/mhl.format~^Rather than the standard template
 ^$HOME/\&.mh\(ruprofile~^The user profile
 .fi