4 .TH SHOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 show \- show (display) messages
17 .RB [ \-header " | " \-noheader ]
18 .RB [ \-checkmime " | " \-nocheckmime ]
28 lists each of the specified messages to the standard output
29 (typically, the terminal).
31 By default, text (non-MIME) messages are filtered and displayed by
36 This command will display text
37 messages in a nice, uniform format. It also allows you to configure
38 the format of the displayed messages and which headers fields are
41 manual page for the details about this
42 command. This default can be changed by defining the
44 profile component. Any switches not recognized by
47 passed along to that program. To override the default and the
49 profile component, use the
57 program to list the messages with no reformatting. Normally, this
58 program is specified as the
60 in the user's profile,
61 rather than using a command line switch.
63 By default, non-text messages (MIME messages with multi-media
64 contents) are processed and displayed by the
70 manual page for details
71 about this command. This default can changed by defining the
73 profile component. Any switches not recognized
76 are passed along to that program. To override this
79 profile component, use the
84 Note that in some cases,
88 even for textual contents. This will happen for text messages that
89 specify a transfer encoding (such as MIME quoted-printable or
90 base64) or specify a character set that
93 can be displayed natively. The environment variable
95 should be set to the terminal's native character set to avoid
96 gratuitous invocations of the
100 man page for details about this environment variable.
104 (set by default) instructs
107 test if any of the messages to be displayed are non-text (MIME)
108 messages. If any are non-text, they are displayed by the program
110 else they are displayed by the program
114 disables this test and instructs
118 regardless of whether
119 any of the messages are non-text (MIME) messages.
125 to display a one\-line
126 description of the message being shown. This description includes
127 the folder and the message number.
129 If no `msgs' are specified, the current message is used. Although
130 it depends on the specific
134 in the default setup when more than one message is specified, you
135 will be prompted for a <RETURN> prior to listing each message.
136 Each message will be listed a page at a time, and when the end of
137 page is reached, the program will wait for a <SPACE> or <RETURN>.
138 If a <RETURN> is entered, it will print the next line, whereas
139 <SPACE> will print the next screenful.
141 If the standard output is not a terminal, no queries are made, and
142 each file is listed with a one\-line header and two lines of
145 If the profile entry \*(lqUnseen\-Sequence\*(rq is present and
148 will remove each of the messages shown
149 from each sequence named by the profile entry.
154 .ta \w'%etcdir%/ExtraBigFileName 'u
155 ^$HOME/.mmh/profile~^The user profile
158 .SH "PROFILE COMPONENTS"
162 .ta \w'ExtraBigProfileName 'u
163 ^Path:~^To determine the user's mail storage
164 ^Current\-Folder:~^To find the default current folder
165 ^Unseen\-Sequence:~^To name sequences denoting unseen messages
166 ^showproc:~^Program to show text (non-MIME) messages
167 ^showmimeproc:~^Program to show non-text (MIME) messages
171 mhl(1), mhshow(1), more(1), next(1), prev(1), scan(1)
175 .RB ` +folder "' defaults to the current folder"
176 .RB ` msgs "' defaults to cur"
182 If a folder is given, it will become the current folder. The last
183 message shown will become the current message.
188 switch doesn't work when `msgs' expands to more than
193 then this problem can
194 be circumvented by referencing the \*(lqmessagename\*(rq field in the
199 updates the user's context before showing the message.
202 will mark messages as seen prior to the user actually
203 seeing them. This is generally not a problem, unless the user relies
204 on the \*(lqunseen\*(rq messages mechanism, and interrupts
206 while it is showing \*(lqunseen\*(rq messages.
217 it does not actually run the
220 Hence, if you define your own
234 in the background with only its standard output piped to
235 another process, as in
243 show will go into a \*(lqtty input\*(rq state.
244 To avoid this problem, re\-direct
246 diagnostic output as well.
258 show 2>&1 | imprint &