MPE/iX Shell and Utilities Reference Manual, Vol 1

mailx(1) MPE/iX Shell and Utilities mailx(1)
p[rint][refs]
displays the specified messages on the screen. If no refs are given the current mes-
sage is displayed. Header fields specified by discard and ignore commands are not
displayed. If the
crt
variable is set to an integer, messages with more lines than that
integer are paginated using the command specified by the
PAGER
variable. For more
information, see the ENVIRONMENT VARIABLES section.
q[uit] terminates a mailx session. This is the usual method to leave mailx. Messages
that have been read but not saved or deleted are stored in your mbox. Messages that
are still unread are retained in your system mailbox. Messages that have been deleted
or explicitly saved in other files are discarded. Typing the
EOF character has the same
effect.
R[eply][refs]
sends a reply to the authors of each of the messages specified by refs.Ifnorefs are
specified, the current message is used. The Subject line of the reply message is
taken from the first message in refs. If the
record
environment variable is set to a
file name, your reply message is appended to the end of that file.
Normally, you use Reply if you just want to send your reply to the author of a mes-
sage, and reply if you want to send your reply to the author and all recipients. If set,
the
flipr
variable reverses the meanings of the R and r commands. See the ENVI-
RONMENT VARIABLES section.
r[eply][ref]
sends a reply to the author of a specific message, and all other recipients of the mes-
sage. If no ref is specified, mailx replies to the current message. If the
record
environment variable is set to a file name, your reply message is appended to the end
of that file.
R[espond][refs]
is the same as the Reply command.
r[espond][ref]
is the same as the reply command.
ret[ain][header ...]
is the opposite of the discard command. It tells mailx to display the given header
fields when displaying a message. The comparison of header fields is not case sensi-
tive. You can use retain to override existing discard and ignore commands. If you
do not specify any header fields, retain displays a list of currently retained header
fields.
Commands and Utilities 1-313