source: trunk/third/nmh/man/mhlist.man @ 12455

Revision 12455, 5.0 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: mhlist.man,v 1.1.1.1 1999-02-07 18:14:21 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH MHLIST %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10mhlist \- list information about MIME messages
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14mhlist \%[+folder] \%[msgs] \%[\-file file]
15.br
16\%[\-part number]... \%[\-type content]...
17.br
18\%[\-headers] \%[\-noheaders]
19\%[\-realsize] \%[\-norealsize]
20.br
21\%[\-rcache policy] \%[\-wcache policy]
22\%[\-check] \%[\-nocheck]
23.br
24\%[\-verbose] \%[\-noverbose]
25\%[\-version]
26\%[\-help]
27.in -.5i
28
29.SH DESCRIPTION
30The \fImhlist\fR command allows you to list information (essentially
31a table of contents) about the various parts of a collection of
32MIME (multi-media) messages.
33
34\fImhlist\fR manipulates MIME (multi-media messages) as specified
35in RFC\-2045 thru RFC\-2049.
36
37The `\-headers' switch indicates that a one-line banner should be
38displayed above the listing.
39
40The `\-realsize' switch tells \fImhlist\fR to evaluate the
41\*(lqnative\*(rq (decoded) format of each content prior to listing.
42This provides an accurate count at the expense of a small delay.
43
44If the `\-verbose' switch is present, then the listing will show
45any \*(lqextra\*(rq information that is present in the message,
46such as comments in the Content-Type header.
47
48The option `\-file\ file' directs \fImhlist\fR to use the specified
49file as the source message, rather than a message from a folder.
50If you specify this file as \*(lq-\*(rq, then \fImhlist\fR will
51accept the source message on the standard input.  Note that the
52file, or input from standard input should be a validly formatted
53message, just like any other \fInmh\fR message.  It should \fBNOT\fR
54be in mail drop format (to convert a file in mail drop format to
55a folder of \fInmh\fR messages, see \fIinc\fR\0(1)).
56
57By default, \fImhlist\fR will list information about the entire
58message (all of its parts).  By using the `\-part' and `\-type'
59switches, you may limit the scope of this command to particular
60subparts (of a multipart content) and/or particular content types.
61
62A part specification consists of a series of numbers separated by dots.
63For example, in a multipart content containing three parts, these
64would be named as 1, 2, and 3, respectively.  If part 2 was also a
65multipart content containing two parts, these would be named as 2.1 and
662.2, respectively.  Note that the `\-part' switch is effective for only
67messages containing a multipart content.  If a message has some other
68kind of content, or if the part is itself another multipart content, the
69`\-part' switch will not prevent the content from being acted upon.
70
71A content specification consists of a content type and a subtype.
72The initial list of \*(lqstandard\*(rq content types and subtypes can
73be found in RFC\-2046.
74.ne 18
75A list of commonly used contents is briefly reproduced here:
76.sp
77.nf
78.in +.5i
79.ta \w'application  'u
80Type    Subtypes
81----    --------
82text    plain, enriched
83multipart       mixed, alternative, digest, parallel
84message rfc822, partial, external-body
85application     octet-stream, postscript
86image   jpeg, gif, png
87audio   basic
88video   mpeg
89.re
90.in -.5i
91.fi
92.sp
93A legal MIME message must contain a subtype specification.
94.PP
95To specify a content, regardless of its subtype, just use the
96name of the content, e.g., \*(lqaudio\*(rq.  To specify a specific
97subtype, separate the two with a slash, e.g., \*(lqaudio/basic\*(rq.
98Note that regardless of the values given to the `\-type' switch, a
99multipart content (of any subtype listed above) is always acted upon.
100Further note that if the `\-type' switch is used, and it is desirable to
101act on a message/external-body content, then the `\-type' switch must
102be used twice: once for message/external-body and once for the content
103externally referenced.
104
105.Uh "Checking the Contents"
106The `\-check' switch tells \fImhlist\fR to check each content for an
107integrity checksum.  If a content has such a checksum (specified as a
108Content-MD5 header field), then \fImhlist\fR will attempt to verify the
109integrity of the content.
110.Fi
111^$HOME/\&.mh\(ruprofile~^The user profile
112.Pr
113^Path:~^To determine the user's nmh directory
114.Ps
115^Current\-Folder:~^To find the default current folder
116.Sa
117mhbuild(1), mhshow(1), mhstore(1), sendfiles(1)
118.br
119RFC\-2045:
120.br
121   \fIMultipurpose Internet Mail Extensions (MIME) Part One:
122.br
123   Format of Internet Message Bodies\fR,
124.br
125RFC\-2046:
126.br
127   \fIMultipurpose Internet Mail Extensions (MIME) Part Two:
128.br
129   Media Types\fR,
130.br
131RFC\-2047:
132.br
133   \fIMultipurpose Internet Mail Extensions (MIME) Part Three:
134.br
135   Message Header Extensions for Non-ASCII Text\fR,
136.br
137RFC\-2048:
138.br
139   \fIMultipurpose Internet Mail Extensions (MIME) Part Four:
140.br
141   Registration Procedures\fR,
142.br
143RFC\-2049:
144.br
145   \fIMultipurpose Internet Mail Extensions (MIME) Part Five:
146.br
147   Conformance Criteria and Examples\fR.
148.De
149`+folder' defaults to the current folder
150.Ds
151`msgs' defaults to cur
152.Ds
153`\-nocheck'
154.Ds
155`\-headers'
156.Ds
157`\-realsize'
158.Ds
159`\-rcache ask'
160.Ds
161`\-wcache ask'
162.Ds
163`\-noverbose'
164.Co
165If a folder is given, it will become the current folder.  The last
166message selected will become the current message.
167.En
Note: See TracBrowser for help on using the repository browser.