4 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 whatnow \- prompting front-end for sending messages
22 is the default program that queries the user about
23 the disposition of a composed draft. It is normally automatically
32 after the initial edit.
34 When started, the editor is started on the draft (unless
36 is given, in which case the initial edit is suppressed). Then,
38 repetitively prompts the user with \*(lqWhat now?\*(rq
39 and awaits a response. The valid responses are:
42 .TP \w'refilezzzzfolderz'u
44 re\-edit using the same editor that was used on the
45 preceding round unless a profile entry
46 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
47 .TP \w'refilezzzzfolderz'u
49 invoke <editor> for further editing
50 .TP \w'refilezzzzfolderz'u
52 refile the draft into the given folder
53 .TP \w'refilezzzzfolderz'u
55 process the draft as MIME composition file using
61 .TP \w'refilezzzzfolderz'u
63 list the message being distributed/replied\-to
65 .TP \w'refilezzzzfolderz'u
67 list the draft on the terminal
68 .TP \w'refilezzzzfolderz'u
71 .TP \w'refilezzzzfolderz'u
73 send the message and monitor the delivery process
74 .TP \w'refilezzzzfolderz'u
76 send the message in the background
77 .TP \w'refilezzzzfolderz'u
79 preserve the draft and exit
80 .TP \w'refilezzzzfolderz'u
82 delete the draft and exit
83 .TP \w'refilezzzzfolderz'u
85 delete the draft and exit
86 .TP \w'refilezzzzfolderz'u
88 use the directory when interpreting attachment file names
89 .TP \w'refilezzzzfolderz'u
91 print the working directory for attachment files
92 .TP \w'refilezzzzfolderz'u
94 list files in the attachment working directory using the ls command
95 .TP \w'refilezzzzfolderz'u
97 add the named files to the draft as MIME attachments
98 .TP \w'refilezzzzfolderz'u
100 list the MIME attachments, either short, long [-l] or numbered [-n]
101 .TP \w'refilezzzzfolderz'u
102 .B detach [-n] files-or-numbers
103 remove MIME attachments, either by file name or by number with -n
106 When entering your response, you need only type enough characters
107 to uniquely identify the response.
111 response, any valid switch to the editor is valid.
117 responses, any valid switch to
129 response, any valid switch to the
137 responses, any valid argument to
140 is valid. If any non\-switch arguments are present, then
141 the pathname of the draft will be excluded from the argument list given
144 (this is useful for listing another
150 for further information about how editors
153 It also discusses how environment variables can be
156 actions in complex ways.
161 switch sets the prompting string for
172 .ta \w'%etcdir%/ExtraBigFileName 'u
173 ^$HOME/.mmh/profile~^The user profile
174 ^+drafts~^The draft folder
177 .SH "PROFILE COMPONENTS"
181 .ta \w'ExtraBigProfileName 'u
182 ^Path:~^To determine the user's mail storage
183 ^Draft\-Folder:~^To set the default draft\-folder
184 ^Editor:~^To override the default editor
185 ^<lasteditor>\-next:~^To name an editor to be used after exit
187 ^automimeproc:~^If value is 1, and the draft is a MIME
188 ^~^composition file, then automatically call
189 ^~^buildmimeproc prior to sending.
190 ^buildmimeproc:~^Program to translate MIME composition files
191 ^fileproc:~^Program to refile the message
192 ^lproc:~^Program to list the contents of a message
193 ^sendproc:~^Program to use to send the message
201 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
210 switch must be interpreted as a single
211 token by the shell that invokes
214 usually place the argument to this switch inside double\-quotes.
216 If the initial edit fails,
218 deletes your draft (by renaming
219 it with a leading comma); failure of a later edit preserves the draft.
223 fails (returns a nonzero status),
225 simply prints a \*(lqWhat now?\*(rq prompt.
229 to tell the user that something went wrong.
243 and do not actually run the
245 program. Hence, if you define your own
249 since it won't be run.
259 it does not actually run the