Creates a Message Handler (MH) shell.
The msh command creates an MH shell for use with messages that are packed in a file. By default, this command looks for the msgbox file in the current directory. Within the MH shell, you can use the following MH commands:
ali burst comp dist
folder forw inc mark
mhmail msgchk next packf
pick prev refile repl
rmm scan send show
sortm whatnow whom
These commands operate with limited functionality in the MH shell. To see how a command operates in the MH shell, enter the command name followed by the -help flag. Entering help or a ? (question mark) displays a list of the MH commands you can use.
To leave the msh shell, press the Ctrl-D key sequence or enter quit.
Item | Description |
---|---|
-help | Lists the command syntax, available switches (toggles), and
version information. Note: For MH, the name of this flag must be fully spelled out. |
-notopcur | Makes the current message track the center line of the vmh scan window when the msh command is started using the vmh command. This flag is the default. |
-prompt String | Prompts for the msh commands with the specified string. |
-topcur | Makes the current message track the top line of the vmh scan window when the msh command is started using the vmh command. |
The following entries are found in the UserMhDirectory/.mh_profile file:
Item | Description |
---|---|
fileproc: | Specifies the program used to refile messages. |
Msg-Protect: | Sets the protection level for your new message files. |
Path: | Specifies the user's MH directory. |
showproc: | Specifies the program used to show messages. |
msh
If the msgbox file exists
in the current directory, the system responds with a message similar
to the following: Reading ./msgbox, currently at message 1 of 10
Then,
the system prompt appears as follows: (msh)
In
this example, the current message is message 1 in the msgbox file.
You can now enter a modified subset of MH commands.msh meetings
Item | Description |
---|---|
$HOME/.mh_profile | Specifies the user's MH profile. |
/etc/mh/mtstailor | Contains the MH tailor file. |
/usr/bin/msh | Contains the msh command. |