1 .TH WHATNOW %manext1% "January 17, 2014" "%nmhversion%"
6 whatnow \- prompting front-end for sending messages
15 .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
54 invoke <editor> for further editing
55 .TP \w'refilezzzzfolderz'u
57 refile the draft into the given folder
58 .TP \w'refilezzzzfolderz'u
60 process the draft as MIME composition file using
66 .TP \w'refilezzzzfolderz'u
68 list the message being distributed/replied\-to
70 .TP \w'refilezzzzfolderz'u
72 list the draft on the terminal
73 .TP \w'refilezzzzfolderz'u
76 .TP \w'refilezzzzfolderz'u
78 send the message and monitor the delivery process
79 .TP \w'refilezzzzfolderz'u
81 send the message in the background
82 .TP \w'refilezzzzfolderz'u
84 list the addresses that the message will go to
85 .TP \w'refilezzzzfolderz'u
87 list the addresses and verify that they are
88 acceptable to the transport service
89 .TP \w'refilezzzzfolderz'u
91 preserve the draft and exit
92 .TP \w'refilezzzzfolderz'u
94 delete the draft and exit
95 .TP \w'refilezzzzfolderz'u
97 delete the draft and exit
98 .TP \w'refilezzzzfolderz'u
100 use the directory when interpreting attachment file names
101 .TP \w'refilezzzzfolderz'u
103 print the working directory for attachment files
104 .TP \w'refilezzzzfolderz'u
106 list files in the attachment working directory using the ls command
107 .TP \w'refilezzzzfolderz'u
109 add the named files to the message as MIME attachments; -v displays
110 the mhbuild directive that
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'%nmhetcdir%/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 ^buildmimeproc:~^Program to translate MIME composition files
229 ^fileproc:~^Program to refile the message
230 ^lproc:~^Program to list the contents of a message
231 ^sendproc:~^Program to use to send the message
232 ^whomproc:~^Program to determine who a message would go to
239 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
242 If the initial edit fails,
244 deletes your draft (by renaming
245 it with a site-dependent prefix (usually a comma);
246 failure of a later edit preserves the draft.
250 fails (returns a nonzero status),
252 simply prints a \*(lqWhat now?\*(rq prompt.
256 to tell the user that something went wrong.
270 and do not actually run the
272 program. Hence, if you define your own
276 since it won't be run.
286 it does not actually run the