1 .TH MHPARAM %manext1% "March 16, 2014" "%nmhversion%"
6 mhparam \- print nmh profile and context components
13 .RB [ \-component " | " \-nocomponent ]
20 writes the value of the specified profile component to the standard
21 output separated by newlines. Component name matching is
22 case-insensitive. If the profile component is not present, the
23 default value (or nothing if there is no default) is printed.
27 is given, then the component name is displayed
28 along with the profile components value. This can be disabled with the
32 If more than one component is specified in the
37 is on by default. If only one component is
38 specified, then the switch
44 is specified, then all components in the nmh profile are
45 displayed and other arguments are ignored.
48 can provide other information, such as the
50 version identifier, the locations of the nmh
54 install directories, all
58 method described in the
60 man page. Information about the configuration of the
62 installation is also available, including the default mail spool
63 locking method. To test whether the configuration includes
64 support for SASL, TLS, and
66 the following commands, respectively, will output a non-null string to
77 Conversely, no output means that the specified support is not included.
80 switch displays all such other information available from
87 .ta \w'AliasFile:'u+2n
94 % mhparam \-component Path
97 % mhparam AliasFile rmmproc
101 % mhparam \-nocomponent AliasFile rmmproc
105 % mhparam path nonexistent context
118 % mhparam spoollocking
121 % mhparam datalocking
136 is also useful in backquoted operations:
140 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
144 returns the number of components that were not found.
148 .ta \w'ExtraBigProfileName 'u
149 ^$HOME/.mh_profile~^The user profile
150 ^or $MH~^Rather than the standard profile
151 ^<mh-dir>/context~^The user context
152 ^or $MHCONTEXT~^Rather than the standard context
154 .SH "PROFILE COMPONENTS"
158 .ta \w'ExtraBigProfileName 'u
159 ^context:~^To determine the context file
165 .RB ` \-nocomponent "' if only one component is specified"
166 .RB ` \-component "' if more than one component is specified"
167 .RB ` components "' defaults to none"