HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)

m
mailx(1) mailx(1)
source filename Read commands from the given file and return to command mode.
top[msglist] Print the top few lines of the specified messages. If the
toplines variable is set,
it is interpreted as the number of lines to print (see the Environment Variables sub-
section). The default is 5.
touch [msglist] Touch the specified messages. If any message in msglist is not specifically saved in
a file, it is placed in the mbox upon normal termination. See
exit and quit.
Type [msglist]
Print [msglist] Print the specified messages on the screen, including all header fields. Overrides
suppression of fields by the ig
nore command.
type [msglist]
print [msglist] Print the specified messages. If
crt is set, messages longer than the number of
lines specified by the
crt variable are paged through the command specified by
the PAGER variable. The default command is pg(1) but many users prefer more(1)
(see the Environment Variables subsection).
unalias alias Discard the specified alias names.
undelete [msglist] Restore the specified deleted messages. Restores only messages that were deleted
in the current mail session. If
autoprint is set, the last message of those
restored is printed (see the Environment Variables subsection ).
unset name... Cause the specified variables to be erased. If the variable was a shell variable
imported from the execution environment, it cannot be erased.
version Prints the current version and release date.
visual [msglist] Edit the given messages with a screen editor. The messages are placed in a tem-
porary file and the VISUAL variable is used to get the name of the editor (see the
Environment Variables subsection).
write [msglist] filename
Write the given messages on the specified file, except for the header (the "From ..."
line) and trailing blank line. Otherwise equivalent to the save command.
xit
exit Exit from mailx, without changing the mailbox. No messages are saved in the
mbox (see also quit).
z[+-] Scroll the header display forward or backward one screen-full. The number of
headers displayed is set by the screen variable (see the Environment Variables
subsection).
TILDE ESCAPES
The following commands can be used only when in input mode, by beginning a line with the tilde escape
character (
˜). See escape (in the Environment Variables subsection) for changing this special charac-
ter.
˜!command Escape to the shell.
˜. Simulate end of file (terminate message input).
˜:mail-command
˜_ mail-command Perform the command-level request. Valid only when sending a message while
reading mail.
˜? Print a summary of tilde escapes.
˜A Insert the autograph string Sign into the message (see the Environment Variables
subsection).
˜a Insert the autograph string sign into the message (see the Environment Variables
subsection).
˜b name ... Add name to the blind carbon copy (Bcc) list.
˜c name ... Add name to the carbon copy (Cc) list.
˜d Read in the dead.letter file. See DEAD (in the Environment Variables subsec-
tion) for a description of this file.
HP-UX 11i Version 2: August 2003 6 Hewlett-Packard Company Section 1513