X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e6917522a770cf2dba9997ca047977bc55fac061..f8d3c4d16b4a2cf0034dc1159c0c68dc78fd0921:/man/mh-profile.man diff --git a/man/mh-profile.man b/man/mh-profile.man index cb85747f..f34ac4ba 100644 --- a/man/mh-profile.man +++ b/man/mh-profile.man @@ -671,6 +671,27 @@ This is the program used by .B whatnow to determine to whom a message would be sent. .RE +.SS "Profile Lookup" +Some +.B nmh +programs will look in more than just the user's +.I \&.mh\(ruprofile +for profile entries. In particular, +.BR mhbuild , +.BR mhshow , +.BR mhstore , +and +.BR mhn +will also all look in a file specified by a program-specific +environment variable (see below), and after that in +the system-installed profile (%etcdir%/mhn.defaults). (The +.B mhfixmsg +program is similar, but doesn't consult an environment variable.) +The first match found for a particular component will be used, +allowing user-supplied entries to override those that are system-supplied. +A profile component with a blank value field will "hide" any later +occurrences of the component, and will make the entry appear to be +absent. .SS "Environment Variables" The operation of .B nmh