1 .TH WHATNOW %manext1% 2014-01-23 "%nmhversion%"
6 whatnow \- prompting front-end for writing nmh messages
17 .RB [ \-nodraftfolder ]
27 is the default program that queries the user about
28 the disposition of a composed draft. It is normally automatically
37 after the initial edit.
39 When started, the editor is started on the draft (unless
41 is given, in which case the initial edit is suppressed). Then,
43 repetitively prompts the user with \*(lqWhat now?\*(rq
44 and awaits a response. The valid responses are:
47 .TP \w'refilezzzzfolderz'u
49 re-edit using the same editor that was used on the
50 preceding round unless a profile entry
51 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
52 .TP \w'refilezzzzfolderz'u
53 \fBedit\fP \fIeditor\fP
57 .TP \w'refilezzzzfolderz'u
58 \fBrefile\fP \fI+folder\fP
59 refile the draft into the given folder
60 .TP \w'refilezzzzfolderz'u
62 process the draft as MIME composition file using
68 .TP \w'refilezzzzfolderz'u
70 list the message being distributed/replied-to
72 .TP \w'refilezzzzfolderz'u
74 list the draft on the terminal
75 .TP \w'refilezzzzfolderz'u
78 .TP \w'refilezzzzfolderz'u
80 send the message and monitor the delivery process
81 .TP \w'refilezzzzfolderz'u
83 send the message in the background
84 .TP \w'refilezzzzfolderz'u
86 list the addresses that the message will go to
87 .TP \w'refilezzzzfolderz'u
89 list the addresses and verify that they are
90 acceptable to the transport service
91 .TP \w'refilezzzzfolderz'u
93 preserve the draft and exit
94 .TP \w'refilezzzzfolderz'u
96 delete the draft and exit
97 .TP \w'refilezzzzfolderz'u
99 delete the draft and exit
100 .TP \w'refilezzzzfolderz'u
101 \fBcd\fP \fIdirectory\fP
104 when interpreting attachment file names
105 .TP \w'refilezzzzfolderz'u
107 print the working directory for attachment files
108 .TP \w'refilezzzzfolderz'u
109 \fBls\fP [\fIls-options\fP\^]
110 list files in the attachment working directory using the ls command
111 .TP \w'refilezzzzfolderz'u
112 \fBattach [-v]\fP \fIfiles\fP
113 add the named files to the message as MIME attachments; -v displays
114 the mhbuild directive that
117 .TP \w'refilezzzzfolderz'u
119 list the MIME attachments, either short, long [-l] or numbered [-n]
120 .TP \w'refilezzzzfolderz'u
121 \fBdetach [-n]\fP \fIfiles-or-numbers\fP
122 remove MIME attachments, either by file name or by number with -n
125 When entering your response, you need only type enough characters
126 to uniquely identify the response.
130 response, any valid switch to the editor is valid.
136 responses, any valid switch to
148 response, any valid switch to
154 response, any valid switch to the
162 responses, any valid argument to
165 is valid. If any non-switch arguments are present, then
166 the pathname of the draft will be excluded from the argument list given
169 (this is useful for listing another
175 for further information about how editors
178 It also discusses how environment variables can be
181 actions in complex ways.
186 switch sets the prompting string for
198 draft folder facility. This is an advanced (and highly
199 useful) feature. Consult
206 was configured with readline enabled, you'll be able to use filename
207 completion and other readline features at the prompt. These are
208 particularly useful with the
214 commands for managing MIME attachments.
218 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
219 ^$HOME/.mh_profile~^The user profile
220 ^<mh-dir>/draft~^The draft file
222 .SH "PROFILE COMPONENTS"
226 .ta \w'ExtraBigProfileName 'u
227 ^Path:~^To determine the user's nmh directory
228 ^Draft\-Folder:~^To find the default draft-folder
229 ^Editor:~^To override the default editor
230 ^<lasteditor>\-next:~^To name an editor to be used after exit
232 ^buildmimeproc:~^Program to translate MIME composition files
233 ^fileproc:~^Program to refile the message
234 ^lproc:~^Program to list the contents of a message
235 ^sendproc:~^Program to use to send the message
236 ^whomproc:~^Program to determine who a message would go to
243 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(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