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
83 Note that the internal
85 component has been replaced by
87 The old form is deprecated and will be removed in a future release.
93 .ta \w'AliasFile:'u+2n
100 % mhparam \-component Path
103 % mhparam AliasFile rmmproc
107 % mhparam \-nocomponent AliasFile rmmproc
111 % mhparam path nonexistent context
124 % mhparam spoollocking
127 % mhparam datalocking
142 is also useful in backquoted operations:
146 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
150 returns the number of components that were not found.
154 .ta \w'ExtraBigProfileName 'u
155 ^$HOME/.mh_profile~^The user profile
156 ^or $MH~^Rather than the standard profile
157 ^<mh-dir>/context~^The user context
158 ^or $MHCONTEXT~^Rather than the standard context
160 .SH "PROFILE COMPONENTS"
164 .ta \w'ExtraBigProfileName 'u
165 ^context:~^To determine the context file
171 .RB ` \-nocomponent "' if only one component is specified"
172 .RB ` \-component "' if more than one component is specified"
173 .RB ` components "' defaults to none"