INSTALL-MH(8)

NAME
install-mh - initialize the MH environment

SYNOPSIS
/usr/pkg/libexec/mh/install-mh [-auto] [-compat]

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. When converting from mh.3 to mh.4, install-mh is automatically invoked with the `-compat' switch. ^$HOME/.mh_profile~^The user profile ^Path:~^To set the user's MH directory With `-auto', the current folder is changed to “inbox”.