.RI [ file ]
.RB [ \-version ]
.RB [ \-help ]
-.RB [ \-attach
-.IR header-field-name ]
.ad
.SH DESCRIPTION
.B Whatnow
.B refile +folder
refile the draft into the given folder
.TP \w'refilezzzzfolderz'u
-.B mime
-process the draft as MIME composition file using
-the
-.I buildmimeproc
-command
-.RB ( mhbuild
-by default)
-.TP \w'refilezzzzfolderz'u
.B display
list the message being distributed/replied\-to
on the terminal
.B quit
preserve the draft and exit
.TP \w'refilezzzzfolderz'u
-.B quit \-delete
-delete the draft and exit
-.TP \w'refilezzzzfolderz'u
.B delete
delete the draft and exit
.TP \w'refilezzzzfolderz'u
.B attach files
add the named files to the draft as MIME attachments
.TP \w'refilezzzzfolderz'u
-.B alist [-ln]
-list the MIME attachments, either short, long [-l] or numbered [-n]
+.B alist
+list the MIME attachments
.TP \w'refilezzzzfolderz'u
.B detach [-n] files-or-numbers
remove MIME attachments, either by file name or by number with -n
.I fileproc
is valid.
.PP
-For the
-.B display
-and
-.B list
-responses, any valid argument to
-the
-.I lproc
-is valid. If any non\-switch arguments are present, then
-the pathname of the draft will be excluded from the argument list given
-to the
-.I lproc
-(this is useful for listing another
-.B nmh
-message).
-.PP
See
.BR mh\-profile (5)
for further information about how editors
^Editor:~^To override the default editor
^<lasteditor>\-next:~^To name an editor to be used after exit
^~^from <lasteditor>
-^automimeproc:~^If value is 1, and the draft is a MIME
-^~^composition file, then automatically call
-^~^buildmimeproc prior to sending.
-^buildmimeproc:~^Program to translate MIME composition files
^fileproc:~^Program to refile the message
-^lproc:~^Program to list the contents of a message
-^sendproc:~^Program to use to send the message
+^listproc:~^Program to list the contents of a message
.fi
.SH "SEE ALSO"
None
.SH BUGS
-The argument to the
-.B \-prompt
-switch must be interpreted as a single
-token by the shell that invokes
-.BR whatnow .
-Therefore, one must
-usually place the argument to this switch inside double\-quotes.
-.PP
If the initial edit fails,
.B whatnow
deletes your draft (by renaming
it with a leading comma); failure of a later edit preserves the draft.
-.PP
-If the
-.I buildmimeproc
-fails (returns a nonzero status),
-.B whatnow
-simply prints a \*(lqWhat now?\*(rq prompt.
-.B whatnow
-depends on the
-.I buildmimeproc
-to tell the user that something went wrong.
-.PP
-If
-.I whatnowproc
-is
-.BR whatnow ,
-then
-.BR comp ,
-.BR dist ,
-.BR forw ,
-and
-.B repl
-use a built\-in
-.BR whatnow ,
-and do not actually run the
-.B whatnow
-program. Hence, if you define your own
-.IR whatnowproc ,
-don't call it
-.B whatnow
-since it won't be run.
-.PP
-If
-.I sendproc
-is
-.BR send ,
-then
-.B whatnow
-uses a built\-in
-.BR send ,
-it does not actually run the
-.B send
-program. Hence, if
-you define your own
-.IR sendproc ,
-don't call it
-.B send
-since
-.B whatnow
-won't run it.