1 .TH MSH %manext1% "January 26, 2013" "%nmhversion%"
6 msh \- nmh shell (and BBoard reader)
13 .RB [ \-scan " | " \-noscan ]
14 .RB [ \-topcur " | " \-notopcur ]
20 .B msh is deprecated and will be removed from the next nmh release.
23 is an interactive program that implements a subset of the normal
25 commands operating on a single file in
30 is used to read a file that contains a number
31 of messages, as opposed to the standard
34 a number of files, each file being a separate message in a folder.
36 chief advantage is that the normal
39 allow a file to have more than one message in it. Hence,
42 ideal for reading BBoards, as these files are delivered by the
43 transport system in this format. In addition,
46 other files, such as message archives which have been
55 As the only commands available to the user are
60 beginners to concentrate on how commands to
62 are formed and (more or less) what they mean.
66 reads the named file, and enters a command loop.
67 The user may type most of the normal
69 commands. The syntax and
70 semantics of these commands typed to
72 are identical to their
74 counterparts. In cases where the nature of
77 inconsistent (e.g., specifying a
81 will duly inform the user. The commands that
84 (in some slightly modified or restricted forms) are:
119 command which gives a
120 brief overview. To terminate
122 type CTRL\-D, or use the
126 If the file is writable and has been modified, then using
128 will query the user if the file should be updated.
133 switch sets the prompting string for
136 You may wish to use an alternate
138 profile for the commands that
142 for details about the
144 environment variable.
148 command is identical to the
154 supports an output redirection facility. Commands may be
159 .ta \w'| \fIcommand\fR 'u
160 ^> \fIfile\fR~^write output to \fIfile\fR
161 ^>> \fIfile\fR~^append output to \fIfile\fR
162 ^| \fIcommand\fR~^pipe output to UNIX \fIcommand\fR
168 starts with a \*(lq\~\*(rq (tilde), then a
171 takes place. Note that
177 does NOT support history substitutions, variable
178 substitutions, or alias substitutions.
180 When parsing commands to the left of any redirection symbol,
182 will honor `\\' (backslash) as the quote next\-character symbol, and
183 `\*(lq' (double\-quote) as quote\-word delimiters. All other input tokens
184 are separated by whitespace (spaces and tabs).
188 .ta \w'%etcdir%/ExtraBigFileName 'u
189 ^$HOME/\&.mh\(ruprofile~^The user profile
190 ^%etcdir%/mts.conf~^nmh mts configuration file
192 .SH "PROFILE COMPONENTS"
196 .ta \w'ExtraBigProfileName 'u
197 ^Path:~^To determine the user's nmh directory
198 ^Msg\-Protect:~^To set mode when creating a new `file'
199 ^fileproc:~^Program to file messages
200 ^showproc:~^Program to show messages
206 .RB ` file "' defaults to \*(lq./msgbox\*(rq"
207 .RB ` "\-prompt\ (msh)\ "'
215 There is a strict limit of messages per file in
219 can handle. Usually, this limit is 1000 messages.
223 is not the C\-Shell, and that a lot of
224 the nice facilities provided by the latter are not present in the former.
228 does not understand backquoting, so the only
236 switch. Clever users of
241 pick:\0\-seq\0select\0\-list
248 works equally well from both the shell and
263 program inherits most (if not all) of the bugs from the
265 commands it implements.