5 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
7 whatnow \- prompting front-end for sending messages
16 .RB [ \-nodraftfolder ]
28 is the default program that queries the user about
29 the disposition of a composed draft. It is normally automatically
38 after the initial edit.
40 When started, the editor is started on the draft (unless
42 is given, in which case the initial edit is suppressed). Then,
44 repetitively prompts the user with \*(lqWhat now?\*(rq
45 and awaits a response. The valid responses are:
48 .TP \w'refilezzfolderz'u
50 re\-edit using the same editor that was used on the
51 preceding round unless a profile entry
52 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
53 .TP \w'refilezzfolderz'u
55 invoke <editor> for further editing
56 .TP \w'refilezzfolderz'u
58 refile the draft into the given folder
59 .TP \w'refilezzfolderz'u
61 process the draft as MIME composition file using
67 .TP \w'refilezzfolderz'u
69 list the message being distributed/replied\-to
71 .TP \w'refilezzfolderz'u
73 list the draft on the terminal
74 .TP \w'refilezzfolderz'u
77 .TP \w'refilezzfolderz'u
79 send the message and monitor the delivery process
80 .TP \w'refilezzfolderz'u
82 send the message in the background
83 .TP \w'refilezzfolderz'u
85 list the addresses that the message will go to
86 .TP \w'refilezzfolderz'u
88 list the addresses and verify that they are
89 acceptable to the transport service
90 .TP \w'refilezzfolderz'u
92 preserve the draft and exit
93 .TP \w'refilezzfolderz'u
95 delete the draft and exit
96 .TP \w'refilezzfolderz'u
98 delete the draft and exit
101 When entering your response, you need only type enough characters
102 to uniquely identify the response.
106 response, any valid switch to the editor is valid.
112 responses, any valid switch to
124 response, any valid switch to
130 response, any valid switch to the
138 responses, any valid argument to
141 is valid. If any non\-switch arguments are present, then
142 the pathname of the draft will be excluded from the argument list given
145 (this is useful for listing another
151 for further information about how editors
154 It also discusses how environment variables can be
157 actions in complex ways.
162 switch sets the prompting string for
174 draft folder facility. This is an advanced (and highly
175 useful) feature. Consult the
183 .ta \w'%etcdir%/ExtraBigFileName 'u
184 ^$HOME/\&.mh\(ruprofile~^The user profile
185 ^<mh\-dir>/draft~^The draft file
188 .SH "PROFILE COMPONENTS"
192 .ta \w'ExtraBigProfileName 'u
193 ^Path:~^To determine the user's nmh directory
194 ^Draft\-Folder:~^To find the default draft\-folder
195 ^Editor:~^To override the default editor
196 ^<lasteditor>\-next:~^To name an editor to be used after exit
198 ^automimeproc:~^If value is 1, and the draft is a MIME
199 ^~^composition file, then automatically call
200 ^~^buildmimeproc prior to sending.
201 ^buildmimeproc:~^Program to translate MIME composition files
202 ^fileproc:~^Program to refile the message
203 ^lproc:~^Program to list the contents of a message
204 ^sendproc:~^Program to use to send the message
205 ^whomproc:~^Program to determine who a message would go to
213 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
222 switch must be interpreted as a single
223 token by the shell that invokes
226 usually place the argument to this switch inside double\-quotes.
228 If the initial edit fails,
230 deletes your draft (by renaming
231 it with a leading comma); failure of a later edit preserves the draft.
235 fails (returns a nonzero status),
237 simply prints a \*(lqWhat now?\*(rq prompt.
241 to tell the user that something went wrong.
255 and do not actually run the
257 program. Hence, if you define your own
261 since it won't be run.
271 it does not actually run the