3 comp \- compose a message
8 .B \-editor\ \fReditor] \%[
9 .B \-form\ \fRformfile] \%[file] \%[
18 \fIComp\fP is used to create a new message to be mailed.
20 \fIfile\fP is not specified, the file named ``draft'' in the user's MH
21 directory will be used.
22 \fIComp\fR copies a message form to
23 the file being composed and then invokes an editor on the
25 The default editor is /bin/e, which may be overridden with
26 the `\-editor' switch or with a profile entry ``Editor:''.
29 message form contains the following elements:
36 If the file named ``components'' exists in the user's MH directory,
37 it will be used instead of this form.
39 formfile' is specified, the specified formfile (from the MH
40 directory) will be used as the skeleton.
42 or a blank line must be left between the header and the
43 body of the message for the message to be identified properly when it is
44 sent (see \fIsend(1)\fR).
45 The switch `\-use' directs \fIcomp\fR to
46 continue editing an already started message.
48 \fIcomp\fR (or \fIdist\fR, \fIrepl\fR, or \fIforw\fR) is terminated without
49 sending the message, the message can be edited again via
52 If the specified file (or draft) already exists, \fIcomp\fR will ask
53 if you want to delete it before continuing.
54 A reply of \fBNo\fR will abort the
55 \fIcomp\fR, \fByes\fR will replace the existing draft with a blank
56 skeleton, \fBlist\fR will display the draft, and \fBuse\fR will use it
57 for further composition.
59 Upon exiting from the editor, \fIcomp\fR will ask ``What now?''.
61 responses are \fBlist\fR, to list the draft on the terminal; \fBquit\fR, to
62 terminate the session and preserve the draft; \fBquit delete\fR, to terminate,
63 then delete the draft; \fBsend\fR, to send the message; \fBsend verbose\fR, to
64 cause the delivery process to be monitored; \fBedit <editor>\fR, to invoke
65 <editor> for further editing; and \fBedit\fR, to re-edit using the
66 same editor that was used on the preceding round unless a profile
67 entry ``<lasteditor>\-next: <editor>'' names an alternative editor.
69 See \fImh-profile(5)\fR for further information
70 about the how editors are used by MH.
73 /etc/mh/components The message skeleton
75 or <mh-dir>/components Rather than the standard
77 $HOME/\*.mh\(ruprofile The user profile
79 <mh-dir>/draft The default message file
81 /usr/bin/send To send the composed message
83 Path: To determine the user's MH directory
85 Editor: To override the default editor
87 <lasteditor>\-next: To name an editor to be used
88 after exit from <lasteditor>
89 sendproc: Program to use to send the message
91 send(1), dist(1), repl(1)
93 `file' defaults to draft
95 `\-editor' defaults to /bin/e
99 \fIComp\fR does not affect either the current folder or the current messa