mailx(1)

 

mailx(1)

Print

[ msglist ]

Print the speci®ed messages on the screen, including all header

®elds. Overrides

 

 

suppression of ®elds by the ignore command.

 

type

[ msglist ]

 

 

print

[ msglist ]

Print the speci®ed messages. If crt is set, messages longer than the number of lines

 

 

speci®ed by the crt variable are paged through the command

speci®ed by the

 

 

PAGER variable. The default command is pg(1) but many users prefer more(1) (see

 

 

ENVIRONMENT VARIABLES).

 

unalias alias

Discard the speci®ed alias names.

 

undelete [ msglist ] Restore the speci®ed 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 ENVIRONMENT VARIABLES).

unset name...

Cause the speci®ed 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 ®le and the VISUAL variable is used to get the name of the editor (see

 

ENVIRONMENT VARIABLES).

 

write [ msglist ] filename

 

 

Write the given messages on the speci®ed ®le, 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 ENVIRONMENT VARIABLES).

TILDE ESCAPES

The following commands can be used only when in input mode, by beginning a line with the tilde escape character (Ä). See escape (ENVIRONMENT VARIABLES) for changing this special character.

Ä! command

Escape to the shell.

Ä.Simulate end of ®le (terminate message input).

Ä:mail-command

Ä_ mail-commandPerform 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 ENVIRONMENT VARIABLES).

Äa

Insert the autograph string

sign into the message (see ENVIRONMENT VARIABLES).

Ä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 ®le. See DEAD (under ENVIRONMENT VARIABLES) for a

 

description of this ®le.

 

 

Äe

Invoke the editor on the partial message. Also see the

EDITOR environment vari-

 

able description below.

 

 

Äf [ msglist ]

Forward the speci®ed messages. The messages are inserted into the message without

 

alteration.

 

 

Äh

Prompt for Subject line and To, Cc, and Bcc lists. If the ®eld is displayed with an ini-

 

tial value, it can be edited as if you had just typed it.

 

Äi string

Insert the value of the named variable into the text of the message. For example, ÄA

 

is equivalent to Äi Sign.

 

 

Äm [ msglist ]

Insert the speci®ed messages into the letter, shifting the new text to the right one tab

 

stop. Valid only when sending a message while reading mail.

HP-UX Release 11i: December 2000

− 6 −

Section 1503

m