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
55 install directories, all
59 method described in the
61 man page. Information about the configuration of the
63 installation is also available, including the default mail spool
64 locking method. To test whether the configuration includes
65 support for SASL, TLS, and
67 the following commands, respectively, will output a non-null string to
78 Conversely, no output means that the specified support is not included.
81 switch displays all such other information available from
84 Note that the internal
86 component has been replaced by
88 The old form is deprecated and will be removed in a future release.
94 .ta \w'AliasFile:'u+2n
101 % mhparam \-component Path
104 % mhparam AliasFile rmmproc
108 % mhparam \-nocomponent AliasFile rmmproc
112 % mhparam path nonexistent context
125 % mhparam spoollocking
128 % mhparam datalocking
143 is also useful in backquoted operations:
147 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
151 returns the number of components that were not found.
155 .ta \w'ExtraBigProfileName 'u
156 ^$HOME/.mh_profile~^The user profile
157 ^or $MH~^Rather than the standard profile
158 ^<mh-dir>/context~^The user context
159 ^or $MHCONTEXT~^Rather than the standard context
161 .SH "PROFILE COMPONENTS"
165 .ta \w'ExtraBigProfileName 'u
166 ^context:~^To determine the context file
172 .RB ` \-nocomponent "' if only one component is specified"
173 .RB ` \-component "' if more than one component is specified"
174 .RB ` components "' defaults to none"