install-mh(8mh)
Name
install-mh − initialize the MH environment
Syntax
/usr/new/lib/mh/install−mh [−auto]
Description
When a user runs any MH program for the first time, the program will invoke install−mh (with the −auto switch) to query the user for the initial MH environment. The user does not invoke this program directly. The user is asked for the name of the directory that will be designated as the user’s MH directory. If this directory does not exist, the user is asked if it should be created. Normally, this directory should be under the user’s home directory, and has the default name of Mail/. After install−mh has written the initial .mh_profile for the user, control returns to the original MH program.
As with all MH commands, install−mh first consults the $HOME envariable to determine the user’s home directory. If $HOME is not set, then the /etc/passwd file is consulted.
Files
$HOME/.mh_profile
User profile
Profile Components
Path:To set the user’s MH directory
Context
With −auto, the current folder is changed to inbox.