1 .TH MSH %manext1% "November 6, 2012" "%nmhversion%"
6 msh \- nmh shell (and BBoard reader)
13 .RB [ \-scan " | " \-noscan ]
14 .RB [ \-topcur " | " \-notopcur ]
21 is an interactive program that implements a subset of the normal
23 commands operating on a single file in
27 is used to read a file that contains a number
28 of messages, as opposed to the standard
31 a number of files, each file being a separate message in a folder.
33 chief advantage is that the normal
36 allow a file to have more than one message in it. Hence,
39 ideal for reading BBoards, as these files are delivered by the
40 transport system in this format. In addition,
43 other files, such as message archives which have been
52 As the only commands available to the user are
57 beginners to concentrate on how commands to
59 are formed and (more or less) what they mean.
63 reads the named file, and enters a command loop.
64 The user may type most of the normal
66 commands. The syntax and
67 semantics of these commands typed to
69 are identical to their
71 counterparts. In cases where the nature of
74 inconsistent (e.g., specifying a
78 will duly inform the user. The commands that
81 (in some slightly modified or restricted forms) are:
116 command which gives a
117 brief overview. To terminate
119 type CTRL\-D, or use the
123 If the file is writable and has been modified, then using
125 will query the user if the file should be updated.
130 switch sets the prompting string for
133 You may wish to use an alternate
135 profile for the commands that
139 for details about the
141 environment variable.
145 command is identical to the
151 supports an output redirection facility. Commands may be
156 .ta \w'| \fIcommand\fR 'u
157 ^> \fIfile\fR~^write output to \fIfile\fR
158 ^>> \fIfile\fR~^append output to \fIfile\fR
159 ^| \fIcommand\fR~^pipe output to UNIX \fIcommand\fR
165 starts with a \*(lq\~\*(rq (tilde), then a
168 takes place. Note that
174 does NOT support history substitutions, variable
175 substitutions, or alias substitutions.
177 When parsing commands to the left of any redirection symbol,
179 will honor `\\' (backslash) as the quote next\-character symbol, and
180 `\*(lq' (double\-quote) as quote\-word delimiters. All other input tokens
181 are separated by whitespace (spaces and tabs).
185 .ta \w'%etcdir%/ExtraBigFileName 'u
186 ^$HOME/\&.mh\(ruprofile~^The user profile
187 ^%etcdir%/mts.conf~^nmh mts configuration file
189 .SH "PROFILE COMPONENTS"
193 .ta \w'ExtraBigProfileName 'u
194 ^Path:~^To determine the user's nmh directory
195 ^Msg\-Protect:~^To set mode when creating a new `file'
196 ^fileproc:~^Program to file messages
197 ^showproc:~^Program to show messages
203 .RB ` file "' defaults to \*(lq./msgbox\*(rq"
204 .RB ` "\-prompt\ (msh)\ "'
212 There is a strict limit of messages per file in
216 can handle. Usually, this limit is 1000 messages.
220 is not the C\-Shell, and that a lot of
221 the nice facilities provided by the latter are not present in the former.
225 does not understand backquoting, so the only
233 switch. Clever users of
238 pick:\0\-seq\0select\0\-list
245 works equally well from both the shell and
260 program inherits most (if not all) of the bugs from the
262 commands it implements.