1 .TH FORW %manext1% "December 31, 2016" "%nmhversion%"
6 forw \- forward messages
15 .RB [ \-annotate " | " \-noannotate ]
18 .RB [ \-format " | " \-noformat ]
21 .RB [ \-inplace " | " \-noinplace ]
22 .RB [ \-mime " | " \-nomime ]
27 .RB [ \-nodraftfolder ]
45 .RB [ \-nowhatnowproc ]
46 .RB [ \-dashstuffing " | " \-nodashstuffing ]
62 [other\ switches\ for\
67 may be used to prepare a message containing other messages.
69 It constructs the new message from a forms (components) file, with a
70 body composed of the message(s) to be forwarded. An editor is invoked
73 and after editing is complete, the user is prompted
74 before the message is sent.
76 The default message template will direct
78 to construct the draft as follows:
82 From: {from switch} or <Local-Mailbox> or <username@hostname>
83 To: {to switch} or blank
84 Fcc: {fcc switch} or +outbox
85 Subject: {subject switch} or "{original subject} (fwd)"
91 .RI \*(lq forwcomps \*(rq
92 exists in the user's nmh directory,
93 it will be used instead of this default form. You may also specify an
94 alternate forms file with the switch
97 Forms are processed via the
101 for details. Components from the first forwarded message are available
102 as standard component escapes in the forms file.
104 In addition to the standard
106 escapes, the following
108 escapes are also supported:
112 .ta \w'nmh\-subject 'u +\w'Returns 'u
113 .I "Escape Returns Description"
114 fcc string Any folders specified with `\-fcc\ folder'
115 nmh\-from string Addresses specified with `\-from\ address'
116 nmh\-to string Addresses specified with `\-to\ address'
117 nmh\-cc string Addresses specified with `\-cc\ address'
118 nmh\-subject string Any text specified with `\-subject\ text'
122 By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may
123 add addresses to these fields with the
129 switches. You may give these switches multiple times to add multiple
132 By default the \*(lqFrom:\*(rq field has either the value of the
134 profile entry a system default email address. This default can be overridden
138 switch. The default mailbox in the \*(lqFcc:\*(rq field is
140 This can be overridden by the
144 Any text you give to the
146 switch will be placed in the \*(lqSubject:\*(rq field in the draft.
148 If the draft already exists,
150 will ask you as to the disposition
151 of the draft. A reply of
155 leaving the draft intact;
157 will replace the existing draft with a blank skeleton; and
159 will display the draft.
163 switch is given, each message being forwarded will
164 be annotated with the lines:
173 where each address list contains as many lines as required. This
174 annotation will be done only if the message is sent directly from
176 If the message is not sent immediately from
180 may be used to re\-edit and send the constructed
181 message, but the annotations won't take place. Normally annotations
182 are done inplace in order to preserve any links to the message. You may
183 change this by using the
189 for a description of the
197 uses a forms (components) file to direct it how to
198 construct the beginning of the draft, it uses a message filter file to
199 direct it as to how each forwarded message should be formatted in the
200 body of the draft. The filter file for \fIforw\fR should be a standard
207 to filter (re\-format) the forwarded messages prior to being output to
208 the body of the draft.
216 specify which message filter file to use.
220 is specified (this is the default), then each forwarded
221 message is output into the draft exactly as it appears with no
227 is specified, then a default message filter file is used.
228 This default message filter should be adequate for most users.
230 .RI \*(lq mhl.forward \*(rq
240 .RI \*(lq mhl.forward \*(rq
241 exists in the user's nmh
242 directory, it will be used instead of this form. You may specify an
243 alternate message filter file with the switch
247 Each forwarded message is separated with an encapsulation delimiter.
248 By default, any dashes in the first column of the forwarded messages
249 will be prepended with `\-\ ' so that when received, the message is
250 suitable for bursting by
252 This follows the Internet RFC 934 guidelines. You may use the flag
255 to suppress this form of quoting to the forwarded messages.
264 file, any commentary text is entered
265 before the forwarded messages. (A major win!)
267 To use the MIME rules for encapsulation, specify the
273 composition file. Note that
277 automatically; you must specifically give the command
285 prior to sending the draft.
295 draft folder facility. This is an advanced (and highly
296 useful) feature. Consult the
298 man page for more information.
303 switch indicates the editor to use for the
304 initial edit. Upon exiting from the editor,
311 available options. The invocation of this program can be inhibited
314 switch. (In truth of fact, it is
317 program which starts the initial edit. Hence,
319 will prevent any edit from occurring.)
323 switch is intended to be used by the Emacs mh-e interface to
326 .BR \-nowhatnowproc .
327 It causes a file <mh\-dir>/draft
328 to be created, containing the draft message that would normally be presented
329 to the user for editing.
330 No mail is actually sent.
335 switch specifies the message to be forwarded as an
336 exact filename rather than as an
338 folder and message number.
341 The forwarded message is simply
342 copied verbatim into the draft; the processing implied by
348 switches is bypassed, and the usual leading and
349 trailing 'Forwarded Message' delimiters are not added.
350 The same caveats apply to this option as to the
362 switches implement a digest facility for
364 Specifying these switches enables and/or overloads the following escapes:
368 .ta \w'Component 'u +\w'Escape 'u +\w'Returns 'u
369 .I "Type Escape Returns Description"
370 component digest string Argument to `\-digest'
371 function cur integer Argument to `\-volume'
372 function msg integer Argument to `\-issue'
377 looks for format and filter files in multiple locations: absolute
378 pathnames are accessed directly, tilde expansion is done on usernames,
379 and files are searched for in the user's
381 directory as specified in their profile. If not found there, the directory
382 .RI \*(lq %nmhetcdir% \*(rq
387 %nmhetcdir%/forwcomps
388 The default message skeleton.
391 The user's message skeleton.
393 %nmhetcdir%/digestcomps
394 The default message skeleton if
398 <mh\-dir>/digestcomps
403 ^%nmhetcdir%/mhl.forward
404 The default message filter.
406 <mh\-dir>/mhl.forward
407 The user's message filter.
412 .SH "PROFILE COMPONENTS"
416 To determine the user's nmh directory.
419 To find the default current folder.
422 To find the default draft\-folder.
425 To override the default editor.
428 To set mode when creating a new message (draft).
431 Program to refile the message.
434 Program to filter messages being forwarded.
437 Program to ask the \*(lqWhat now?\*(rq questions.
448 Proposed Standard for Message Encapsulation
472 If a folder is given, it will become the current folder.
473 The first message forwarded will become the current message.
483 it does not actually run the
486 Hence, if you define your own
496 is told to annotate the messages it forwards, it
497 doesn't actually annotate them until the draft is successfully sent.
504 it's possible to confuse
506 by re\-ordering the file (e.g.\& by using
509 before the message is successfully sent.
513 don't have this problem.