5 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
7 whatnow \- prompting front-end for sending messages
16 .RB [ \-nodraftfolder ]
26 .IR header-field-name ]
30 is the default program that queries the user about
31 the disposition of a composed draft. It is normally automatically
40 after the initial edit.
42 When started, the editor is started on the draft (unless
44 is given, in which case the initial edit is suppressed). Then,
46 repetitively prompts the user with \*(lqWhat now?\*(rq
47 and awaits a response. The valid responses are:
50 .TP \w'refilezzzzfolderz'u
52 re\-edit using the same editor that was used on the
53 preceding round unless a profile entry
54 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
55 .TP \w'refilezzzzfolderz'u
57 invoke <editor> for further editing
58 .TP \w'refilezzzzfolderz'u
60 refile the draft into the given folder
61 .TP \w'refilezzzzfolderz'u
63 process the draft as MIME composition file using
69 .TP \w'refilezzzzfolderz'u
71 list the message being distributed/replied\-to
73 .TP \w'refilezzzzfolderz'u
75 list the draft on the terminal
76 .TP \w'refilezzzzfolderz'u
79 .TP \w'refilezzzzfolderz'u
81 send the message and monitor the delivery process
82 .TP \w'refilezzzzfolderz'u
84 send the message in the background
85 .TP \w'refilezzzzfolderz'u
87 list the addresses that the message will go to
88 .TP \w'refilezzzzfolderz'u
90 list the addresses and verify that they are
91 acceptable to the transport service
92 .TP \w'refilezzzzfolderz'u
94 preserve the draft and exit
95 .TP \w'refilezzzzfolderz'u
97 delete the draft and exit
98 .TP \w'refilezzzzfolderz'u
100 delete the draft and exit
101 .TP \w'refilezzzzfolderz'u
103 use the directory when interpreting attachment file names
104 .TP \w'refilezzzzfolderz'u
106 print the working directory for attachment files
107 .TP \w'refilezzzzfolderz'u
109 list files in the attachment working directory using the ls command
110 .TP \w'refilezzzzfolderz'u
112 add the named files to the draft as MIME attachments
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
203 .ta \w'%etcdir%/ExtraBigFileName 'u
204 ^$HOME/\&.mh\(ruprofile~^The user profile
205 ^<mh\-dir>/draft~^The draft file
208 .SH "PROFILE COMPONENTS"
212 .ta \w'ExtraBigProfileName 'u
213 ^Path:~^To determine the user's nmh directory
214 ^Draft\-Folder:~^To find the default draft\-folder
215 ^Editor:~^To override the default editor
216 ^<lasteditor>\-next:~^To name an editor to be used after exit
218 ^automimeproc:~^If value is 1, and the draft is a MIME
219 ^~^composition file, then automatically call
220 ^~^buildmimeproc prior to sending.
221 ^buildmimeproc:~^Program to translate MIME composition files
222 ^fileproc:~^Program to refile the message
223 ^lproc:~^Program to list the contents of a message
224 ^sendproc:~^Program to use to send the message
225 ^whomproc:~^Program to determine who a message would go to
233 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
242 switch must be interpreted as a single
243 token by the shell that invokes
246 usually place the argument to this switch inside double\-quotes.
248 If the initial edit fails,
250 deletes your draft (by renaming
251 it with a leading comma); failure of a later edit preserves the draft.
255 fails (returns a nonzero status),
257 simply prints a \*(lqWhat now?\*(rq prompt.
261 to tell the user that something went wrong.
275 and do not actually run the
277 program. Hence, if you define your own
281 since it won't be run.
291 it does not actually run the