1 .TH WHATNOW %manext1% "December 13, 2013" "%nmhversion%"
6 whatnow \- prompting front-end for sending messages
15 .RB [ \-nodraftfolder ]
25 .IR header-field-name ]
30 is the default program that queries the user about
31 the disposition of a composed draft. It is normally automatically
40 after the initial edit.
42 When started, the editor is started on the draft (unless
44 is given, in which case the initial edit is suppressed). Then,
46 repetitively prompts the user with \*(lqWhat now?\*(rq
47 and awaits a response. The valid responses are:
50 .TP \w'refilezzzzfolderz'u
52 re\-edit using the same editor that was used on the
53 preceding round unless a profile entry
54 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
55 .TP \w'refilezzzzfolderz'u
57 invoke <editor> for further editing
58 .TP \w'refilezzzzfolderz'u
60 refile the draft into the given folder
61 .TP \w'refilezzzzfolderz'u
63 process the draft as MIME composition file using
69 .TP \w'refilezzzzfolderz'u
71 list the message being distributed/replied\-to
73 .TP \w'refilezzzzfolderz'u
75 list the draft on the terminal
76 .TP \w'refilezzzzfolderz'u
79 .TP \w'refilezzzzfolderz'u
81 send the message and monitor the delivery process
82 .TP \w'refilezzzzfolderz'u
84 send the message in the background
85 .TP \w'refilezzzzfolderz'u
87 list the addresses that the message will go to
88 .TP \w'refilezzzzfolderz'u
90 list the addresses and verify that they are
91 acceptable to the transport service
92 .TP \w'refilezzzzfolderz'u
94 preserve the draft and exit
95 .TP \w'refilezzzzfolderz'u
97 delete the draft and exit
98 .TP \w'refilezzzzfolderz'u
100 delete the draft and exit
101 .TP \w'refilezzzzfolderz'u
103 use the directory when interpreting attachment file names
104 .TP \w'refilezzzzfolderz'u
106 print the working directory for attachment files
107 .TP \w'refilezzzzfolderz'u
109 list files in the attachment working directory using the ls command
110 .TP \w'refilezzzzfolderz'u
112 add the named files to the draft as MIME attachments
113 .TP \w'refilezzzzfolderz'u
115 list the MIME attachments, either short, long [-l] or numbered [-n]
116 .TP \w'refilezzzzfolderz'u
117 .B detach [-n] files-or-numbers
118 remove MIME attachments, either by file name or by number with -n
121 When entering your response, you need only type enough characters
122 to uniquely identify the response.
126 response, any valid switch to the editor is valid.
132 responses, any valid switch to
144 response, any valid switch to
150 response, any valid switch to the
158 responses, any valid argument to
161 is valid. If any non\-switch arguments are present, then
162 the pathname of the draft will be excluded from the argument list given
165 (this is useful for listing another
171 for further information about how editors
174 It also discusses how environment variables can be
177 actions in complex ways.
182 switch sets the prompting string for
194 draft folder facility. This is an advanced (and highly
195 useful) feature. Consult the
202 was configured with readline enabled, you'll be able to use filename
203 completion and other readline features at the prompt. These are
204 particularly useful with the
210 commands for managing MIME attachments.
214 .ta \w'%etcdir%/ExtraBigFileName 'u
215 ^$HOME/\&.mh\(ruprofile~^The user profile
216 ^<mh\-dir>/draft~^The draft file
218 .SH "PROFILE COMPONENTS"
222 .ta \w'ExtraBigProfileName 'u
223 ^Path:~^To determine the user's nmh directory
224 ^Draft\-Folder:~^To find the default draft\-folder
225 ^Editor:~^To override the default editor
226 ^<lasteditor>\-next:~^To name an editor to be used after exit
228 ^automimeproc:~^If value is 1, and the draft is a MIME
229 ^~^composition file, then automatically call
230 ^~^buildmimeproc prior to sending.
231 ^buildmimeproc:~^Program to translate MIME composition files
232 ^fileproc:~^Program to refile the message
233 ^lproc:~^Program to list the contents of a message
234 ^sendproc:~^Program to use to send the message
235 ^whomproc:~^Program to determine who a message would go to
242 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
243 .RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(rq"
246 If the initial edit fails,
248 deletes your draft (by renaming
249 it with a site-dependent prefix (usually a comma);
250 failure of a later edit preserves the draft.
254 fails (returns a nonzero status),
256 simply prints a \*(lqWhat now?\*(rq prompt.
260 to tell the user that something went wrong.
274 and do not actually run the
276 program. Hence, if you define your own
280 since it won't be run.
290 it does not actually run the