1INSTALL-MH(1) General Commands Manual INSTALL-MH(1)
2
3
4
6 install-mh - initialize the nmh environment
7
9 /usr/libexec/nmh/install-mh [-help] [-version] [-auto] [-check]
10
12 install-mh creates the initial setup for a first-time nmh user.
13 install-mh is installed in two locations for historical reasons.
14
15 The -auto switch does things as automatically as possible and makes
16 install-mh less chatty.
17
18 The user is prompted for the name of the directory to be designated as
19 the user's nmh directory. If this directory does not exist, the user
20 is asked if it should be created. Normally, this directory should be
21 under the user's home directory, and has the default name of `Mail'.
22 install-mh writes an initial .mh_profile for the user.
23
24 As with all nmh commands, install-mh first checks for the existence of
25 the $MH environment variable, since that, if set, gives the profile
26 path. If it isn't set, the $HOME environment variable is consulted to
27 determine the user's home directory. If $HOME is not set, then the
28 /etc/passwd file is consulted.
29
30 When creating the user's .mh_profile, install-mh will check for the
31 existence of a global profile at /etc/nmh/mh.profile. If found, this
32 will be used to initialize the new .mh_profile.
33
34 The -check switch checks if nmh is installed. (This can be used by
35 other programs to determine if nmh has been installed.)
36
38 $HOME/.mh_profile The user's profile.
39 /etc/nmh/mh.profile Used to initialize user's profile.
40
42 Path: To set the user's nmh directory.
43
45 With -auto, the current folder is changed to “inbox”.
46
47
48
49nmh-1.7.1 2002-11-18 INSTALL-MH(1)