4 .TH COMP %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 comp \- compose a message
15 .RB [ \-use " | " \-nouse ]
22 .RB [ \-nodraftfolder ]
38 .RB [ \-nowhatnowproc ]
44 is used to create a new message to be mailed. It copies a
45 message form to the draft being composed and then invokes an editor on
48 is given, in which case the initial edit is suppressed).
50 The default message template \*(lqcomponents\*(rq will direct
52 to construct the messgage draft as follows:
56 From: {from switch} or <Local-Mailbox> or <username@hostname>
57 To: {to switch} or blank
58 cc: {cc switch} or blank
59 Fcc: {fcc switch} or +outbox
66 .RI \*(lq components \*(rq
67 exists in the user's nmh directory,
68 it will be used instead of this form. You may specify an alternate
69 forms file with the switch
75 using the contents of an existing message
76 as the form. If you supply either a
81 message will be used as the message form. You may not supply both a
89 dashes or a blank line must be left between the header and the body of
90 the message for the message to be identified properly when it is sent
98 to continue editing an already
99 started message. That is, if a
106 is terminated without sending the draft, the draft can
114 switch says to use the named file as the message draft.
116 Forms that are selected via the
118 switch are processed via the mh template system; see
120 for details. Drafts constructed from another mssage or with the
124 switchs will NOT be processed with
127 In addition to the standard
133 escapes are either new or have an alternate meaning:
137 .ta \w'Escape 'u +\w'Returns 'u
138 .I Escape Returns Description
139 fcc string Any folders specified with `\-fcc\ folder'
140 from string Any addresses specified with `\-from\ address'
141 to string Any addresses specified with `\-to\ address'
142 cc string Any addresses specified with `\-cc\ address'
146 By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may
147 add addresses to these fields with the
153 switches. You may give these switches multiple times to add multiple
156 By default the \*(lqFrom:\*(rq field has either the value of the
158 profile entry or a system default email address. This default can be
159 overridden by using the
164 If the draft already exists,
166 will ask you as to the disposition
167 of the draft. A reply of
171 leaving the draft intact;
173 will replace the existing draft with
174 the appropriate form;
176 will display the draft;
178 will use the draft for further composition; and
181 will file the draft in the given folder, and give you a new draft with the
182 appropriate form. (The
196 draft folder facility. This is an advanced (and highly
197 useful) feature. Consult the
199 man page for more information.
204 switch indicates the editor to use for the
205 initial edit. Upon exiting from the editor,
212 available options. The invocation of this program can be inhibited
215 switch. (In truth of fact, it is
218 program which starts the initial edit. Hence,
220 will prevent any edit from occurring.)
225 .ta \w'%etcdir%/ExtraBigFileName 'u
226 ^%etcdir%/components~^The standard message skeleton
227 ^or <mh\-dir>/components~^Rather than the standard skeleton
228 ^$HOME/\&.mh\(ruprofile~^The user profile
229 ^<mh\-dir>/draft~^The draft file
232 .SH "PROFILE COMPONENTS"
236 .ta \w'ExtraBigProfileName 'u
237 ^Path:~^To determine the user's nmh directory
238 ^Draft\-Folder:~^To find the default draft\-folder
239 ^Editor:~^To override the default editor
240 ^Msg\-Protect:~^To set mode when creating a new message (draft)
241 ^fileproc:~^Program to refile the message
242 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
246 dist(1), forw(1), repl(1), send(1), whatnow(1), mh-profile(5)
250 .RB ` +folder "' defaults to the current folder"
251 .RB ` msg "' defaults to the current message"
252 .RB ` \-nodraftfolder '
268 it does not actually run the
271 Hence, if you define your own