MAN page from Old RedHat 5.X mh-6.8.4-6.i386.rpm
COMP
Section: User Commands (1)
Updated: MH.6.8
Index NAME
comp - compose a message
SYNOPSIS
comp [+folder] [msg][-draftfolder +folder] [-draftmessage msg] [-nodraftfolder][-editor editor] [-noedit][-file file][-form formfile][-use] [-nouse][-whatnowproc program] [-nowhatnowproc][-help]
DESCRIPTION
Comp is used to create a new message to be mailed.It copies a message form tothe draft being composed and then invokes an editor on the draft(unless `-noedit' is given, in which case the initial edit is suppressed).
The default message form contains the following elements:
man2html: unable to open or read file/usr/lib/mh/components
If the file named ``components'' exists in the user's MH directory,it will be used instead of this form.The file specified by `-form formfile' will be used if given.You may also start comp using the contents of an existingmessage as the form.If you supply either a `+folder' or `msg' argument, that message will be usedas the form. You may not supply both a `-form formfile' and a `+folder' or`msg' argument.The line of dashesor a blank line must be left between the header and thebody of the message for the message to be identified properly when it issent (see send (1)).The switch `-use' directs comp tocontinue editing an already started message.That is, if acomp (or dist, repl, or forw ) is terminated withoutsending the draft, the draft can be edited again via``comp -use''.
If the draft already exists, comp will askyou as to the disposition of the draft.A reply of quit will abort comp, leaving the draft intact;replace will replace the existing draft with the appropriate form;list will display the draft;use will use the draft for further composition;and refile +folder willfile the draft in the given folder, and give you a new draft with theappropriate form.(The `+folder' argument to refile is required.)
The `-draftfolder +folder' and `-draftmessage msg' switches invoke theMH draft folder facility.This is an advanced (and highly useful) feature.Consult the Advanced Features section of the MH manual for moreinformation.
The `-file file' switch says to use the named file as the message draft.
The `-editor editor' switch indicates the editor touse for the initial edit.Upon exiting from the editor,comp will invoke the whatnow program.See whatnow (1) for a discussion of available options.The invocation of this program can be inhibited by using the `-nowhatnowproc'switch.(In truth of fact,it is the whatnow program which starts the initial edit.Hence, `-nowhatnowproc' will prevent any edit from occurring.)^/usr/lib/mh/components~^The message skeleton^or <mh-dir>/components~^Rather than the standard skeleton^$HOME/.mh_profile~^The user profile^<mh-dir>/draft~^The draft file^Path:~^To determine the user's MH directory^Draft-Folder:~^To find the default draft-folder^Editor:~^To override the default editor^Msg-Protect:~^To set mode when creating a new message (draft)^fileproc:~^Program to refile the message^whatnowproc:~^Program to ask the ``What now?'' questionsdist(1), forw(1), repl(1), send(1), whatnow(1), mh-profile(5)`+folder' defaults to the current folder`msg' defaults to the current message`-nodraftfolder'`-nouse'NoneIf whatnowproc is whatnow,then comp uses a built-in whatnow,it does not actually run the whatnow program.Hence, if you define your own whatnowproc,don't call it whatnow since comp won't run it.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
This document was created byman2html,using the manual pages.