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