1 .TH WHATNOW %manext1% "January 17, 2014" "%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 message as MIME attachments; -v displays
113 the mhbuild directive that
116 .TP \w'refilezzzzfolderz'u
118 list the MIME attachments, either short, long [-l] or numbered [-n]
119 .TP \w'refilezzzzfolderz'u
120 .B detach [-n] files-or-numbers
121 remove MIME attachments, either by file name or by number with -n
124 When entering your response, you need only type enough characters
125 to uniquely identify the response.
129 response, any valid switch to the editor is valid.
135 responses, any valid switch to
147 response, any valid switch to
153 response, any valid switch to the
161 responses, any valid argument to
164 is valid. If any non\-switch arguments are present, then
165 the pathname of the draft will be excluded from the argument list given
168 (this is useful for listing another
174 for further information about how editors
177 It also discusses how environment variables can be
180 actions in complex ways.
185 switch sets the prompting string for
197 draft folder facility. This is an advanced (and highly
198 useful) feature. Consult the
205 was configured with readline enabled, you'll be able to use filename
206 completion and other readline features at the prompt. These are
207 particularly useful with the
213 commands for managing MIME attachments.
217 .ta \w'%etcdir%/ExtraBigFileName 'u
218 ^$HOME/\&.mh\(ruprofile~^The user profile
219 ^<mh\-dir>/draft~^The draft file
221 .SH "PROFILE COMPONENTS"
225 .ta \w'ExtraBigProfileName 'u
226 ^Path:~^To determine the user's nmh directory
227 ^Draft\-Folder:~^To find the default draft\-folder
228 ^Editor:~^To override the default editor
229 ^<lasteditor>\-next:~^To name an editor to be used after exit
231 ^automimeproc:~^If value is 1, and the draft is a MIME
232 ^~^composition file, then automatically call
233 ^~^buildmimeproc prior to sending.
234 ^buildmimeproc:~^Program to translate MIME composition files
235 ^fileproc:~^Program to refile the message
236 ^lproc:~^Program to list the contents of a message
237 ^sendproc:~^Program to use to send the message
238 ^whomproc:~^Program to determine who a message would go to
245 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
246 .RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(rq"
249 If the initial edit fails,
251 deletes your draft (by renaming
252 it with a site-dependent prefix (usually a comma);
253 failure of a later edit preserves the draft.
257 fails (returns a nonzero status),
259 simply prints a \*(lqWhat now?\*(rq prompt.
263 to tell the user that something went wrong.
277 and do not actually run the
279 program. Hence, if you define your own
283 since it won't be run.
293 it does not actually run the