4 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 whatnow \- prompting front-end for sending messages
15 .RB [ \-nodraftfolder ]
25 .IR header-field-name ]
29 is the default program that queries the user about
30 the disposition of a composed draft. It is normally automatically
39 after the initial edit.
41 When started, the editor is started on the draft (unless
43 is given, in which case the initial edit is suppressed). Then,
45 repetitively prompts the user with \*(lqWhat now?\*(rq
46 and awaits a response. The valid responses are:
49 .TP \w'refilezzzzfolderz'u
51 re\-edit using the same editor that was used on the
52 preceding round unless a profile entry
53 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
54 .TP \w'refilezzzzfolderz'u
56 invoke <editor> for further editing
57 .TP \w'refilezzzzfolderz'u
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
102 use the directory when interpreting attachment file names
103 .TP \w'refilezzzzfolderz'u
105 print the working directory for attachment files
106 .TP \w'refilezzzzfolderz'u
108 list files in the attachment working directory using the ls command
109 .TP \w'refilezzzzfolderz'u
111 add the named files to the draft as MIME attachments
112 .TP \w'refilezzzzfolderz'u
114 list the MIME attachments, either short, long [-l] or numbered [-n]
115 .TP \w'refilezzzzfolderz'u
116 .B detach [-n] files-or-numbers
117 remove MIME attachments, either by file name or by number with -n
120 When entering your response, you need only type enough characters
121 to uniquely identify the response.
125 response, any valid switch to the editor is valid.
131 responses, any valid switch to
143 response, any valid switch to
149 response, any valid switch to the
157 responses, any valid argument to
160 is valid. If any non\-switch arguments are present, then
161 the pathname of the draft will be excluded from the argument list given
164 (this is useful for listing another
170 for further information about how editors
173 It also discusses how environment variables can be
176 actions in complex ways.
181 switch sets the prompting string for
193 draft folder facility. This is an advanced (and highly
194 useful) feature. Consult the
202 .ta \w'%etcdir%/ExtraBigFileName 'u
203 ^$HOME/\&.mh\(ruprofile~^The user profile
204 ^<mh\-dir>/draft~^The draft file
207 .SH "PROFILE COMPONENTS"
211 .ta \w'ExtraBigProfileName 'u
212 ^Path:~^To determine the user's nmh directory
213 ^Draft\-Folder:~^To find the default draft\-folder
214 ^Editor:~^To override the default editor
215 ^<lasteditor>\-next:~^To name an editor to be used after exit
217 ^automimeproc:~^If value is 1, and the draft is a MIME
218 ^~^composition file, then automatically call
219 ^~^buildmimeproc prior to sending.
220 ^buildmimeproc:~^Program to translate MIME composition files
221 ^fileproc:~^Program to refile the message
222 ^lproc:~^Program to list the contents of a message
223 ^sendproc:~^Program to use to send the message
224 ^whomproc:~^Program to determine who a message would go to
232 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
241 switch must be interpreted as a single
242 token by the shell that invokes
245 usually place the argument to this switch inside double\-quotes.
247 If the initial edit fails,
249 deletes your draft (by renaming
250 it with a leading comma); 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