Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
m
mailx(1) mailx(1)
˜p Print the message being entered.
˜q Quit (terminate) input mode by simulating an interrupt. If the body of the message is
not null, the partial message is saved in dead.letter . See the description of the
DEAD environment variable below for a description of this file.
˜R name ... Add name to the Reply-To list.
˜r filename
˜< filename
˜<! command Read in the specified file. If the argument begins with an exclamation point (! ), the
rest of the string is assumed to be an arbitrary shell command and is executed, with
the standard output inserted into the message.
˜s string ... Set the subject line to string.
˜t name ... Add the given names to the To list.
˜v Invoke a preferred screen editor on the partial message. Also see the VISUAL
environment variable description below.
˜w filename Write the partial message onto the given file, without the header.
˜x Exit as with ˜q except the message is not saved in dead.letter.
˜| command Pipe the body of the message through the given command.Ifcommand returns a suc-
cessful exit status, the output of the command replaces the message.
ENVIRONMENT VARIABLES
The following variables are internal
mailx program variables. They can be imported from the execution
environment or set by the set command at any time. The unset command can be used to erase variables.
allnet All network names whose login names match are treated as identical. This causes the
msglist message specifications to behave similarly. Default is noallnet. See also
the alternates command and the metoo variable.
append Upon termination, append messages to the end of the mbox file instead of inserting
them at the beginning of the file. Default is noappend.
askbcc
Prompt for the Bcc list after the message is entered. Default is
noaskbcc.
askcc
Prompt for the Cc list after the message is entered. Default is
noaskcc.
asksub Prompt for a subject if it is not specified on the command line with the
-s option.
Enabled by default.
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(1). 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 unsuccess-
ful, 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.
Section 1504 7 HP-UX Release 11i: December 2000
___
___