Starts a prompting editor.
prompter [ -erase Character ] [ -kill Character ] [ -prepend | -noprepend ] [ -rapid | -norapid ] File
Part of the Message Handler (MH) package, the prompter command starts the prompting editor for message entry. The prompter command is not started by the user. The prompter command is called by other programs only.
The prompter command opens the file specified by the File parameter, scans it for empty components such as the To: component, and prompts you to fill in the blank fields. If you press the Enter key without filling in a required field, the prompter command deletes the component.
The prompter command accepts text for the body of the message after the first blank line or line of dashes in the file. If the body already contains text and the -noprepend flag is specified, the prompter command displays the text followed by the message:
--------Enter additional text
The prompter command appends any new text entered after the existing message. If you specify the -prepend flag, the prompter command displays the following message:
--------Enter initial text
Any new text precedes the body of the original message. When you press the Ctrl-D key sequence for End of File, the prompter command ends text entry and returns control to the calling program.
|-erase Character||Sets the character to be used as the erase character. The value of the Character variable can be the octal representation of the character in the form \NNN where \NNN is a number or the character itself. For example, the character \e is \145 in octal representation.|
|-help||Lists the command syntax, available switches (toggles), and version
Note: For MH, the name of this flag must be fully spelled out.
|-kill Character||Sets the character to be used as the kill, or stop, character. The value of the Character variable can be the octal representation of the character in the form \NNN where \NNN is a number or the character itself. For example, the character \e is \145 in octal representation.|
|-noprepend||Appends additional text after text already in the message body.|
|-norapid||Displays text already in the message body. This is the default.|
|-prepend||Appends additional text before text already in the message body. This is the default.|
|-rapid||Does not display text already in the message body.|
|Msg-Protect:||Sets the protection level for your new message files.|
|prompter-next:||Specifies the editor used after exiting the prompter command.|
|Contains the MH user profile.|
|/tmp/prompter*||Contains a temporary copy of a message.|
The comp command, dist command, forw command, repl command, whatnow command.
Mail Overview in AIX 5L Version 5.1 System User's Guide: Communications and Networks.