4 .TH WHATNOW %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 whatnow \- prompting front-end for sending messages
20 .IR header-field-name ]
24 is the default program that queries the user about
25 the disposition of a composed draft. It is normally automatically
34 after the initial edit.
36 When started, the editor is started on the draft (unless
38 is given, in which case the initial edit is suppressed). Then,
40 repetitively prompts the user with \*(lqWhat now?\*(rq
41 and awaits a response. The valid responses are:
44 .TP \w'refilezzzzfolderz'u
46 re\-edit using the same editor that was used on the
47 preceding round unless a profile entry
48 \*(lq<lasteditor>\-next: <editor>\*(rq names an alternate editor
49 .TP \w'refilezzzzfolderz'u
51 invoke <editor> for further editing
52 .TP \w'refilezzzzfolderz'u
54 refile the draft into the given folder
55 .TP \w'refilezzzzfolderz'u
57 process the draft as MIME composition file using
63 .TP \w'refilezzzzfolderz'u
65 list the message being distributed/replied\-to
67 .TP \w'refilezzzzfolderz'u
69 list the draft on the terminal
70 .TP \w'refilezzzzfolderz'u
73 .TP \w'refilezzzzfolderz'u
75 send the message and monitor the delivery process
76 .TP \w'refilezzzzfolderz'u
78 send the message in the background
79 .TP \w'refilezzzzfolderz'u
81 preserve the draft and exit
82 .TP \w'refilezzzzfolderz'u
84 delete the draft and exit
85 .TP \w'refilezzzzfolderz'u
87 delete the draft and exit
88 .TP \w'refilezzzzfolderz'u
90 use the directory when interpreting attachment file names
91 .TP \w'refilezzzzfolderz'u
93 print the working directory for attachment files
94 .TP \w'refilezzzzfolderz'u
96 list files in the attachment working directory using the ls command
97 .TP \w'refilezzzzfolderz'u
99 add the named files to the draft as MIME attachments
100 .TP \w'refilezzzzfolderz'u
102 list the MIME attachments, either short, long [-l] or numbered [-n]
103 .TP \w'refilezzzzfolderz'u
104 .B detach [-n] files-or-numbers
105 remove MIME attachments, either by file name or by number with -n
108 When entering your response, you need only type enough characters
109 to uniquely identify the response.
113 response, any valid switch to the editor is valid.
119 responses, any valid switch to
131 response, any valid switch to the
139 responses, any valid argument to
142 is valid. If any non\-switch arguments are present, then
143 the pathname of the draft will be excluded from the argument list given
146 (this is useful for listing another
152 for further information about how editors
155 It also discusses how environment variables can be
158 actions in complex ways.
163 switch sets the prompting string for
174 .ta \w'%etcdir%/ExtraBigFileName 'u
175 ^$HOME/.mmh/profile~^The user profile
176 ^+drafts~^The draft folder
179 .SH "PROFILE COMPONENTS"
183 .ta \w'ExtraBigProfileName 'u
184 ^Path:~^To determine the user's mail storage
185 ^Draft\-Folder:~^To set the default draft\-folder
186 ^Editor:~^To override the default editor
187 ^<lasteditor>\-next:~^To name an editor to be used after exit
189 ^automimeproc:~^If value is 1, and the draft is a MIME
190 ^~^composition file, then automatically call
191 ^~^buildmimeproc prior to sending.
192 ^buildmimeproc:~^Program to translate MIME composition files
193 ^fileproc:~^Program to refile the message
194 ^lproc:~^Program to list the contents of a message
195 ^sendproc:~^Program to use to send the message
203 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
212 switch must be interpreted as a single
213 token by the shell that invokes
216 usually place the argument to this switch inside double\-quotes.
218 If the initial edit fails,
220 deletes your draft (by renaming
221 it with a leading comma); failure of a later edit preserves the draft.
225 fails (returns a nonzero status),
227 simply prints a \*(lqWhat now?\*(rq prompt.
231 to tell the user that something went wrong.
245 and do not actually run the
247 program. Hence, if you define your own
251 since it won't be run.
261 it does not actually run the