1 .TH FORW %manext1% 2013-03-22 "%nmhversion%"
6 forw \- forward nmh 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 constructs a new message from a forms (components) file, with a body
68 composed of the message(s) to be forwarded. An editor is invoked
69 and, after editing is complete, the user is prompted before the
72 The default message template will direct
74 to construct the draft as follows:
78 From: {from switch} or <Local-Mailbox> or <username@hostname>
79 To: {to switch} or blank
80 Fcc: {fcc switch} or +outbox
81 Subject: {subject switch} or "{original subject} (fwd)"
87 .RI \*(lq forwcomps \*(rq
88 exists in the user's nmh directory,
89 it will be used instead of this default form. You may also specify an
90 alternate forms file with the switch
93 Forms are processed via the
97 for details. Components from the first forwarded message are available
98 as standard component escapes in the forms file.
100 In addition to the standard
102 escapes, the following
104 escapes are also supported:
108 .ta \w'nmh\-subject 'u +\w'Returns 'u
109 .I "Escape Returns Description"
110 fcc string Any folders specified with `\-fcc\ folder'
111 nmh\-from string Addresses specified with `\-from\ address'
112 nmh\-to string Addresses specified with `\-to\ address'
113 nmh\-cc string Addresses specified with `\-cc\ address'
114 nmh\-subject string Any text specified with `\-subject\ text'
118 By default, the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may
119 add addresses to these fields with the
125 switches. You may give these switches multiple times to add multiple
128 By default, the \*(lqFrom:\*(rq field contains either the value of the
130 profile entry, or a system default email address.
131 This default can be overridden by using the
134 switch. The default mailbox in the \*(lqFcc:\*(rq field is
136 This can be overridden by the
140 Any text given to the
142 switch will be placed in the \*(lqSubject:\*(rq field in the draft.
144 If the draft already exists,
146 will ask you as to the disposition of the draft. A reply of
150 leaving the draft intact;
152 will replace the existing draft with a blank skeleton; and
154 will display the draft.
158 switch is given, each message being forwarded will be annotated
168 where each address list contains as many lines as required.
169 This annotation will be done only if the message is sent directly from
171 If the message is not sent immediately from
175 may be used to re-edit and send the constructed message, but the
176 annotations won't take place. Normally, annotations are done in place
177 in order to preserve any links to the message.
178 You may change this by using the
184 for a description of the
192 uses a forms (components) file to construct the initial draft,
193 a message filter file is used to format each forwarded message in the
195 The filter file for \fIforw\fR should be a standard form file for
201 to filter (re-format) the forwarded messages prior to being output to
202 the body of the draft.
210 specify which message filter file to use. If
212 is specified (this is the default), then each forwarded
213 message is output into the draft exactly as it appears, with no
217 is specified, then the following default message filter file,
218 .RI \*(lq mhl.forward \*(rq ,
219 which should be adequate for most users, is used:
228 .RI \*(lq mhl.forward \*(rq
229 exists in the user's nmh
230 directory, it will be used instead. You may specify an
231 alternate message filter file with the switch
235 Each forwarded message is separated with an encapsulation delimiter.
236 By default, any dashes in the first column of the forwarded messages
237 will be prepended with `\-\ ' so that when received, the message is
238 suitable for bursting by
240 This follows the guidelines in RFC 934. You may use the
242 switch to suppress this form of quoting.
251 file, prepend any commentary text before the forwarded messages.
253 To use the MIME rules for encapsulation, specify the
259 composition file. Note that
263 automatically; you must specifically give the command
271 prior to sending the draft.
281 draft folder facility. This is an advanced (and highly useful) feature.
284 for more information.
289 switch indicates the editor to use for the initial edit.
290 Upon exiting from the editor,
298 The invocation of this program can be inhibited by using the
300 switch. (In fact, it is the
302 program which starts the initial edit. Hence,
304 will prevent any edit from occurring.)
308 switch is intended to be used by the Emacs mh-e interface to
311 .BR \-nowhatnowproc .
312 It causes a file <mh-dir>/draft
313 to be created, containing the draft message that would normally be
314 presented to the user for editing. No mail is actually sent.
319 switch specifies the message to be forwarded as an exact filename
322 folder and message number. This switch implies
324 The forwarded message is simply copied verbatim into the draft;
325 the processing implied by the
330 switches is bypassed, and the usual leading and
331 trailing 'Forwarded Message' delimiters are not added.
332 The same caveats apply to this option as to the
344 switches implement a digest facility for
346 Specifying these switches enables and/or overloads the following escapes:
350 .ta \w'Component 'u +\w'Escape 'u +\w'Returns 'u
351 .I "Type Escape Returns Description"
352 component digest string Argument to `\-digest'
353 function cur integer Argument to `\-volume'
354 function msg integer Argument to `\-issue'
359 looks for format and filter files in multiple locations: absolute
360 pathnames are accessed directly, tilde expansion is done on usernames,
361 and files are searched for in the user's
363 directory as specified in their profile. If not found there, the directory
364 .RI \*(lq %nmhetcdir% \*(rq
369 %nmhetcdir%/forwcomps
370 The default message skeleton.
373 The user's message skeleton.
375 %nmhetcdir%/digestcomps
376 The default message skeleton if
385 ^%nmhetcdir%/mhl.forward
386 The default message filter.
389 The user's message filter.
394 .SH "PROFILE COMPONENTS"
398 To determine the user's nmh directory.
401 To find the default current folder.
404 To find the default draft-folder.
407 To override the default editor.
410 To set mode when creating a new message (draft).
413 Program to refile the message.
416 Program to filter messages being forwarded.
419 Program to ask the \*(lqWhat now?\*(rq questions.
433 Proposed Standard for Message Encapsulation
457 If a folder is given, it will become the current folder.
458 The first message forwarded will become the current message.
468 it does not actually run the
471 Hence, if you define your own
481 is told to annotate the messages it forwards, it doesn't actually
482 annotate them until the draft is successfully sent.
489 it is possible to confuse
491 by re-ordering the file (e.g.\& by using
494 before the message is successfully sent.
498 don't have this problem.