Added new helper `print-mimetype' and added Mime-Type-Query to man page.
[mmh] / man / mh-profile.man5
index 5ad243d..b90cd97 100644 (file)
@@ -181,6 +181,19 @@ If you like to type a lot, name it `X-MH-Attachment'.
 (profile, default: `Attach')
 .RE
 .PP
 (profile, default: `Attach')
 .RE
 .PP
+.BR Mime-Type-Query :
+file \-b \-\-mime
+.RS 5
+A command that prints the MIME type of a file.
+The file name gets appended to the command line.
+Note: Older GNU versions of file(1) won't generate the desired
+output. GNU file-4.26, for instance, omits a required semicolon.
+GNU file-5.04 is known to work. Non-GNU version likely need different
+options or don't provide this function at all. Alternatively, you can use
+.BR print\-mimetype ,
+which is part of mmh, but guesses MIME types by file name extensions only.
+.RE
+.PP
 .BR Msg\-Protect :
 644
 .RS 5
 .BR Msg\-Protect :
 644
 .RS 5
@@ -345,11 +358,8 @@ environment variable
 If
 .B $SIGNATURE
 is not set and this profile entry is not present, the \*(lqgcos\*(rq field of
 If
 .B $SIGNATURE
 is not set and this profile entry is not present, the \*(lqgcos\*(rq field of
-the \fI/etc/passwd\fP file will be used; otherwise, on hosts where
-.B nmh
-was configured with the UCI option, the file
-.I $HOME/.signature
-is consulted.  Your signature will be added to the address
+the \fI/etc/passwd\fP file will be used.
+Your signature will be added to the address
 .B send
 puts in the \*(lqFrom:\*(rq header; do not include an address in the
 signature text.  (profile, no default)
 .B send
 puts in the \*(lqFrom:\*(rq header; do not include an address in the
 signature text.  (profile, no default)
@@ -403,19 +413,16 @@ is invoked with no arguments.
 .RE
 .PP
 .BR lproc :
 .RE
 .PP
 .BR lproc :
-more
+show -file
 .RS 5
 This program is used to list the contents of a message in response
 to the
 .B list
 .RS 5
 This program is used to list the contents of a message in response
 to the
 .B list
-directive at the \*(lqWhat now?\*(rq prompt.  It is
-also used by the draft folder facility in
-.BR comp ,
-.BR dist ,
-.BR forw ,
 and
 and
-.B repl
-to display the draft message.
+.B display
+directive at the \*(lqWhat now?\*(rq prompt.
+The absolute pathname of the message to list will be appended to
+the command line given.
 .RE
 .PP
 .BR mailproc :
 .RE
 .PP
 .BR mailproc :
@@ -441,31 +448,15 @@ This is the program used to filter messages in various ways.  It
 is used by
 .B mhshow
 to filter and display the message headers
 is used by
 .B mhshow
 to filter and display the message headers
-of MIME messages.  When the
-.B \-format
-or
-.B \-filter
-option is used
-by
-.B forw
-or
+of MIME messages.
+Unless the
+.B \-nofilter
+option is used with
 .BR repl ,
 the
 .I mhlproc
 is used to filter the
 .BR repl ,
 the
 .I mhlproc
 is used to filter the
-message that you are forwarding, or to which you are replying.
-When the
-.B \-filter
-option is given to
-.B send
-or
-.BR post ,
-the
-.I mhlproc
-is used by
-.B post
-to filter the copy of the message
-that is sent to \*(lqBcc:\*(rq recipients.
+message to which you are replying.
 .RE
 .PP
 .BR moreproc :
 .RE
 .PP
 .BR moreproc :
@@ -703,8 +694,7 @@ these tell
 .B scan
 and
 .B mhl
 .B scan
 and
 .B mhl
-how to clear your terminal, and how
-many columns wide your terminal is.  They also tell
+how many columns wide your terminal is.  They also tell
 .B mhl
 how many
 lines long your terminal screen is.
 .B mhl
 how many
 lines long your terminal screen is.
@@ -816,16 +806,6 @@ and
 if annotations are to occur.
 .RE
 .PP
 if annotations are to occur.
 .RE
 .PP
-.B $mhinplace
-.RS 5
-This is set by
-.BR dist ,
-.BR forw ,
-and
-.B repl
-if annotations are to occur.
-.RE
-.PP
 .B $mhfolder
 .RS 5
 This is the folder containing the alternate message.
 .B $mhfolder
 .RS 5
 This is the folder containing the alternate message.