16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

mailx<br />

and the screen editor is invoked to edit that file. The editor used is given by<br />

the VISUAL variable. See “Environment Variables” on page 385.<br />

w[rite] [refs] filename<br />

Writes the specified messages into the given file. If refs is not specified, the<br />

current message is written. write is the same as save, except that it does<br />

not write out the header lines and the blank line at the end of the message.<br />

x[it] Is the same as the exit command.<br />

z[+|-] Scrolls the header display forward (if z or z+ is specified) or backward (if z-<br />

is specified) one screenful.<br />

! command<br />

Executes the given shell command. For example:<br />

!lc<br />

lists all files in the current directory. The shell that will be used to run the<br />

command is given by the SHELL environment variable. See “Environment<br />

Variables” on page 385.<br />

#comment<br />

Specifies that mailx should ignore everything from the # to the end of the<br />

line. This is useful for putting comments into startup files.<br />

? Is the same as the help command (it displays a summary of the<br />

command-mode subcommands).<br />

= Displays the current message number.<br />

Input-Mode Subcommands<br />

You can use input-mode subcommands when entering the text of a message. You<br />

must type mode subcommands at the beginning of an input line; you cannot type<br />

them in the middle of a line. By default, each input-mode subcommand begins with<br />

the tilde (~) character, called the escape character. You can use the escape<br />

variable to change the escape character, but in the documentation that follows, we<br />

always use tilde.<br />

~. Marks the end of input in a mail message.<br />

~? Displays a summary of the input-mode subcommands.<br />

~A Inserts the autograph string at this point in the message. This autograph<br />

string is given by the Sign variable.<br />

~a Is similar to ~A, except that it uses the variable sign.<br />

~b name ...<br />

Adds the specified names to the blind carbon copy list.<br />

~c name ...<br />

Adds the specified names to the carbon copy list.<br />

~d Reads in the dead.letter file.<br />

~e Invokes an editor on the message that you have composed. The editor<br />

variable determines the editor that is invoked.<br />

~F [refs]<br />

Forwards the given messages. The text of the messages is inserted at this<br />

point in the message you are composing. The message headers are also<br />

inserted with all header fields regardless of the discard, ignore, and retain<br />

382 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!