]> diplodocus.org Git - nmh/blobdiff - man/forw.man
new.c: Order two return statements to match comment.
[nmh] / man / forw.man
index 04bfadbda1f3f6e434715b47fd49f8c846f43686..d21fe580ab660947d588453eeb96caf977b953c9 100644 (file)
@@ -1,13 +1,15 @@
-.TH FORW %manext1% "October 10, 2014" "%nmhversion%"
-.\"
+.TH FORW %manext1% 2013-03-22 "%nmhversion%"
+.
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
-forw \- forward messages
+forw \- forward nmh messages
 .SH SYNOPSIS
 .HP 5
 .na
 .B forw
+.RB [ \-help ]
+.RB [ \-version ]
 .RI [ +folder ]
 .RI [ msgs ]
 .RB [ \-annotate " | " \-noannotate ]
@@ -27,7 +29,7 @@ forw \- forward messages
 .IR editor ]
 .RB [ \-noedit ]
 .RB [ \-width
-.IR colums ]
+.IR columns ]
 .RB [ \-from
 .IR address ]
 .RB [ \-to
@@ -45,11 +47,10 @@ forw \- forward messages
 .RB [ \-build ]
 .RB [ \-file
 .IR msgfile ]
-.RB [ \-version ]
-.RB [ \-help ]
-.PP
 .HP 5
 .B forw
+.RB [ \-help ]
+.RB [ \-version ]
 .RI [ +folder ]
 .RI [ msgs ]
 .RB [ \-digest
@@ -58,21 +59,15 @@ forw \- forward messages
 .IR number ]
 .RB [ \-volume
 .IR number ]
-[other\ switches\ for\ 
+[other\ switches\ for\
 .BR forw ]
-.RB [ \-version ]
-.RB [ \-help ]
 .ad
 .SH DESCRIPTION
-.B Forw
-may be used to prepare a message containing other messages.
-.PP
-It constructs the new message from a forms (components) file, with a
-body composed of the message(s) to be forwarded.  An editor is invoked
-as in
-.BR comp ,
-and after editing is complete, the user is prompted
-before the message is sent.
+.B forw
+constructs a new message from a forms (components) file, with a body
+composed of the message(s) to be forwarded.  An editor is invoked
+and, after editing is complete, the user is prompted before the
+message is sent.
 .PP
 The default message template will direct
 .B forw
@@ -103,7 +98,7 @@ for details.  Components from the first forwarded message are available
 as standard component escapes in the forms file.
 .PP
 In addition to the standard
-.IR mh\-format (5)
+.I mh\-format
 escapes, the following
 .I component
 escapes are also supported:
@@ -120,7 +115,7 @@ nmh\-subject        string  Any text specified with `\-subject\ text'
 .fi
 .RE
 .PP
-By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty.  You may
+By default, the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty.  You may
 add addresses to these fields with the
 .B \-to
 .I address
@@ -130,10 +125,10 @@ and
 switches.  You may give these switches multiple times to add multiple
 addresses.
 .PP
-By default the \*(lqFrom:\*(rq field has either the value of the
+By default, the \*(lqFrom:\*(rq field contains either the value of the
 .B Local\-Mailbox
-profile entry a system default email address.  This default can be overridden
-by using the
+profile entry, or a system default email address.
+This default can be overridden by using the
 .B \-from
 .I address
 switch.  The default mailbox in the \*(lqFcc:\*(rq field is
@@ -142,14 +137,13 @@ This can be overridden by the
 .B \-fcc
 switch.
 .PP
-Any text you give to the
+Any text given to the
 .B \-subject
 switch will be placed in the \*(lqSubject:\*(rq field in the draft.
 .PP
 If the draft already exists,
 .B forw
-will ask you as to the disposition
-of the draft.  A reply of
+will ask you as to the disposition of the draft.  A reply of
 .B quit
 will abort
 .BR forw ,
@@ -161,8 +155,8 @@ will display the draft.
 .PP
 If the
 .B \-annotate
-switch is given, each message being forwarded will
-be annotated with the lines:
+switch is given, each message being forwarded will be annotated
+with the lines:
 .PP
 .RS 5
 .nf
@@ -171,17 +165,17 @@ Forwarded:\ addrs
 .fi
 .RE
 .PP
-where each address list contains as many lines as required.  This
-annotation will be done only if the message is sent directly from
+where each address list contains as many lines as required.
+This annotation will be done only if the message is sent directly from
 .BR forw .
 If the message is not sent immediately from
 .BR forw ,
 .RB \*(lq comp
 .BR \-use \*(rq
-may be used to re\-edit and send the constructed
-message, but the annotations won't take place.  Normally annotations
-are done inplace in order to preserve any links to the message.  You may
-change this by using the
+may be used to re-edit and send the constructed message, but the
+annotations won't take place.  Normally, annotations are done in place
+in order to preserve any links to the message.
+You may change this by using the
 .B \-noinplace
 switch.
 .PP
@@ -195,17 +189,16 @@ switches.
 .PP
 Although
 .B forw
-uses a forms (components) file to direct it how to
-construct the beginning of the draft, it uses a message filter file to
-direct it as to how each forwarded message should be formatted in the
-body of the draft.  The filter file for \fIforw\fR should be a standard
-form file for
-.BR mhl ,
+uses a forms (components) file to construct the initial draft,
+a message filter file is used to format each forwarded message in the
+body of the draft.
+The filter file for \fIforw\fR should be a standard form file for
+.IR mhl (1),
 as
 .B forw
 will invoke
 .B mhl
-to filter (re\-format) the forwarded messages prior to being output to
+to filter (re-format) the forwarded messages prior to being output to
 the body of the draft.
 .PP
 The switches
@@ -214,22 +207,16 @@ The switches
 and
 .B \-filter
 .I filterfile
-specify which message filter file to use.
-.PP
-If
+specify which message filter file to use.  If
 .B \-noformat
 is specified (this is the default), then each forwarded
-message is output into the draft exactly as it appears with no
+message is output into the draft exactly as it appears, with no
 .B mhl
-filtering.
-.PP
-If
+filtering.  If
 .B \-format
-is specified, then a default message filter file is used.
-This default message filter should be adequate for most users.
-This default filter
-.RI \*(lq mhl.forward \*(rq
-is:
+is specified, then the following default message filter file,
+.RI \*(lq mhl.forward \*(rq ,
+which should be adequate for most users, is used:
 .PP
 .RS 5
 .nf
@@ -240,7 +227,7 @@ is:
 If a file named
 .RI \*(lq mhl.forward \*(rq
 exists in the user's nmh
-directory, it will be used instead of this form.  You may specify an
+directory, it will be used instead.  You may specify an
 alternate message filter file with the switch
 .B \-filter
 .IR filterfile .
@@ -249,29 +236,27 @@ Each forwarded message is separated with an encapsulation delimiter.
 By default, any dashes in the first column of the forwarded messages
 will be prepended with `\-\ ' so that when received, the message is
 suitable for bursting by
-.BR burst .
-This follows the Internet RFC 934 guidelines.  You may use the flag
+.IR burst (1).
+This follows the guidelines in RFC 934.  You may use the
 .B \-nodashstuffing
-in order
-to suppress this form of quoting to the forwarded messages.
+switch to suppress this form of quoting.
 .PP
-For users of
-.BR prompter ,
-by specifying
+Users of
+.IR prompter (1)
+can, by specifying
 .BR prompter 's
 .B \-prepend
 switch in the
-.I \&.mh\(ruprofile
-file, any commentary text is entered
-before the forwarded messages.  (A major win!)
+.I \&.mh_profile
+file, prepend any commentary text before the forwarded messages.
 .PP
 To use the MIME rules for encapsulation, specify the
 .B \-mime
-switch. This directs
+switch.  This directs
 .B forw
 to generate an
 .B mhbuild
-composition file. Note that
+composition file.  Note that
 .B nmh
 will not invoke
 .B mhbuild
@@ -293,27 +278,26 @@ and
 .I msg
 switches invoke the
 .B nmh
-draft folder facility.  This is an advanced (and highly
-useful) feature.  Consult the
+draft folder facility.  This is an advanced (and highly useful) feature.
+Consult
 .IR mh-draft (5)
-man page for more information.
+for more information.
 .PP
 The
 .B \-editor
 .I editor
-switch indicates the editor to use for the
-initial edit.  Upon exiting from the editor,
+switch indicates the editor to use for the initial edit.
+Upon exiting from the editor,
 .B comp
 will invoke the
 .B whatnow
 program.  See
 .IR whatnow (1)
 for a discussion of
-available options.  The invocation of this program can be inhibited
-by using the
+available options.
+The invocation of this program can be inhibited by using the
 .B \-nowhatnowproc
-switch.  (In truth of fact, it is
-the
+switch.  (In fact, it is the
 .I whatnow
 program which starts the initial edit.  Hence,
 .B \-nowhatnowproc
@@ -325,23 +309,20 @@ switch is intended to be used by the Emacs mh-e interface to
 .BR nmh .
 It implies
 .BR \-nowhatnowproc .
-It causes a file <mh\-dir>/draft
-to be created, containing the draft message that would normally be presented
-to the user for editing.
-No mail is actually sent.
+It causes a file <mh-dir>/draft
+to be created, containing the draft message that would normally be
+presented to the user for editing.  No mail is actually sent.
 .PP
 The
 .B \-file
 .I msgfile
-switch specifies the message to be forwarded as an
-exact filename rather than as an
+switch specifies the message to be forwarded as an exact filename
+rather than as an
 .B nmh
-folder and message number.
-This switch implies
+folder and message number.  This switch implies
 .BR \-noannotate .
-The forwarded message is simply
-copied verbatim into the draft; the processing implied by
-the
+The forwarded message is simply copied verbatim into the draft;
+the processing implied by the
 .BR \-filter ,
 .BR \-mime ,
 and
@@ -373,7 +354,6 @@ function    cur     integer Argument to `\-volume'
 function       msg     integer Argument to `\-issue'
 .fi
 .RE
-.PP
 .SH FILES
 .B forw
 looks for format and filter files in multiple locations: absolute
@@ -387,24 +367,26 @@ is checked.
 .PD 0
 .TP 25
 %nmhetcdir%/forwcomps
-The standard message skeleton.
+The default message skeleton.
 .TP
-<mh\-dir>/forwcomps
-Rather than the standard skeleton.
+<mh-dir>/forwcomps
+The user's message skeleton.
 .TP
 %nmhetcdir%/digestcomps
-The message skeleton if
+The default message skeleton if
 .B \-digest
 is given.
 .TP
-<mh\-dir>/digestcomps
-Rather than the standard skeleton.
+<mh-dir>/digestcomps
+The user's
+.B \-digest
+skeleton.
 .TP
 ^%nmhetcdir%/mhl.forward
-The standard message filter.
+The default message filter.
 .TP
-<mh\-dir>/mhl.forward
-Rather than the standard filter.
+<mh-dir>/mhl.forward
+The user's message filter.
 .TP
 ^$HOME/.mh_profile
 The user's profile.
@@ -419,7 +401,7 @@ Current\-Folder:
 To find the default current folder.
 .TP
 Draft\-Folder:
-To find the default draft\-folder.
+To find the default draft-folder.
 .TP
 Editor:
 To override the default editor.
@@ -437,12 +419,15 @@ whatnowproc:
 Program to ask the \*(lqWhat now?\*(rq questions.
 .PD
 .SH "SEE ALSO"
+.IR burst (1),
 .IR comp (1),
+.IR mh\-format (5),
 .IR mhbuild (1),
+.IR mhl (1),
+.IR prompter (1),
 .IR repl (1),
 .IR send (1),
-.IR whatnow (1),
-.IR mh\-format (5)
+.IR whatnow (1)
 .PP
 .I
 Proposed Standard for Message Encapsulation
@@ -478,7 +463,7 @@ is
 .BR whatnow ,
 then
 .B forw
-uses a built\-in
+uses a built-in
 .BR whatnow ,
 it does not actually run the
 .B whatnow
@@ -493,21 +478,21 @@ won't run it.
 .PP
 When
 .B forw
-is told to annotate the messages it forwards, it
-doesn't actually annotate them until the draft is successfully sent.
-If from the
+is told to annotate the messages it forwards, it doesn't actually
+annotate them until the draft is successfully sent.
+If, from the
 .IR whatnowproc ,
 you
 .B push
 instead of
 .BR send ,
-it's possible to confuse
+it is possible to confuse
 .B forw
-by re\-ordering the file (e.g. by using
+by re-ordering the file (e.g.\& by using
 .RB \*(lq folder
 .BR \-pack \*(rq)
 before the message is successfully sent.
-.B Dist
+.B dist
 and
 .B repl
 don't have this problem.