INSTALL-MH(1)               General Commands Manual              INSTALL-MH(1)



NNAAMMEE
       install-mh - initialize the nmh environment

SSYYNNOOPPSSIISS
       //uussrr//llooccaall//lliibbeexxeecc//nnmmhh//iinnssttaallll--mmhh [--hheellpp] [--vveerrssiioonn] [--aauuttoo] [--cchheecckk]

DDEESSCCRRIIPPTTIIOONN
       iinnssttaallll--mmhh creates the initial setup for a first-time nnmmhh user.
       iinnssttaallll--mmhh is installed in two locations for historical reasons.

       The --aauuttoo switch does things as automatically as possible and makes
       iinnssttaallll--mmhh less chatty.

       The user is prompted for the name of the directory to be designated as
       the user's nnmmhh 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 _`_M_a_i_l_'.
       iinnssttaallll--mmhh writes an initial _._m_h___p_r_o_f_i_l_e for the user.

       As with all nnmmhh commands, iinnssttaallll--mmhh first checks for the existence of
       the $$MMHH environment variable, since that, if set, gives the profile
       path.  If it isn't set, the $$HHOOMMEE environment variable is consulted to
       determine the user's home directory.  If $$HHOOMMEE is not set, then the
       _/_e_t_c_/_p_a_s_s_w_d file is consulted.

       When creating the user's _._m_h___p_r_o_f_i_l_e, iinnssttaallll--mmhh will check for the
       existence of a global profile at _/_u_s_r_/_l_o_c_a_l_/_l_i_b_/_n_m_h_/_m_h_._p_r_o_f_i_l_e.  If
       found, this will be used to initialize the new _._m_h___p_r_o_f_i_l_e.

       The --cchheecckk switch checks if nnmmhh is installed.  (This can be used by
       other programs to determine if nnmmhh has been installed.)

FFIILLEESS
       $HOME/.mh_profile   The user's profile.
       /usr/local/lib/nmh/mh.profile
                           Used to initialize user's profile.

PPRROOFFIILLEE CCOOMMPPOONNEENNTTSS
       Path:               To set the user's nmh directory.

CCOONNTTEEXXTT
       With --aauuttoo, the current folder is changed to "_i_n_b_o_x".



nmh-1.7.1                         2002-11-18                     INSTALL-MH(1)
