mailx.1 (2010 09)

m
mailx(1) mailx(1)
autoprint Enable automatic printing of messages after
delete and undelete commands.
Default is
noautoprint.
bang Enable special-case treatment of exclamation points (
!) in shell escape command
lines as in
vi. Default is nobang
.
charset=charset Set the default character set. If none is specified,
mailx will attempt to use the
value of
LANG to look up the system default for the user’s locale. If that is unsuc-
cessful, the default value of us-ascii will be used.
cmd=command Set the default command for the
pipe command. No default value.
conv=conversion Convert UUCP addresses to the specified address style. The only valid conversion
currently supported is internet , which requires a mail delivery program conforming
to the RFC822 standard for electronic mail addressing. Conversion is disabled by
default. See also sendmail and the -U
command-line option.
crt=number Pipe messages having more than number lines through the command specified by
the value of the
PAGER variable pg
by default (see pg(1)). Disabled by default.
DEAD=filename The name of the file in which to save partial letters in case of untimely interrupt or
delivery errors. Default is $HOME/dead.letter
.
debug Enable verbose diagnostics for debugging. Messages are not delivered. Default is
nodebug.
dot When processing input from a terminal, interpret an ASCII period character on a
line by itself as end-of-file. Default is nodot.
EDITOR=command The command to run when the edit or ˜e command is used. Default is
ed (see
ed(1)).
encoding=encoding
Set the default encoding to be used when 8-bit characters are present. Allowable
values are quoted-printable, base64 and 8bit. The short-hand q-p is also acceptable
for quoted-printable. The default value will be determined based upon the value of
charset. A value of 8bit means not to encode.
escape=c Substitute c for the ˜ escape character.
folder=directory The directory for saving standard mail files. User specified file names beginning
with a plus (+) are expanded by preceding the file name with this directory name to
obtain the real file name. If directory does not start with a slash (/),
$HOME is
used as a prefix. There is no default for the
folder variable. See also out-
folder below.
header Enable printing of the header summary when entering mailx. Enabled by default.
hold Preserve all messages that are read in the system mailbox instead of putting them
in the standard mbox save file. Default is nohold.
ignore Ignore interrupts while entering messages. Useful when communicating over noisy
dial-up lines. Default is noignore.
ignoreeof Ignore end-of-file during message input. Input must be terminated by a period (.)
on a line by itself or by the ˜. command. Default is noignoreeof. See also
dot above.
keep When the mailbox is empty, truncate it to zero length instead of removing it. Dis-
abled by default.
keepsave Keep messages that have been saved in other files in the system mailbox instead of
deleting them. Default is nokeepsave.
MBOX=filename The name of the file to save messages which have been read. The xit command
overrides this function, as does saving the message explicitly in another file.
Default is $HOME/mbox.
metoo Usually, when a group (alias) containing the sender is expanded, the sender is
removed from the expansion. Setting this option causes the sender to be included in
the group. Default is nometoo.
HP-UX 11i Version 3: September 2010 9 Hewlett-Packard Company 9