Removed the whom program, which relayed on post(8) functionality.
[mmh] / man / mh-profile.man
1 .\"
2 .\" %nmhwarning%
3 .\"
4 .TH MH-PROFILE %manext5% "%nmhdate%" MH.6.8 [%nmhversion%]
5 .SH NAME
6 mh-profile \- user profile customization for nmh message handler
7 .SH SYNOPSIS
8 .I $HOME/.mh\(ruprofile
9 .SH DESCRIPTION
10 Each user of
11 .B nmh
12 is expected to have a file named
13 .I \&.mh\(ruprofile
14 in his or her home directory.  This file contains
15 a set of user parameters used by some or all of the
16 .B nmh
17 family of programs.  Each entry in the file is of the format
18 .PP
19 .RS 5
20 .IR profile\-component ": " value
21 .RE
22 .PP
23 If the text of profile entry is long, you may extend it across several
24 real lines by indenting the continuation lines with leading spaces or tabs.
25
26 .SS "Standard Profile Entries"
27 The possible profile components are exemplified below.  The only mandatory
28 entry is `Path:'.  The others are optional; some have default values if
29 they are not present.  In the notation used below, (profile, default)
30 indicates whether the information is kept in the user's
31 .B nmh
32 profile or
33 .B nmh
34 context, and indicates what the default value is.
35 .PP
36 .BR Path :
37 Mail
38 .RS 5
39 Locates
40 .B nmh
41 transactions in directory \*(lqMail\*(rq.  This is the
42 only mandatory profile entry.  (profile, no default)
43 .RE
44 .PP
45 .BR context :
46 context
47 .RS 5
48 Declares the location of the
49 .B nmh
50 context file.  This is overridden by the environment variable
51 .BR $MHCONTEXT .
52 See the
53 .B HISTORY
54 section below.
55 (profile, default: <nmh\-dir>/context)
56 .RE
57 .PP
58 .BR Current\-Folder :
59 inbox
60 .RS 5
61 Keeps track of the current open folder.
62 (context, default: folder specified by \*(lqInbox\*(rq)
63 .RE
64 .PP
65 .BR Inbox :
66 inbox
67 .RS 5
68 Defines the name of your default inbox.
69 (profile, default: inbox)
70 .RE
71 .PP
72 .BR Previous\-Sequence :
73 .I pseq
74 .RS 5
75 Names the sequence or sequences which should be defined as the `msgs' or
76 `msg' argument given to any
77 .B nmh
78 command.  If not present or empty,
79 no such sequences are defined.  Otherwise, for each name given, the
80 sequence is first zero'd and then each message is added to the sequence.
81 Read the
82 .BR mh\-sequence (5)
83 man page for the details about this sequence. (profile, no default)
84 .RE
85 .PP
86 .BR Sequence\-Negation :
87 not
88 .RS 5
89 Defines the string which, when prefixed to a sequence name, negates
90 that sequence.  Hence, \*(lqnotseen\*(rq means all those messages that
91 are not a member of the sequence \*(lqseen\*(rq.  Read the
92 .BR mh\-sequence (5)
93 man page for the details.  (profile, no default)
94 .RE
95 .PP
96 .BR Unseen\-Sequence :
97 unseen
98 .RS 5
99 Names the sequence or sequences which should be defined as those
100 messages which are unread.  The commands
101 .BR inc ,
102 .BR rcvstore ,
103 .BR mhshow ,
104 and
105 .B show
106 will add or remove messages from these
107 sequences when they are incorporated or read.  If not present or
108 empty, no such sequences are defined.  Otherwise, each message is
109 added to, or removed from, each sequence name given.  Read the
110 .BR mh\-sequence (5)
111 man page for the details about this sequence.
112 (profile, no default)
113 .RE
114 .PP
115 .BR mh\-sequences :
116 \&.mh\(rusequences
117 .RS 5
118 The name of the file in each folder which defines public sequences.
119 To disable the use of public sequences, leave the value portion of this
120 entry blank.  (profile, default: \&.mh\(rusequences)
121 .RE
122 .PP
123 .BI atr\- seq \- folder :
124 172\0178\-181\0212
125 .RS 5
126 Keeps track of the private sequence called \*(lqseq\*(rq in the specified
127 folder.  Private sequences are generally used for read\-only folders.
128 See the
129 .BR mh\-sequence (5)
130 man page for details about private sequences.
131 (context, no default)
132 .RE
133 .PP
134 .BR Editor :
135 /usr/bin/vi
136 .RS 5
137 Defines the editor to be used by the commands
138 .BR comp ,
139 .BR dist ,
140 .BR forw ,
141 and
142 .BR repl .
143 (profile, default: vi)
144 .RE
145 .PP
146 .BR Sendmail :
147 /usr/sbin/sendmail
148 .RS 5
149 The path name to the
150 .B sendmail
151 program, used by
152 .BR spost
153 to send mail.
154 (profile, default: %sendmailpath%)
155 .RE
156 .PP
157 .BR Backup-Prefix :
158 ,
159 .RS 5
160 The prefix that is prepended to the name of message files when they
161 are "removed" by rmm. This should typically be `,' or `#'.
162 (profile, default: `,')
163 .RE
164 .PP
165 .BR AltMsg-Link :
166 @
167 .RS 5
168 Name of the link to the file to which you are replying or which you are
169 redistributing. See `$mhaltmsg' below.
170 (profile, default: `@')
171 .RE
172 .PP
173 .BR automimeproc :
174 .RS 5
175 If defined and set to 1, then the
176 .B whatnow
177 program will automatically
178 invoke the buildmimeproc (discussed below) to process each message as a MIME
179 composition draft before it is sent.
180 (profile, no default)
181 .RE
182 .PP
183 .BR Msg\-Protect :
184 644
185 .RS 5
186 An octal number which defines the permission bits for new message files.
187 See
188 .BR chmod (1)
189 for an explanation of the octal number.
190 (profile, default: 0644)
191 .RE
192 .PP
193 .BR Folder\-Protect :
194 750
195 .RS 5
196 An octal number which defines the permission bits for new folder
197 directories.  See
198 .BR chmod (1)
199 for an explanation of the octal number.
200 (profile, default: 700)
201 .RE
202 .PP
203 .IR program :
204 .I default switches
205 .RS 5
206 Sets default switches to be used whenever the mh program
207 .I program
208 is invoked.  For example, one could override the \*(lqEditor:\*(rq profile
209 component when replying to messages by adding a component such as:
210 .PP
211 .RS 5
212 repl: \-editor /bin/ed
213 .RE
214 .PP
215 (profile, no defaults)
216 .RE
217 .PP
218 .IB lasteditor "-next:"
219 .I nexteditor
220 .RS 5
221 Names \*(lqnexteditor\*(rq to be the default editor after using
222 \*(lqlasteditor\*(rq.  This takes effect at \*(lqWhat now?\*(rq prompt
223 in
224 .BR comp ,
225 .BR dist ,
226 .BR forw ,
227 and
228 .BR repl .
229 After editing
230 the draft with \*(lqlasteditor\*(rq, the default editor is set to be
231 \*(lqnexteditor\*(rq.  If the user types \*(lqedit\*(rq without any
232 arguments to \*(lqWhat now?\*(rq, then \*(lqnexteditor\*(rq is used.
233 (profile, no default)
234 .RE
235 .PP
236 .BR bboards :
237 system
238 .RS 5
239 Tells
240 .B bbc
241 which BBoards you are interested in.  (profile, default: system)
242 .RE
243 .PP
244 .BR Folder\-Stack :
245 .I folders
246 .RS 5
247 The contents of the folder-stack for the
248 .B folder
249 command.
250 (context, no default)
251 .RE
252 .PP
253 .BR mhe :
254 .RS 5
255 If present, tells
256 .B inc
257 to compose an
258 .I MHE
259 auditfile in addition to its other tasks.
260 .I MHE
261 is Brian Reid's
262 .B emacs
263 front-end for
264 .BR nmh .
265 (profile, no default)
266 .RE
267 .PP
268 .BR Alternate\-Mailboxes :
269 mh@uci\-750a, bug-mh*
270 .RS 5
271 Tells
272 .B repl
273 and
274 .B scan
275 which addresses are really yours.
276 In this way,
277 .B repl
278 knows which addresses should be included in the
279 reply, and
280 scan
281 knows if the message really originated from you.
282 Addresses must be separated by a comma, and the hostnames listed should
283 be the \*(lqofficial\*(rq hostnames for the mailboxes you indicate, as
284 local nicknames for hosts are not replaced with their official site names.
285 For each address, if a host is not given, then that address on any host is
286 considered to be you.  In addition, an asterisk (`*') may appear at either
287 or both ends of the mailbox and host to indicate wild-card matching.
288 (profile, default: your user-id)
289 .RE
290 .PP
291 .BR Aliasfile :
292 aliases
293 .I other-alias
294 .RS 5
295 Indicates aliases files for
296 .BR ali
297 and
298 .BR send .
299 This may be used instead of the
300 .B \-alias
301 .I file
302 switch.  (profile, no default)
303 .RE
304 .PP
305 .BR Draft\-Folder :
306 drafts
307 .RS 5
308 Indicates a default draft folder for
309 .BR comp ,
310 .BR dist ,
311 .BR forw ,
312 and
313 .BR repl .
314 Read the
315 .BR mh\-draft (5)
316 man page for details. (profile, no default)
317 .RE
318 .PP
319 .BI digest\-issue\- list :
320 1
321 .RS 5
322 Tells
323 .B forw
324 the last issue of the last volume sent for the digest
325 .IR list .
326 (context, no default)
327 .RE
328 .PP
329 .BI digest\-volume\- list :
330 1
331 .RS 5
332 Tells
333 .B forw
334 the last volume sent for the digest
335 .IR list .
336 (context, no default)
337 .RE
338 .PP
339 .BR MailDrop :
340 \&.mail
341 .RS 5
342 Tells
343 .B inc
344 your maildrop, if different from the default.  This is
345 superseded by the environment variable
346 .BR $MAILDROP .
347 (profile, default: %mailspool%/$USER)
348 .RE
349 .PP
350 .BR Signature :
351 RAND MH System (agent: Marshall Rose)
352 .RS 5
353 Tells
354 .B send
355 your mail signature.  This is superseded by the
356 environment variable
357 .BR $SIGNATURE .
358 If
359 .B $SIGNATURE
360 is not set and this profile entry is not present, the \*(lqgcos\*(rq field of
361 the \fI/etc/passwd\fP file will be used; otherwise, on hosts where
362 .B nmh
363 was configured with the UCI option, the file
364 .I $HOME/.signature
365 is consulted.  Your signature will be added to the address
366 .B send
367 puts in the \*(lqFrom:\*(rq header; do not include an address in the
368 signature text.  (profile, no default)
369 .RE
370
371 .SS "Process Profile Entries"
372 The following profile elements are used whenever an
373 .B nmh
374 program invokes some other program such as
375 .BR more .
376 The
377 .I \&.mh\(ruprofile
378 can be used to select alternate programs if the
379 user wishes.  The default values are given in the examples.
380 .RE
381 .PP
382 .BR buildmimeproc :
383 %bindir%/mhbuild
384 .RS 5
385 This is the program used by
386 .B whatnow
387 to process drafts which are MIME composition files.
388 .RE
389 .PP
390 .BR fileproc :
391 %bindir%/refile
392 .RS 5
393 This program is used to refile or link a message to another folder.
394 It is used by
395 .B post
396 to file a copy of a message into a folder given
397 by a \*(lqFcc:\*(rq field.  It is used by the draft folder facility in
398 .BR comp ,
399 .BR dist ,
400 .BR forw ,
401 and
402 .B repl
403 to refile a draft
404 message into another folder.  It is used to refile a draft message in
405 response to the
406 .B refile
407 directive at the \*(lqWhat now?\*(rq prompt.
408 .RE
409 .PP
410 .BR incproc :
411 %bindir%/inc
412 .RS 5
413 Program called by
414 .B mhmail
415 to incorporate new mail when it
416 is invoked with no arguments.
417 .RE
418 .PP
419 .BR installproc :
420 %libdir%/install\-mh
421 .RS 5
422 This program is called to initialize the environment for
423 new users of
424 .BR nmh .
425 .RE
426 .PP
427 .BR lproc :
428 more
429 .RS 5
430 This program is used to list the contents of a message in response
431 to the
432 .B list
433 directive at the \*(lqWhat now?\*(rq prompt.  It is
434 also used by the draft folder facility in
435 .BR comp ,
436 .BR dist ,
437 .BR forw ,
438 and
439 .B repl
440 to display the draft message.
441 .RE
442 .PP
443 .BR mailproc :
444 %bindir%/mhmail
445 .RS 5
446 This is the program used to automatically mail various messages
447 and notifications.  It is used by
448 .B conflict
449 when using the
450 .B \-mail
451 option.  It is used by
452 .B send
453 to post failure notices.
454 It is used to retrieve an external-body with access-type `mail-server'
455 (such as when storing the body with
456 .BR mhstore ).
457 .RE
458 .PP
459 .BR mhlproc :
460 %libdir%/mhl
461 .RS 5
462 This is the program used to filter messages in various ways.  It
463 is used by
464 .B mhshow
465 to filter and display the message headers
466 of MIME messages.  When the
467 .B \-format
468 or
469 .B \-filter
470 option is used
471 by
472 .B forw
473 or
474 .BR repl ,
475 the
476 .I mhlproc
477 is used to filter the
478 message that you are forwarding, or to which you are replying.
479 When the
480 .B \-filter
481 option is given to
482 .B send
483 or
484 .BR post ,
485 the
486 .I mhlproc
487 is used by
488 .B post
489 to filter the copy of the message
490 that is sent to \*(lqBcc:\*(rq recipients.
491 .RE
492 .PP
493 .BR moreproc :
494 more
495 .RS 5
496 This is the program used by
497 .B mhl
498 to page the
499 .B mhl
500 formatted message when displaying to a terminal.  It is also the default
501 program used by
502 .B mhshow
503 to display message bodies (or message parts) of type text/plain.
504 .RE
505 .PP
506 .BR packproc :
507 %bindir%/packf
508 .RS 5
509 Currently not used.
510 .RE
511 .PP
512 .BR postproc :
513 %libdir%/post
514 .RS 5
515 This is the program used by
516 .BR send ,
517 .BR mhmail ,
518 .BR rcvdist ,
519 and
520 .B viamail
521 (used by the
522 .B sendfiles
523 shell script) to
524 post a message to the mail transport system.
525 .RE
526 .PP
527 .BR rmmproc :
528 none
529 .RS 5
530 This is the program used by
531 .B rmm
532 and
533 .B refile
534 to delete a message from a folder.
535 .RE
536 .PP
537 .BR rmfproc :
538 %bindir%/rmf
539 .RS 5
540 Currently not used.
541 .RE
542 .PP
543 .BR sendproc :
544 %bindir%/send
545 .RS 5
546 This is the program to use by
547 .B whatnow
548 to actually send the message
549 .RE
550 .PP
551 .BR showmimeproc :
552 %bindir%/mhshow
553 .RS 5
554 This is the program used by
555 .B show
556 to process and display non-text (MIME) messages.
557 .RE
558 .PP
559 .BR showproc :
560 %libdir%/mhl
561 .RS 5
562 This is the program used by
563 .B show
564 to filter and display text (non-MIME) messages.
565 .RE
566 .PP
567 .BR whatnowproc :
568 %bindir%/whatnow
569 .RS 5
570 This is the program invoked by
571 .BR comp ,
572 .BR forw ,
573 .BR dist ,
574 and
575 .B repl
576 to query about the disposition of a composed draft message.
577 .RE
578
579 .SS "Environment Variables"
580 The operation of
581 .B nmh
582 and its commands it also controlled by the
583 presence of certain environment variables.
584 .PP
585 Many of these environment variables are used internally by the
586 \*(lqWhat now?\*(rq interface.  It's amazing all the information
587 that has to get passed via environment variables to make the
588 \*(lqWhat now?\*(rq interface look squeaky clean to the
589 .B nmh
590 user, isn't it?  The reason for all this is that the
591 .B nmh
592 user
593 can select
594 .B any
595 program as the
596 .IR whatnowproc ,
597 including
598 one of the standard shells.  As a result, it's not possible to pass
599 information via an argument list. The convention is that environment
600 variables whose names are all upper-case are user-settable; those
601 whose names are lower-case only are used internally by nmh and should
602 not generally be set by the user.
603 .PP
604 If the
605 .B WHATNOW
606 option was set during
607 .B nmh
608 configuration, and
609 if this environment variable is set, then if the commands
610 .BR refile\ ,
611 .BR send
612 or
613 .BR show
614 are not given any `msgs'
615 arguments, then they will default to using the file indicated by
616 .BR mh\-draft (5).
617 This is useful for getting the default behavior
618 supplied by the default
619 .IR whatnowproc .
620 .PP
621 .B $MH
622 .RS 5
623 With this environment variable, you can specify a profile
624 other than
625 .I \&.mh\(ruprofile
626 to be read by the
627 .B nmh
628 programs
629 that you invoke.  If the value of
630 .B $MH
631 is not absolute, (i.e., does
632 not begin with a \*(lq/\*(rq), it will be presumed to start from the current
633 working directory.  This is one of the very few exceptions in
634 .B nmh
635 where non-absolute pathnames are not considered relative to the user's
636 .B nmh
637 directory.
638 .RE
639 .PP
640 .B $MHCONTEXT
641 .RS 5
642 With this environment variable, you can specify a
643 context other than the normal context file (as specified in
644 the
645 .B nmh
646 profile).  As always, unless the value of
647 .B $MHCONTEXT
648 is absolute, it will be presumed to start from your
649 .B nmh
650 directory.
651 .RE
652 .PP
653 .B $MM_CHARSET
654 .RS 5
655 With this environment variable, you can specify
656 the native character set you are using.  You must be able to display
657 this character set on your terminal.
658 .PP
659 This variable is checked to see if a RFC-2047 header field should be
660 decoded (in
661 .BR inc ,
662 .BR scan ,
663 .BR mhl ).
664 This variable is
665 checked by
666 .B show
667 to see if the
668 .I showproc
669 or
670 .I showmimeproc
671 should
672 be called, since showmimeproc will be called if a text message uses
673 a character set that doesn't match
674 .BR $MM_CHARSET .
675 This variable is
676 checked by
677 .B mhshow
678 for matches against the charset parameter
679 of text contents to decide it the text content can be displayed
680 without modifications to your terminal.  This variable is checked by
681 .B mhbuild
682 to decide what character set to specify in the charset
683 parameter of text contents containing 8\-bit characters.
684 .PP
685 When decoding text in such an alternate character set,
686 .B nmh
687 must be able to determine which characters are alphabetic, which
688 are control characters, etc.  For many operating systems, this
689 will require enabling the support for locales (such as setting
690 the environment variable
691 .B $LC_CTYPE
692 to iso_8859_1).
693 .RE
694 .PP
695 .B $MAILDROP
696 .RS 5
697 This variable tells
698 .B inc
699 the default maildrop. This supersedes the \*(lqMailDrop\*(rq profile entry.
700 .RE
701 .PP
702 .B $SIGNATURE
703 .RS 5
704 This variable tells
705 .B send
706 and
707 .B post
708 your mail signature. This supersedes the \*(lqSignature\*(rq profile entry.
709 .RE
710 .PP
711 .B $HOME
712 .RS 5
713 This variable tells all
714 .B nmh
715 programs your home directory
716 .RE
717 .PP
718 .B $SHELL
719 .RS 5
720 This variable tells
721 .B bbl
722 the default shell to run
723 .RE
724 .PP
725 .B $TERM
726 .RS 5
727 This variable tells
728 .B nmh
729 your terminal type.
730 .PP
731 The environment variable
732 .B $TERMCAP
733 is also consulted.  In particular,
734 these tell
735 .B scan
736 and
737 .B mhl
738 how to clear your terminal, and how
739 many columns wide your terminal is.  They also tell
740 .B mhl
741 how many
742 lines long your terminal screen is.
743 .RE
744 .PP
745 .B $editalt
746 .RS 5
747 This is the alternate message.
748 .PP
749 This is set by
750 .B dist
751 and
752 .B repl
753 during edit sessions so you can peruse the message being distributed or
754 replied to.  The message is also available through a link called
755 \*(lq@\*(rq (if not changed by
756 .BR altmsg-link )
757 in the current directory if your current working directory
758 and the message's folder are on the same UNIX filesystem.
759 .RE
760 .PP
761 .B $mhdraft
762 .RS 5
763 This is the path to the working draft.
764 .PP
765 This is set by
766 .BR comp ,
767 .BR dist ,
768 .BR forw ,
769 and
770 .B repl
771 to tell the
772 .I whatnowproc
773 which file to ask \*(lqWhat now?\*(rq
774 questions about.
775 .RE
776 .PP
777 .B $mhfolder
778 .RS 5
779 This is set by
780 .BR dist ,
781 .BR forw ,
782 and
783 .BR repl ,
784 if appropriate.
785 .RE
786 .PP
787 .B $mhaltmsg
788 .RS 5
789 .B dist
790 and
791 .B repl
792 set
793 .B $mhaltmsg
794 to tell the
795 .I whatnowproc
796 about an alternate message associated with the
797 draft (the message being distributed or replied to).
798 .RE
799 .PP
800 .B $mhdist
801 .RS 5
802 .B dist
803 sets
804 .B $mhdist
805 to tell the
806 .I whatnowproc
807 that message re-distribution is occurring.
808 .RE
809 .PP
810 .B $mheditor
811 .RS 5
812 This is set by
813 .BR comp ,
814 .BR repl ,
815 .BR forw ,
816 and
817 .B dist
818 to tell the
819 .I whatnowproc
820 the user's choice of
821 editor (unless overridden by
822 .BR \-noedit ).
823 .RE
824 .PP
825 .B $mhuse
826 .RS 5
827 This may be set by
828 .BR comp .
829 .RE
830 .PP
831 .B $mhmessages
832 .RS 5
833 This is set by
834 .BR dist ,
835 .BR forw ,
836 and
837 .B repl
838 if annotations are to occur.
839 .RE
840 .PP
841 .B $mhannotate
842 .RS 5
843 This is set by
844 .BR dist ,
845 .BR forw ,
846 and
847 .B repl
848 if annotations are to occur.
849 .RE
850 .PP
851 .B $mhinplace
852 .RS 5
853 This is set by
854 .BR dist ,
855 .BR forw ,
856 and
857 .B repl
858 if annotations are to occur.
859 .RE
860 .PP
861 .B $mhfolder
862 .RS 5
863 This is the folder containing the alternate message.
864 .PP
865 This is set by
866 .B dist
867 and
868 .B repl
869 during edit sessions so you
870 can peruse other messages in the current folder besides the one being
871 distributed or replied to.  The environment variable
872 .B $mhfolder
873 is also set by
874 .BR show ,
875 .BR prev ,
876 and
877 .B next
878 for use by
879 .BR mhl .
880 .RE
881
882 .SH FILES
883 .fc ^ ~
884 .nf
885 .ta \w'%etcdir%/ExtraBigFileName  'u
886 ^$HOME/\&.mh\(ruprofile~^The user profile
887 ^or $MH~^Rather than the standard profile
888 ^<mh\-dir>/context~^The user context
889 ^or $MHCONTEXT~^Rather than the standard context
890 ^<folder>/\&.mh\(rusequences~^Public sequences for <folder>
891 .fi
892
893 .SH "SEE ALSO"
894 nmh(1), environ(5), mh-sequence(5)
895
896 .SH HISTORY
897 The
898 .I \&.mh\(ruprofile
899 contains only static information, which
900 .B nmh
901 programs will
902 .B NOT
903 update.  Changes in context are made to the
904 .I context
905 file kept in the users
906 .B nmh
907 directory.
908 This includes, but is not limited to: the \*(lqCurrent\-Folder\*(rq entry
909 and all private sequence information.  Public sequence information is
910 kept in each folder in the file determined by the \*(lqmh\-sequences\*(rq
911 profile entry (default is
912 .IR \&.mh\(rusequences ).
913 .PP
914 The
915 .I \&.mh\(ruprofile
916 may override the path of the
917 .I context
918 file, by specifying a \*(lqcontext\*(rq entry (this must be in
919 lower-case).  If the entry is not absolute (does not start with a
920 \*(lq/\*(rq), then it is interpreted relative to the user's
921 .B nmh
922 directory.  As a result, you can actually have more than one set of
923 private sequences by using different context files.
924
925 .SH BUGS
926 The shell quoting conventions are not available in the
927 .IR \&.mh\(ruprofile .
928 Each token is separated by whitespace.
929 .PP
930 There is some question as to what kind of arguments should be placed
931 in the profile as options.  In order to provide a clear answer, recall
932 command line semantics of all
933 .B nmh
934 programs: conflicting switches
935 (e.g.
936 .B \-header
937 and
938 .BR \-noheader )
939 may occur more than one time on the
940 command line, with the last switch taking effect.  Other arguments, such
941 as message sequences, filenames and folders, are always remembered on
942 the invocation line and are not superseded by following arguments of
943 the same type.  Hence, it is safe to place only switches (and their
944 arguments) in the profile.
945 .PP
946 If one finds that an
947 .B nmh
948 program is being invoked again and again
949 with the same arguments, and those arguments aren't switches, then there
950 are a few possible solutions to this problem.  The first is to create a
951 (soft) link in your
952 .I $HOME/bin
953 directory to the
954 .B nmh
955 program
956 of your choice.  By giving this link a different name, you can create
957 a new entry in your profile and use an alternate set of defaults for
958 the
959 .B nmh
960 command.  Similarly, you could create a small shell script
961 which called the
962 .B nmh
963 program of your choice with an alternate set
964 of invocation line switches (using links and an alternate profile entry
965 is preferable to this solution).
966 .PP
967 Finally, the
968 .B csh
969 user could create an alias for the command of the form:
970 .PP
971 .RS 5
972 alias cmd 'cmd arg1 arg2 ...'
973 .RE
974 .PP
975 In this way, the user can avoid lengthy type-in to the shell, and still
976 give
977 .B nmh
978 commands safely.  (Recall that some
979 .B nmh
980 commands
981 invoke others, and that in all cases, the profile is read, meaning that
982 aliases are disregarded beyond an initial command invocation)