WHATNOW(1mh)

NAME
whatnow2 - front-end for handling drafts

SYNOPSIS

whatnow [command |-Version] |-help]

DESCRIPTION
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. Then, whatnow can called with one of the commands.

    edit
        re-edit using the same editor that was used on the preceding round unless a profile entry `<lasteditor>-next: <editor>' names an alternate editor

    edit <editor>
        invoke <editor> for further editing

    list
        list the draft on the terminal

    display
        list the message being distributed/replied-to on the terminal

    whom
        list the recipients of the message

    send
        send the message

    refile +folder
        refile the draft into the given folder

    delete
        delete the draft and exit

    attach files
        add the named files to the draft as MIME attachments

    alist
        list the MIME attachments

    detach numbers
        remove MIME attachments by number

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.

Consult the mh-draft(7) man page for more information.

FILES
^$HOME/.mmh/profile~^The user profile
^+drafts~^The draft folder

PROFILE COMPONENTS
^Path:~^To determine the user's mail storage
^Draft-Folder:~^To set the default draft-folder
^Editor:~^To override the default editor
^Metafile-Extension:~^The optional extion for meta information like lasteditor
^<lasteditor>-next:~^To name an editor to be used after exit
^~^from <lasteditor>
^listproc:~^Program to list the contents of a message

SEE ALSO
send(1)

CONTEXT
None