prompter Command
Purpose
Starts a prompting editor.
Syntax
Description
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 that is specified by
the File parameter, scans it for empty components such as the
To: component, and prompts you to complete the blank fields. If you press the
Entered key without completing 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 textThe prompter command appends any new text that is entered after the existing message. If you specify the -prepend flag, the prompter command displays the following message:
--------Enter initial textAny 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.
Flags
| Item | Description |
|---|---|
| -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 information.
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 extra text after text already in the message body. |
| -norapid | Displays text already in the message body. This is the default. |
| -prepend | Appends extra text before text already in the message body. This is the default. |
| -rapid | Does not display text already in the message body. |
Profile Entries
| Item | Description |
|---|---|
Msg-Protect: |
Sets the protection level for your new message files. |
prompter-next: |
Specifies the editor who is used after exiting the prompter command. |
Security
- Attention RBAC user
-
Attention RBAC users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations that are associated with this command, see the lssecattr command or the getcmdattr subcommand.
Files
| Item | Description |
|---|---|
| $HOME/ html |