4 .TH FORW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 forw \- forward messages
13 .RB [ \-annotate " | " \-noannotate ]
16 .RB [ \-format " | " \-noformat ]
19 .RB [ \-inplace " | " \-noinplace ]
20 .RB [ \-mime " | " \-nomime ]
25 .RB [ \-nodraftfolder ]
43 .RB [ \-nowhatnowproc ]
44 .RB [ \-dashstuffing " | " \-nodashstuffing ]
61 [other\ switches\ for\
68 may be used to prepare a message containing other messages.
70 It constructs the new message from a forms (components) file, with a
71 body composed of the message(s) to be forwarded. An editor is invoked
74 and after editing is complete, the user is prompted
75 before the message is sent.
77 The default message template will direct
79 to construct the draft as follows:
83 From: {from switch} or <Local-Mailbox> or <username@hostname>
84 To: {to switch} or blank
85 Fcc: {fcc switch} or +outbox
86 Subject: {subject switch} or "{original subject} (fwd)"
92 .RI \*(lq forwcomps \*(rq
93 exists in the user's nmh directory,
94 it will be used instead of this default form. You may also specify an
95 alternate forms file with the switch
98 Forms are processed via the
102 for details. Components from the first forwarded message are available
103 as standard component escapes in the forms file.
105 In addition to the standard
107 escapes, the following
109 escapes are also supported:
113 .ta \w'nmh\-subject 'u +\w'Returns 'u
114 .I Escape Returns Description
115 fcc string Any folders specified with `\-fcc\ folder'
116 nmh\-from string Addresses specified with `\-from\ address'
117 nmh\-to string Addresses specified with `\-to\ address'
118 nmh\-cc string Addresses specified with `\-cc\ address'
119 nmh\-subject string Any text specified with `\-subject\ text'
123 If the draft already exists,
125 will ask you as to the disposition
126 of the draft. A reply of
130 leaving the draft intact;
132 will replace the existing draft with a blank skeleton; and
134 will display the draft.
138 switch is given, each message being forwarded will
139 be annotated with the lines:
148 where each address list contains as many lines as required. This
149 annotation will be done only if the message is sent directly from
151 If the message is not sent immediately from
155 may be used to re\-edit and send the constructed
156 message, but the annotations won't take place. Normally annotations
157 are done inplace in order to preserve any links to the message. You may
158 change this by using the
164 for a description of the
172 uses a forms (components) file to direct it how to
173 construct the beginning of the draft, it uses a message filter file to
174 direct it as to how each forwarded message should be formatted in the
175 body of the draft. The filter file for \fIforw\fR should be a standard
182 to filter (re\-format) the forwarded messages prior to being output to
183 the body of the draft.
191 specify which message filter file to use.
195 is specified (this is the default), then each forwarded
196 message is output into the draft exactly as it appears with no
202 is specified, then a default message filter file is used.
203 This default message filter should be adequate for most users.
205 .RI \*(lq mhl.forward \*(rq
215 .RI \*(lq mhl.forward \*(rq
216 exists in the user's nmh
217 directory, it will be used instead of this form. You may specify an
218 alternate message filter file with the switch
222 Each forwarded message is separated with an encapsulation delimiter.
223 By default, any dashes in the first column of the forwarded messages
224 will be prepended with `\-\ ' so that when received, the message is
225 suitable for bursting by
227 This follows the Internet RFC\-934 guidelines. You may use the flag
230 to suppress this form of quoting to the forwarded messages.
239 file, any commentary text is entered
240 before the forwarded messages. (A major win!)
242 To use the MIME rules for encapsulation, specify the
248 composition file. Note that
252 automatically, unless you
253 add this line to your
263 Otherwise, you must specifically give the command
271 prior to sending the draft.
281 draft folder facility. This is an advanced (and highly
282 useful) feature. Consult the
284 man page for more information.
289 switch indicates the editor to use for the
290 initial edit. Upon exiting from the editor,
297 available options. The invocation of this program can be inhibited
300 switch. (In truth of fact, it is
303 program which starts the initial edit. Hence,
305 will prevent any edit from occurring.)
309 switch is intended to be used by the Emacs mh-e interface to
312 .BR \-nowhatnowproc .
313 It causes a file <mh\-dir>/draft
314 to be created, containing the draft message that would normally be presented
315 to the user for editing.
316 No mail is actually sent.
321 switch specifies the message to be forwarded as an
322 exact filename rather than as an
324 folder and message number. It is
325 intended to be used by the
331 The forwarded message is simply
332 copied verbatim into the draft; the processing implied by
338 switches is bypassed, and the usual leading and
339 trailing 'Forwarded Message' delimiters are not added.
340 The same caveats apply to this option as to the
352 switches implement a digest facility for
354 Specifying these switches enables and/or overloads the following escapes:
358 .ta \w'Component 'u +\w'Escape 'u +\w'Returns 'u
359 .I Type Escape Returns Description
360 component digest string Argument to `\-digest'
361 function cur integer Argument to `\-volume'
362 function msg integer Argument to `\-issue'
367 .I "Advanced Features"
370 User's Manual for more information on making digests.
375 .ta \w'%etcdir%/ExtraBigFileName 'u
376 ^%etcdir%/forwcomps~^The standard message skeleton
377 ^or <mh\-dir>/forwcomps~^Rather than the standard skeleton
378 ^%etcdir%/digestcomps~^The message skeleton if `\-digest' is given
379 ^or <mh\-dir>/digestcomps~^Rather than the standard skeleton
380 ^%etcdir%/mhl.forward~^The standard message filter
381 ^or <mh\-dir>/mhl.forward~^Rather than the standard filter
382 ^$HOME/\&.mh\(ruprofile~^The user profile
383 ^<mh\-dir>/draft~^The draft file
386 .SH "PROFILE COMPONENTS"
390 .ta \w'ExtraBigProfileName 'u
391 ^Path:~^To determine the user's nmh directory
392 ^Current\-Folder:~^To find the default current folder
393 ^Draft\-Folder:~^To find the default draft\-folder
394 ^Editor:~^To override the default editor
395 ^Msg\-Protect:~^To set mode when creating a new message (draft)
396 ^fileproc:~^Program to refile the message
397 ^mhlproc:~^Program to filter messages being forwarded
398 ^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
402 mhbuild(1), comp(1), repl(1), send(1), whatnow(1), mh\-format(5),
403 .I "Proposed Standard for Message Encapsulation"
408 .RB ` +folder "' defaults to the current folder"
409 .RB ` msgs "' defaults to cur"
411 .RB ` \-nodraftfolder '
414 .RB ` \-dashstuffing '
419 If a folder is given, it will become the current folder.
420 The first message forwarded will become the current message.
431 it does not actually run the
434 Hence, if you define your own
444 is told to annotate the messages it forwards, it
445 doesn't actually annotate them until the draft is successfully sent.
452 it's possible to confuse
454 by re\-ordering the file (e.g. by using
457 before the message is successfully sent.
461 don't have this problem.