MPE/iX Shell and Utilities Reference Manual, Vol 1

mailx(1) MPE/iX Shell and Utilities mailx(1)
new The message is in the system mailbox and you have not yet read it or otherwise
changed its state. When mailx quits, it retains messages in this state in your system
mailbox.
preserved
You used a preserve command on the message. When mailx quits, it retains mes-
sages in this state in their current locations.
read You used one of the following commands on the message:
˜F ˜m next print type
˜f copy pipe top undelete
˜M mbox Print Type
or you used delete, dp,ordt on the preceding message and the
autoprint
envi-
ronment variable was set. When mailx quits and you are in your system mailbox, it
saves read messages in your personal mailbox unless the variable
hold
is set, in
which case, it retains them in your system mailbox. If you are in your personal or a
secondary mailbox when mailx quits, it retains read messages in their current loca-
tion.
unread You have run more than one mailx session with the message in the system mailbox
and you have not read it or otherwise changed its state. When mailx quits, it retains
messages in this state in your system mailbox.
Command Mode Commands
The format of a command mode command is
[command][refs][arguments]
If no command is specified, p[rint] is assumed.
The refs argument indicates the messages to which you want to apply the command. mailx
numbers incoming messages sequentially as they are received. The easiest way to refer to a
message is to give its number. For example, the command
p3
displays message number 3. At any point in a mailx session, there is one message that is
considered the current message. Loosely speaking, this is the message you most recently used
in a command (for example, the one you most recently read). If you omit the refs argument in
a command that uses refs, the command works with the current message. You can also use
special notations as the refs value, as in Table 1-7, Reference Notations.
Commands and Utilities 1-307