]> diplodocus.org Git - nmh/blobdiff - man/repl.man
fgets() reserves space for the NUL itself.
[nmh] / man / repl.man
index af41525bc7380ebc238a5550bcd74a866712ce0b..1049dd3f43359a395b181aa8814b5725c8b35aeb 100644 (file)
@@ -1,4 +1,4 @@
-.TH REPL %manext1% "April 18, 2014" "%nmhversion%"
+.TH REPL %manext1% "October 15, 2016" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
@@ -8,8 +8,10 @@ repl \- reply to a message
 .HP 5
 .na
 .B repl
+.RB [ \-help ]
+.RB [ \-version ]
 .RI [ +folder ]
-.RI [ msgs ]
+.RI [ msg ]
 .RB [ \-annotate " | " \-noannotate ]
 .RB [ \-group " | " \-nogroup ]
 .RB [ \-cc
@@ -36,6 +38,8 @@ all/to/cc/me]
 .RB [ \-editor
 .IR editor ]
 .RB [ \-noedit ]
+.RB [ \-convertargs
+.IR "type argstring" ]
 .RB [ \-whatnowproc
 .IR program ]
 .RB [ \-nowhatnowproc ]
@@ -47,11 +51,9 @@ all/to/cc/me]
 .RB [ \-build ]
 .RB [ \-file
 .IR msgfile ]
-.RB [ \-version ]
-.RB [ \-help ]
 .ad
 .SH DESCRIPTION
-.B Repl
+.B repl
 may be used to produce a reply to an existing message.
 .PP
 In its simplest form (with no arguments),
@@ -179,15 +181,8 @@ switch modifies the action of
 switch by
 interactively asking you if each address that normally would be placed in
 the \*(lqTo:\*(rq and \*(lqcc:\*(rq list should actually be sent a copy.
-This is useful for special\-purpose replies.  The prompt format is
-.PP
-.RS 5
-Reply to
-.IR address ?
-.RE
-.PP
-That prompt will not change, so that scripts can rely on it.  Note
-that the position of the
+This is useful for special\-purpose replies.  Note that the position of
+the
 .B \-cc
 and
 .B \-nocc
@@ -241,6 +236,27 @@ and
 .B \-noatfile
 options.
 .PP
+The
+.B \-convertargs
+switch directs
+.B repl
+to pass the arguments for
+.I type
+to
+.BR mhbuild .
+Both arguments are required;
+.I type
+must be non-empty while
+.I argstring
+can be empty, e.g., '' in a shell command line.  The
+.B \-convertargs
+switch can be used multiple times.
+See the Convert Interface section of the
+.B mhbuild
+man page for description of the convert mechanism, and
+.I %docdir%/contrib/replaliases
+for examples of its use.
+.PP
 Although
 .B repl
 uses a forms file to direct it how to construct
@@ -267,7 +283,9 @@ which message filter file to use.
 .PP
 If the switch
 .B \-noformat
-is given (it is the default), then the message
+is given (it is the default) and the
+.B \-filter
+switch is not used, then the message
 to which you are replying is not included in the body of the draft.
 .PP
 If the switch
@@ -484,17 +502,17 @@ absolute pathnames are accessed directly, tilde expansion is done on
 usernames, and files are searched for in the user's
 .I Mail
 directory as specified in their profile.  If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
 is checked.
 .PP
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/replcomps~^The standard reply template
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/replcomps~^The standard reply template
 ^or <mh\-dir>/replcomps~^Rather than the standard template
-^%etcdir%/replgroupcomps~^The standard `reply -group' template
+^%nmhetcdir%/replgroupcomps~^The standard `reply -group' template
 ^or <mh\-dir>/replgroupcomps~^Rather than the standard template
-^%etcdir%/mhl.reply~^The standard message filter
+^%nmhetcdir%/mhl.reply~^The standard message filter
 ^or <mh\-dir>/mhl.reply~^Rather than the standard filter
 ^$HOME/\&.mh\(ruprofile~^The user profile
 ^<mh\-dir>/draft~^The draft file
@@ -521,6 +539,8 @@ is checked.
 .IR send (1),
 .IR whatnow (1),
 .IR mh\-format (5)
+.PP
+.I %docdir%/contrib/replaliases
 .SH DEFAULTS
 .nf
 .RB ` +folder "' defaults to the current folder"