Factor trim format function out
[mmh] / man / dist.man1
index 8bcec7d..773663b 100644 (file)
@@ -15,11 +15,9 @@ dist \- redistribute a message to additional addresses
 .RB [ \-annotate " | " \-noannotate ]
 .RB [ \-editor
 .IR editor ]
-.RB [ \-noedit ]
 .RB [ \-whatnowproc
 .IR program ]
-.RB [ \-nowhatnowproc ]
-.RB [ \-version ]
+.RB [ \-Version ]
 .RB [ \-help ]
 .ad
 .SH DESCRIPTION
@@ -39,7 +37,7 @@ The default message form contains the following elements:
 .RE
 .PP
 If a file named
-.RI \*(lq distcomps \*(rq
+.RI ` distcomps '
 exists in the user's mmh directory, it
 will be used instead of this default form.  You may specify an alternate
 forms file with the switch
@@ -48,18 +46,18 @@ forms file with the switch
 The form used will be prepended to the message being resent.
 .PP
 Only those addresses in
-.RI \*(lq Resent\-To: \*(rq,
-.RI \*(lq Resent\-Cc: \*(rq,
+.RI ` Resent\-To: ',
+.RI ` Resent\-Cc: ',
 and
-.RI \*(lq Resent\-Bcc: \*(rq
+.RI ` Resent\-Bcc: '
 will be sent.  Also, a
-.RI \*(lq "Resent\-Fcc: folder" \*(rq
+.RI ` "Resent\-Fcc: folder" '
 will be honored (see
 .BR send (1)).
 Note that with
 .BR dist ,
 the draft should contain only
-.RI \*(lq Resent\-xxx: \*(rq
+.RI ` Resent\-xxx: '
 fields and no body.  The headers and the body of
 the original message are copied to the draft when the message is sent.
 Use care in constructing the headers for the redistribution.
@@ -75,8 +73,8 @@ This annotation will be done only if the message is sent directly from
 .BR dist .
 If the message is not sent immediately from
 .BR dist ,
-.RB \*(lq comp
-.BR \-use \*(rq
+.RB ` comp
+.BR \-use '
 may be used to re\-edit and send the constructed
 message, but the annotations won't take place.  Annotations are always
 done inplace in order to preserve any links to the message.
@@ -85,14 +83,9 @@ See
 .BR comp (1)
 for a description of the
 .B \-editor
-and
-.B \-noedit
-switches.  Note that while in the editor, the message being resent
-is available through a link named \*(lq@\*(rq (assuming the default
-.IR whatnowproc ).
-In addition, the actual pathname of the message is
-stored in the environment variable
-.BR $editalt ,
+switch.  Note that while in the editor, the actual pathname of the
+message being resent is stored in the environment variable
+.BR $mhaltmsg ,
 and the pathname of
 the folder containing the message is stored in the environment variable
 .BR $mhfolder .
@@ -107,14 +100,7 @@ will invoke the
 .B whatnow
 program.  See
 .BR whatnow (1)
-for a discussion of available options.  The invocation of this
-program can be inhibited by using the
-.B \-nowhatnowproc
-switch.  (In truth of fact, it is the
-.B whatnow
-program which starts the initial edit.  Hence,
-.B \-nowhatnowproc
-will prevent any edit from occurring.)
+for a discussion of available options.
 
 .SH FILES
 .fc ^ ~
@@ -135,8 +121,7 @@ will prevent any edit from occurring.)
 ^Current\-Folder:~^To find the default current folder
 ^Draft\-Folder:~^To set the default draft\-folder
 ^Editor:~^To override the default editor
-^fileproc:~^Program to refile the message
-^whatnowproc:~^Program to ask the \*(lqWhat now?\*(rq questions
+^whatnowproc:~^Program to ask the `What now?' questions
 .fi
 
 .SH "SEE ALSO"
@@ -145,7 +130,7 @@ comp(1), forw(1), repl(1), send(1), whatnow(1)
 .SH DEFAULTS
 .nf
 .RB ` +folder "' defaults to the current folder"
-.RB ` msg "' defaults to cur"
+.RB ` msg "' defaults to the current message"
 .RB ` \-noannotate '
 .fi
 
@@ -156,17 +141,18 @@ distributed will become the current message.
 .SH HISTORY
 .B Dist
 originally used headers of the form
-.RI \*(lq Distribute\-xxx: \*(rq
+.RI ` Distribute\-xxx: '
 instead of
-.RI \*(lq Resent\-xxx: \*(rq.
+.RI ` Resent\-xxx: '.
 In order to conform with the ARPA Internet standard, RFC\-822, the
-.RI \*(lq Resent\-xxx: \*(rq
+.RI ` Resent\-xxx: '
 form is now used.
-.B Dist
-will recognize
-.RI \*(lq Distribute\-xxx: \*(rq
-type headers and automatically convert them to
-.RI \*(lq Resent\-xxx: \*(rq.
+Since
+.B mmh
+.B dist
+will no longer recognize and convert
+.RI ` Distribute\-xxx: '
+type headers.
 
 .SH BUGS
 .B Dist
@@ -180,25 +166,3 @@ does.  The
 program will balk (and rightly so) at poorly formatted messages, and
 .B dist
 won't correct things for you.
-.PP
-If
-.I whatnowproc
-is
-.BR whatnow ,
-then
-.B comp
-uses a built\-in
-.BR whatnow ,
-it does not actually run the
-.B whatnow
-program.
-Hence, if you define your own
-.IR whatnowproc ,
-don't call it
-.B whatnow
-since
-.B comp
-won't run it.
-.PP
-If your current working directory is not writable, the link named
-\*(lq@\*(rq is not available.