MPE/iX Shell and Utilities Reference Manual, Vol 1

mailx(1) MPE/iX Shell and Utilities mailx(1)
! command
executes the given shell command. For example,
!lc
lists all files in the current directory. The shell that is invoked to execute the com-
mand is given by the
SHELL
environment variable; see the ENVIRONMENT VARI-
ABLES section.
#comment
mailx ignores everything from the # to the end of the line. This is useful for putting
comments into start-up files.
? displays a summary of command mode commands.
= displays the current message number.
Input Mode Commands
You may use input mode commands when entering the text of a message. Input mode com-
mands must appear at the beginning of an input line; they cannot be in the middle of a line.
By default, each input mode command begins with the tilde (˜) character, called the escape
character. You may use the
escape
environment variable to change the escape character, but
the documentation that follows uses tilde.
˜A inserts the autograph string at this point in the message. This autograph string is
given by the
Sign
environment variable.
˜a is similar to ˜A, except that it uses the variable
sign
.
˜b name ...
adds the specified names to the blind carbon copy list.
˜c name ...
adds the specified names to the carbon copy list.
˜d reads in the dead.letter file; see the description of
DEAD
in the ENVIRONMENT
VARIABLES section.
˜e invokes an editor on the message that you have composed. The
EDITOR
variable
determines the editor that is invoked.
˜F [refs]
forwards the given messages. The text of the messages is inserted at this point in the
message that you are composing. The message headers are also inserted with all
header fields regardless of the discard, ignore, and retain commands. This is only
valid when you entered mailx in command mode, then went into input mode to
compose a message.
1-316 Commands and Utilities