5 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
7 whatnow \- prompting front-end for sending messages
15 .RB [ \-nodraftfolder ]
26 is the default program that queries the user about
27 the disposition of a composed draft. It is normally automatically
36 after the initial edit.
38 When started, the editor is started on the draft (unless
40 is given, in which case the initial edit is suppressed). Then,
42 repetitively prompts the user with \*(lqWhat now?\*(rq
43 and awaits a response. The valid responses are:
46 .TP \w'refilezzfolderz'u
48 re\-edit using the same editor that was used on the
49 preceding round unless a profile entry
50 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
51 .TP \w'refilezzfolderz'u
53 invoke <editor> for further editing
54 .TP \w'refilezzfolderz'u
56 refile the draft into the given folder
57 .TP \w'refilezzfolderz'u
59 process the draft as MIME composition file using
65 .TP \w'refilezzfolderz'u
67 list the message being distributed/replied\-to
69 .TP \w'refilezzfolderz'u
71 list the draft on the terminal
72 .TP \w'refilezzfolderz'u
75 .TP \w'refilezzfolderz'u
77 send the message and monitor the delivery process
78 .TP \w'refilezzfolderz'u
80 send the message in the background
81 .TP \w'refilezzfolderz'u
83 list the addresses that the message will go to
84 .TP \w'refilezzfolderz'u
86 list the addresses and verify that they are
87 acceptable to the transport service
88 .TP \w'refilezzfolderz'u
90 preserve the draft and exit
91 .TP \w'refilezzfolderz'u
93 delete the draft and exit
94 .TP \w'refilezzfolderz'u
96 delete the draft and exit
99 When entering your response, you need only type enough characters
100 to uniquely identify the response.
104 response, any valid switch to the editor is valid.
110 responses, any valid switch to
122 response, any valid switch to
128 response, any valid switch to the
136 responses, any valid argument to
139 is valid. If any non\-switch arguments are present, then
140 the pathname of the draft will be excluded from the argument list given
143 (this is useful for listing another
149 for further information about how editors
152 It also discusses how environment variables can be
155 actions in complex ways.
160 switch sets the prompting string for
172 draft folder facility. This is an advanced (and highly
173 useful) feature. Consult the
181 .ta \w'/usr/local/nmh/etc/ExtraBigFileName 'u
182 ^$HOME/\&.mh\(ruprofile~^The user profile
183 ^<mh\-dir>/draft~^The draft file
186 .SH "PROFILE COMPONENTS"
190 .ta \w'ExtraBigProfileName 'u
191 ^Path:~^To determine the user's nmh directory
192 ^Draft\-Folder:~^To find the default draft\-folder
193 ^Editor:~^To override the default editor
194 ^<lasteditor>\-next:~^To name an editor to be used after exit
196 ^automimeproc:~^If value is 1, and the draft is a MIME
197 ^~^composition file, then automatically call
198 ^~^buildmimeproc prior to sending.
199 ^buildmimeproc:~^Program to translate MIME composition files
200 ^fileproc:~^Program to refile the message
201 ^lproc:~^Program to list the contents of a message
202 ^sendproc:~^Program to use to send the message
203 ^whomproc:~^Program to determine who a message would go to
211 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
220 switch must be interpreted as a single
221 token by the shell that invokes
224 usually place the argument to this switch inside double\-quotes.
226 If the initial edit fails,
228 deletes your draft (by renaming
229 it with a leading comma); failure of a later edit preserves the draft.
233 fails (returns a nonzero status),
235 simply prints a \*(lqWhat now?\*(rq prompt.
239 to tell the user that something went wrong.
253 and do not actually run the
255 program. Hence, if you define your own
259 since it won't be run.
269 it does not actually run the