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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

|<br />

|<br />

|<br />

find it convenient to create a startup file that sets these variables according to your<br />

preferences; this eliminates the need to set variables each time you enter mailx.<br />

Many of the following variables represent on-off options. If you set the variable itself<br />

(to any value), the option is turned on. To turn the option off, you can unset the<br />

variable, or set a variable consisting of no followed by the name of the original<br />

variable. For example, setting autoprint turns the autoprint option on, and setting<br />

noautoprint turns it off.<br />

allnet Assumes that network addresses with the same login component refer to<br />

the same person. Network addresses typically consist of several<br />

components, giving information that lets a mail server identify a machine on<br />

the network, a route to that machine, and the login name of a user on that<br />

machine. mailx assumes that the login name is the last component. For<br />

example:<br />

print name<br />

displays all messages that originated from the same login name, regardless<br />

of the rest of the network address. The default is noallnet, where different<br />

addresses are assumed to be different users, even if the login name<br />

components are the same.<br />

append<br />

Appends messages to the end of the mbox file (your personal mailbox)<br />

after termination. The default is noappend; messages are placed at the<br />

beginning of the mbox file instead of the end.<br />

ask Prompts you for a Subject: line when composing a message (if you have<br />

not already specified one with the –s option). This option is on by default; to<br />

turn it off, set noask. ask is the same as asksub. noask is the same as<br />

noasksub.<br />

askbcc<br />

Prompts you for a Bcc: list when composing a message. The default is<br />

noaskbcc; you are not prompted.<br />

askcc Prompts you for a Cc: list when composing a message. The default is<br />

noaskcc; you are not prompted.<br />

asksub<br />

Prompts you for a Subject: line when composing a message (if you have<br />

not already specified one with the –s option). This option is turned on by<br />

default; to turn it off, set noasksub. asksub is the same as ask. noasksub<br />

is the same as noask.<br />

autoprint<br />

Automatically displays the last message deleted with the delete<br />

subcommand or the last message undeleted with undelete. The default is<br />

noautoprint; you are not shown messages that you delete or undelete.<br />

bang Records shell commands run inside the mailx session (for example,<br />

through the ~! input-mode command). Then, if you issue a shell command<br />

and the shell command contains a ! character, mailx replaces that<br />

character with the command line for the previous shell command. The<br />

default is nobang, in which case a ! in a shell command line is not treated<br />

specially.<br />

cmd Contains a command, possibly with options. This specifies a default<br />

command line to be used for the command-mode pipe subcommand. For<br />

example:<br />

mailx<br />

Chapter 2. Shell command descriptions 387

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

Saved successfully!

Ooh no, something went wrong!