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 preserve the draft and exit
87 .TP \w'refilezzzzfolderz'u
89 delete the draft and exit
90 .TP \w'refilezzzzfolderz'u
92 delete the draft and exit
93 .TP \w'refilezzzzfolderz'u
95 use the directory when interpreting attachment file names
96 .TP \w'refilezzzzfolderz'u
98 print the working directory for attachment files
99 .TP \w'refilezzzzfolderz'u
101 list files in the attachment working directory using the ls command
102 .TP \w'refilezzzzfolderz'u
104 add the named files to the draft as MIME attachments
105 .TP \w'refilezzzzfolderz'u
107 list the MIME attachments, either short, long [-l] or numbered [-n]
108 .TP \w'refilezzzzfolderz'u
109 .B detach [-n] files-or-numbers
110 remove MIME attachments, either by file name or by number with -n
113 When entering your response, you need only type enough characters
114 to uniquely identify the response.
118 response, any valid switch to the editor is valid.
124 responses, any valid switch to
136 response, any valid switch to the
144 responses, any valid argument to
147 is valid. If any non\-switch arguments are present, then
148 the pathname of the draft will be excluded from the argument list given
151 (this is useful for listing another
157 for further information about how editors
160 It also discusses how environment variables can be
163 actions in complex ways.
168 switch sets the prompting string for
180 draft folder facility. This is an advanced (and highly
181 useful) feature. Consult the
189 .ta \w'%etcdir%/ExtraBigFileName 'u
190 ^$HOME/\&.mh\(ruprofile~^The user profile
191 ^<mh\-dir>/draft~^The draft file
194 .SH "PROFILE COMPONENTS"
198 .ta \w'ExtraBigProfileName 'u
199 ^Path:~^To determine the user's nmh directory
200 ^Draft\-Folder:~^To find the default draft\-folder
201 ^Editor:~^To override the default editor
202 ^<lasteditor>\-next:~^To name an editor to be used after exit
204 ^automimeproc:~^If value is 1, and the draft is a MIME
205 ^~^composition file, then automatically call
206 ^~^buildmimeproc prior to sending.
207 ^buildmimeproc:~^Program to translate MIME composition files
208 ^fileproc:~^Program to refile the message
209 ^lproc:~^Program to list the contents of a message
210 ^sendproc:~^Program to use to send the message
218 .RB ` \-prompt "' defaults to \*(lqWhat\ Now?\ \*(rq"
227 switch must be interpreted as a single
228 token by the shell that invokes
231 usually place the argument to this switch inside double\-quotes.
233 If the initial edit fails,
235 deletes your draft (by renaming
236 it with a leading comma); failure of a later edit preserves the draft.
240 fails (returns a nonzero status),
242 simply prints a \*(lqWhat now?\*(rq prompt.
246 to tell the user that something went wrong.
260 and do not actually run the
262 program. Hence, if you define your own
266 since it won't be run.
276 it does not actually run the