]> diplodocus.org Git - nmh/blobdiff - man/mhshow.man
Added ct_str_type() and ct_str_subtype() functions, to translate
[nmh] / man / mhshow.man
index d2209143d15c6702a780970f59218e68da140203..10104255d84899b568e2e8f5541c5319a0a1d974 100644 (file)
@@ -587,7 +587,7 @@ need be present in this additional profile. Finally,
 will attempt to consult
 .PP
 .RS 5
-%etcdir%/mhn.defaults
+%nmhetcdir%/mhn.defaults
 .RE
 .PP
 which is created automatically during
@@ -598,18 +598,11 @@ See "Profile Lookup" in
 .IR mh-profile (5)
 for the profile search order, and for how duplicate entries are treated.
 .SS Content\-Type Marker
-If
 .B mhshow
-decides to not display a particular part due to the switches of
-.B \-textonly
-or
-.B \-inlineonly
-it will display a marker containing information about the part.  This
-marker is processed via
-.IR mh\-format (5)
-and can be changed by the use of the
+will display a marker containing information about the part being displayed
+next.  The default marker can be changed using the
 .B \-markform
-switch to specify a file containing the
+switch to specify a file containing
 .IR mh\-format (5)
 instructions to use when displaying the content marker.  In addition to
 the normal set of
@@ -629,7 +622,16 @@ disposition        string  Content disposition (attachment or inline)
 ctype-<PARAM>  string  Value of <PARAM> from Content\-Type header
 cdispo-<PARAM> string  Value of <PARAM> from
                Content\-Disposition header
+%(size)        integer The size of the decoded part, in bytes
+%(unseen)      boolean Returns true for suppressed parts
 .fi
+In this context, the %(unseen) function indicates whether
+.B mhshow
+has decided to not display a particular part due to the
+.B \-textonly
+or
+.B \-inlineonly
+switches.
 .RE
 All MIME parameters and the \*(lqContent-Description\*(rq header will have
 RFC 2231 decoding applied and be converted
@@ -642,17 +644,17 @@ absolute pathnames are accessed directly, tilde expansion is done on
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^$MHSHOW~^Additional profile entries
-^%etcdir%/mhn.defaults~^System default MIME profile entries
-^%etcdir%/mhl.headers~^The headers template
-^%etcdir%/mhshow.marker~^Example content marker
+^%nmhetcdir%/mhn.defaults~^System default MIME profile entries
+^%nmhetcdir%/mhl.headers~^The headers template
+^%nmhetcdir%/mhshow.marker~^Example content marker
 .fi
 .SH "PROFILE COMPONENTS"
 .fc ^ ~