INSTALL-MH(8)                      [nmh-1.4]                     INSTALL-MH(8)



NNAAMMEE
       install-mh - initialize the nmh environment

SSYYNNOOPPSSIISS
       iinnssttaallll--mmhh [--aauuttoo] [--cchheecckk] [--vveerrssiioonn] [--hheellpp]

DDEESSCCRRIIPPTTIIOONN
       IInnssttaallll--mmhh is the nnmmhh program to create the initial setup for a
       first-time nnmmhh user.  IInnssttaallll--mmhh lives in two places for historical
       reasons.

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

       The user is asked for the name of the directory that will 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 gives the profile path if set.
       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 users initial _._m_h___p_r_o_f_i_l_e, iinnssttaallll--mmhh will check for
       the existence of a global profile _/_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 option can be used to check whether or not nmh has been
       installed.  This can be used by other programs to determine whether or
       not nmh has been installed without their having to know the internals
       of nmh.


FFIILLEESS
       $HOME/.mh_profile                    The user profile
       /usr/local/lib/nmh/mh.profile        Used to initialize user 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".



MH.6.8                          1 January 2012                   INSTALL-MH(8)
