MH_PROFILE(5MH) COMMAND REFERENCE MH_PROFILE(5MH)
NAME
mh_profile - user parameters for MH message handler
DESCRIPTION
Each user of mh is expected to have a file named .mhprofile
in his or her home directory. This file contains a set of
user parameters used by some or all of the mh family of
programs. Each line of the file is of the format
profile-component: value
The currently defined profile components are exemplified
below:
Path: Mail Locates mh transactions in directory
"Mail".
Current-Folder: inbox
Keeps track of currently open folder.
Editor: prompter Defines editor to be used by comp(1mh),
repl(1mh), and forw(1mh).
Msg-Protect: 644 Defines octal protection bits for
message files. See chmod(1) for an
explanation of the octal number.
Folder-Protect: 711 Defines protection bits for folder
directories.
program: default switches
Sets default switches to be used
whenever the mh program program is
invoked. For example, one could
override the Editor:profile component
when replying to messages by adding a
component such as:
repl: -editor prompter
cur-read-onlyfolder: 172
Keeps track of the last message seen in
the specified read-only folder. In
folders to which write access is
permitted, the current-message value is
kept in a file called cur within that
folder.
prompter-next: ed Names the editor to be used on exit from
prompter(1mh)
The following profile elements are used whenever an mh
program invokes some other program such as refile(1mh) or
Printed 10/17/86 1
MH_PROFILE(5MH) COMMAND REFERENCE MH_PROFILE(5MH)
ls(1). The mhprofile can be used to select alternate
versions of these programs if the user wishes. The default
values are given in the examples.
fileproc: /usr/tek/refile
installproc: /usr/lib/tek/mh/install-mh
lproc: /usr/ucb/more
lsproc: ls
mailproc: /usr/tek/mail
prproc: /bin/pr
scanproc: /usr/tek/scan
sendproc: /usr/tek/send
showproc: /usr/ucb/more
delete-prog: /bin/rm
Normally, rmm(1mh), rather than removing a message in file X
will rename the file to ,X. If a user provides a delete-
prog profile entry, the specified program will be used to
remove the file.
FILES
$HOME/.mh_profile Personal MH configuration file.
SEE ALSO
mh(1mh).
Printed 10/17/86 2
%%index%%
na:72,87;
de:159,2393;2696,1007;
fi:3703,127;
se:3830,102;
%%index%%000000000092