WHATNOW(1mh) | [mmh-0.4] | WHATNOW(1mh) |
whatnow - prompting front-end for sending messages
whatnow [-editor editor] [-prompt string] [file] [-Version] [-help]
Whatnow is the default program that queries the user about the disposition of a composed draft. It is normally automatically invoked by one of the mmh commands comp, dist, forw, or repl after the initial edit.
When started, the editor is started on the draft (unless the -editor switch with an empty string argument is given, in which case the initial edit is suppressed). Then, whatnow repetitively prompts the user with `What now?' and awaits a response. The valid responses are:
When entering your response, you need only type enough characters to uniquely identify the response.
For the edit response, any valid switch to the editor is valid.
For the send response, any valid switch to send(1) is valid.
For the refile response, any valid switch to refile is valid.
See mh-profile(5) for further information about how editors are used by mmh. It also discusses how environment variables can be used to direct whatnow's actions in complex ways.
If the initial edit fails, no new draft is created, but any existing re-used draft is preserved. Failures of later edits are ignored and another prompt is printed.
The -prompt string switch sets the prompting string for whatnow.
Consult the mh-draft(7) man page for more information.
^$HOME/.mmh/profile~^The user profile ^+drafts~^The draft folder
^Path:~^To determine the user's mail storage ^Draft-Folder:~^To set the default draft-folder ^Editor:~^To override the default editor ^<lasteditor>-next:~^To name an editor to be used after exit ^~^from <lasteditor> ^listproc:~^Program to list the contents of a message
`-prompt' defaults to `What Now? '
whatnow is deprecated an will be removed in the next release. Consider switching to whatnow2(1).
None
2019-01-06 | MH.6.8 |