Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
m
mailx(1) mailx(1)
quiet Refrain from printing the opening message and version when entering mailx.
Default is noquiet.
record=filename Record all outgoing mail in filename. Disabled by default. See also outfolder
above.
save Enable saving of messages in dead.letter on interrupt or delivery error. See
DEAD for a description of this file. Enabled by default.
screen=number Set the number of lines in a screen-full of headers for the headers command.
sendmail=command
Alternate command for delivering messages. Default is mail (see mail(1)).
sendwait Wait for background mailer to nish before returning. Default is nosendwait.
SHELL=command The name of a preferred command interpreter. Default is the user’s login program
(see passwd(4), shells(4), and chsh(1)). Note: in the unusual case that a user’s login
program is a script file from which mailx is executed, rather than a shell, then
mailx requires that the user explicitly set SHELL=/usr/bin/sh in his or her
$HOME/.mailrc file.
showto When displaying the header summary and the message is from you, print the
recipient’s name instead of the author’s name.
sign=string The variable that is inserted into the text of a message when the ˜a (autograph) com-
mand is given. No default (see also
˜i under ILDE ESCAPES).
Sign=string The variable inserted into the text of a message when the ˜A command is given. No
default (see also
˜i (TILDE ESCAPES)).
SMARTMAILER When SMARTMAILER is set, various commands use the From: line instead of the
default From line.
toplines=number
The number of lines of header to print with the top command. Default is 5.
VISUAL=command The name of a preferred screen editor. Default is vi (see vi(1)).
EXTERNAL INFLUENCES
Environment Variables
The following are environment variables taken from the execution environment and are not alterable
within
mailx.
HOME The user’s home directory. This is usually the current directory immediately after
login.
MAILRC The name of the mailer start-up file. Default is $HOME/.mailrc.
LC_COLLATE
LC_CTYPE LC_COLLATE
and LC_CTYPE influence mailx when the command interpreter
(see SHELL below) is invoked. To determine the behavior of LC_COLLATE and
LC_CTYPE, see the corresponding shell manual entry for the applicable command
interpreter
LC_TIME LC_TIME determines the format and contents of the date and time strings displayed.
If LC_TIME is not specified in the environment, or is set to the empty string, the
value of LANG is used as a default. If LANG is not specified or is set to the empty
string, a default of "C" (see lang(5)) is used instead of LANG. If any internationaliza-
tion variable contains an invalid setting, mailx behaves as if all internationalization
variables are set to "C". See environ(5).
TMPDIR When set, the TMPDIR environment variable specifies a directory to be used for tem-
porary files, overriding the default directory /tmp.
International Code Set Support
Single- and multi-byte character code sets are supported within mail text. Headers are restricted to char-
acters from the 7-bitUSASCII character code set (see ascii(5)).
Section 1506 9 HP-UX Release 11i: December 2000
___
___