1 .TH WHATNOW %manext1% "November 6, 2012" "%nmhversion%"
6 whatnow \- prompting front-end for sending messages
15 .RB [ \-nodraftfolder ]
25 .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
202 .ta \w'%etcdir%/ExtraBigFileName 'u
203 ^$HOME/\&.mh\(ruprofile~^The user profile
204 ^<mh\-dir>/draft~^The draft file
206 .SH "PROFILE COMPONENTS"
210 .ta \w'ExtraBigProfileName 'u
211 ^Path:~^To determine the user's nmh directory
212 ^Draft\-Folder:~^To find the default draft\-folder
213 ^Editor:~^To override the default editor
214 ^<lasteditor>\-next:~^To name an editor to be used after exit
216 ^automimeproc:~^If value is 1, and the draft is a MIME
217 ^~^composition file, then automatically call
218 ^~^buildmimeproc prior to sending.
219 ^buildmimeproc:~^Program to translate MIME composition files
220 ^fileproc:~^Program to refile the message
221 ^lproc:~^Program to list the contents of a message
222 ^sendproc:~^Program to use to send the message
223 ^whomproc:~^Program to determine who a message would go to
230 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
231 .RB ` \-attach "' defaults to \*(lqNmh-Attachment\*(rq"
234 If the initial edit fails,
236 deletes your draft (by renaming
237 it with a site-dependent prefix (usually a comma);
238 failure of a later edit preserves the draft.
242 fails (returns a nonzero status),
244 simply prints a \*(lqWhat now?\*(rq prompt.
248 to tell the user that something went wrong.
262 and do not actually run the
264 program. Hence, if you define your own
268 since it won't be run.
278 it does not actually run the