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