1 .\" This file is automatically generated. Do not edit!
2 .\" @(#)$Id: show.rf,v 1.9 1995/12/06 22:48:30 jromine Exp $
5 show \- show (list) messages
10 \%[\-header] \%[\-noheader]
11 \%[\-showproc\ program] \%[\-noshowproc]
12 \%[switches\ for\ \fIshowproc\fR]
15 \fIShow\fR lists each of the specified messages to the standard
16 output (typically, the terminal).
17 Typically, the messages are listed exactly
18 as they are, with no reformatting.
19 A program named by the \fIshowproc\fR profile component is
20 invoked to do the listing, and any switches not recognized by
21 \fIshow\fR are passed along to that program.
22 The default program is known as \fImore\fR\0(1).
23 To override the default and the \fIshowproc\fR profile component,
24 use the `\-showproc\ program' switch.
25 For example, `\-show\ pr' will cause the \fIpr\fR\0(1) program to list the
27 The \fIMH\fR command \fImhl\fR can be used as a \fIshowproc\fR
28 to show messages in a more uniform format.
29 Normally, this program is specified as the \fIshowproc\fR is the user's
31 See \fImhl\fR\0(1) for the details.
32 If the `\-noshowproc' option is specified,
33 `/bin/cat' is used instead of \fIshowproc\fR.
35 If you have messages with multi-media contents,
36 the profile entry \fImhnproc\fR defines the name of a program to
37 manipulate multi-media messages.
38 (The \fImhn\fR\0(1) program,
39 which is suitable for this purpose,
41 If the `\-noshowproc' option is NOT specified,
42 and if one or more named messages has a multi-media content,
43 then the program indicated by \fImhnproc\fR will be run instead of
45 The use of the \fImhnproc\fR can also be disabled if the
46 environment variable \fBNOMHNPROC\fR is set.
47 Note that the \fImhnproc\fR may be invoked even for textual contents,
48 depending on the character set involved.
49 The environment variable \fBMM_CHARSET\fP should be set to the terminal's
50 character set to avoid gratuitous invocations of the \fImhnproc\fR.
52 The `\-header' switch tells \fIshow\fR to display a one\-line
53 description of the message being shown.
54 This description includes the folder and the message number.
56 If no `msgs' are specified, the current message is used.
57 If more than one message is specified,
58 \fImore\fR will prompt for a <RETURN> prior to listing each message.
59 \fImore\fR will list each message, a page at a time.
61 page is reached, \fImore\fR will ring the bell and wait for a <SPACE>
63 If a <RETURN> is entered, \fImore\fR will print the next line,
64 whereas <SPACE> will print the next screenful.
65 To exit \fImore\fR, type \*(lqq\*(rq.
67 If the standard output is not a terminal, no queries are made,
68 and each file is listed with a one\-line header and two lines of
71 \*(lqshow \-draft\*(rq will list the file <mh\-dir>/draft if it
74 If the profile entry \*(lqUnseen\-Sequence\*(rq is present and non\-empty,
75 then \fIshow\fR will remove each of the messages shown from each
76 sequence named by the profile entry.
77 This is similar to the \*(lqPrevious\-Sequence\*(rq profile entry supported
78 by all \fIMH\fR commands which take `msgs' or `msg' arguments.
80 ^$HOME/\&.mh\(ruprofile~^The user profile
82 ^Path:~^To determine the user's MH directory
84 ^Current\-Folder:~^To find the default current folder
86 ^Unseen\-Sequence:~^To name sequences denoting unseen messages
88 ^showproc:~^Program to show messages
90 ^mhnproc:~^Program to show messages with multi-media content
92 mhl(1), more(1), next(1), pick(1), prev(1), scan(1)
94 `+folder' defaults to the current folder
96 `msgs' defaults to cur
100 If a folder is given, it will become the current folder.
101 The last message shown will become the current message.
103 The `\-header' switch doesn't work when `msgs' expands to more than
105 If the \fIshowproc\fR is \fImhl\fR,
106 then is problem can be circumvented by referencing
107 the \*(lqmessagename\*(rq field in the \fImhl\fR format file.
109 \fIShow\fR updates the user's context before showing the message.
110 Hence \fIshow\fR will mark messages as seen prior to the user
111 actually seeing them.
112 This is generally not a problem,
113 unless the user relies on the \*(lqunseen\*(rq messages mechanism,
114 and interrupts \fIshow\fR while it is showing \*(lqunseen\*(rq messages.
116 If \fIshowproc\fR is \fImhl\fR,
117 then \fIshow\fR uses a built\-in \fImhl\fR:
118 it does not actually run the \fImhl\fR program.
119 Hence, if you define your own \fIshowproc\fR,
120 don't call it \fImhl\fR since \fIshow\fR won't run it.
122 If \fImore\fR\0(1) is your showproc (the default),
123 then avoid running \fIshow\fR in the background
124 with only its standard output piped to another process, as in
129 Due to a bug in \fImore\fR,
130 show will go into a \*(lqtty input\*(rq state.
131 To avoid this problem,
132 re\-direct \fIshow\fR's diagnostic output as well.
133 For users of \fIcsh\fR:
138 For users of \fIsh\fR:
141 show 2>&1 | imprint &