1 .TH MHLIST %manext1% "August 20, 2014" "%nmhversion%"
6 mhlist \- list information about MIME messages
24 .RB [ \-headers " | " \-noheaders ]
25 .RB [ \-realsize " | " \-norealsize ]
30 .RB [ \-check " | " \-nocheck ]
31 .RB [ \-changecur " | " \-nochangecur ]
32 .RB [ \-verbose " | " \-noverbose ]
33 .RB [ \-disposition " | " \-nodisposition ]
40 command allows you to list information (essentially
41 a table of contents) about the various parts of a collection of
42 MIME (multi-media) messages.
45 manipulates MIME (multi-media messages) as specified
46 in RFC 2045 to RFC 2049 (See
51 switch indicates that a one-line banner should be
52 displayed above the listing.
59 \*(lqnative\*(rq (decoded) format of each content prior to listing.
60 This provides an accurate count at the expense of a small delay.
61 In either case, sizes will be expressed using SI prefix abbreviations
62 (K/M/G/T), which are based on factors of 1000.
66 switch is present, then the listing will show
67 any \*(lqextra\*(rq information that is present in the message,
68 such as comments in the \*(lqContent-Type\*(rq header.
72 switch is present, then the listing will show any relevant information from
73 the \*(lqContent-Disposition\*(rq header.
81 file as the source message, rather than a message from a folder.
82 If you specify this file as \*(lq-\*(rq, then
85 accept the source message on the standard input. Note that the
86 file, or input from standard input should be a validly formatted
87 message, just like any other
91 be in mail drop format (to convert a file in mail drop format to
99 will list information about the entire
100 message (all of its parts). By using the
104 switches, you may limit the scope of this command to particular
105 subparts (of a multipart content) and/or particular content types.
107 A part specification consists of a series of numbers separated by dots.
108 For example, in a multipart content containing three parts, these
109 would be named as 1, 2, and 3, respectively. If part 2 was also a
110 multipart content containing two parts, these would be named as 2.1 and
111 2.2, respectively. Note that the
113 switch is effective for only
114 messages containing a multipart content. If a message has some other
115 kind of content, or if the part is itself another multipart content, the
117 switch will not prevent the content from being acted upon.
119 A content specification consists of a content type and a subtype.
120 The initial list of \*(lqstandard\*(rq content types and subtypes can
121 be found in RFC 2046.
123 A list of commonly used contents is briefly reproduced here:
127 .ta \w'application 'u
131 multipart mixed, alternative, digest, parallel
132 message rfc822, partial, external-body
133 application octet-stream, postscript
140 A legal MIME message must contain a subtype specification.
142 To specify a content, regardless of its subtype, just use the
143 name of the content, e.g., \*(lqaudio\*(rq. To specify a specific
144 subtype, separate the two with a slash, e.g., \*(lqaudio/basic\*(rq.
145 Note that regardless of the values given to the
148 multipart content (of any subtype listed above) is always acted upon.
149 Further note that if the
151 switch is used, and it is desirable to
152 act on a message/external-body content, then the
155 be used twice: once for message/external-body and once for the content
156 externally referenced.
158 By default, the parts of a multipart/alternative part are listed in
159 the reverse order of their placement in the message. The listing
160 therefore is in decreasing order of preference, as defined in RFC
163 switch can be used (one or more times, in order of descending
164 preference) to let MH know which content types from a
165 multipart/alternative MIME part are preferred by the user, in order to
166 override the default preference order. Thus, when viewed by
168 the ordering of multipart/alternative parts will appear to change when
169 invoked with or without various
174 switch is functionally most important for
176 but is also implemented in
180 to make common part number ordering possible across all three programs.
181 .SS "Checking the Contents"
186 to check each content for an
187 integrity checksum. If a content has such a checksum (specified as a
188 Content-MD5 header field), then
190 will attempt to verify the
191 integrity of the content.
195 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
196 ^$HOME/\&.mh\(ruprofile~^The user profile
198 .SH "PROFILE COMPONENTS"
202 .ta \w'ExtraBigProfileName 'u
203 ^Path:~^To determine the user's nmh directory
204 ^Current\-Folder:~^To find the default current folder
212 .RB ` +folder "' defaults to the current folder"
213 .RB ` msgs "' defaults to cur"
217 .RB ` \-rcache\ ask '
218 .RB ` \-wcache\ ask '
221 .RB ` \-nodisposition '
224 If a folder is given, it will become the current folder. The last
225 message selected will become the current message, unless the