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 />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

mailx<br />

MAIL Gives the pathname of the user’s mailbox file for purposes of incoming mail<br />

notification.<br />

MAILDIR<br />

Gives the name of the directory where system mailboxes are stored. If this<br />

is not set, the default is /usr/mail. The actual name of a user’s system<br />

mailbox is derived in a system-dependent way by combining MAILDIR and<br />

the user’s login name. For mailx to work properly, the MAILDIR directory<br />

must exist.<br />

MAILRC<br />

Gives the name of your startup file. This cannot be changed inside mailx.<br />

By default, MAILRC has the value $HOME/.mailrc. For more information<br />

about startup files, see “Startup Files” on page 384.<br />

MBOX Gives the name of your mbox (personal mailbox) file. Messages that have<br />

been read but not saved elsewhere are saved here when you run quit (but<br />

not when you run exit). The default is $HOME/mbox.<br />

PAGER<br />

Gives a command, possibly including options. mailx sends display output<br />

through this command if the output is longer than the screen length given<br />

by crt. The default value is more (see “more — Display files on a<br />

page-by-page basis” on page 429 for more information on more).<br />

SHELL<br />

Gives a command, possibly with options. mailx assumes that this command<br />

is a command interpreter. mailx invokes this command interpreter<br />

whenever it is asked to run a system command (for example, through the !<br />

command-mode command). The default is sh (see “sh — Invoke a shell” on<br />

page 549 for more information on sh).<br />

TERM Contains the name of the terminal type. This cannot be changed inside<br />

mailx.<br />

TZ This variable may determine the time zone used to calculate date and time<br />

strings written in mailx. This cannot be changed inside mailx .<br />

_<strong>UNIX</strong>03<br />

For more information about the affect of _<strong>UNIX</strong>03 on this command, see<br />

Appendix N, “<strong>UNIX</strong> shell commands changed for <strong>UNIX</strong>03,” on page 943.<br />

VISUAL<br />

Gives a command, possibly with options, that mailx invokes when using the<br />

command-mode visual subcommand or the input mode ~v subcommand.<br />

The default is vi (see “vi — Use the display-oriented interactive text editor”<br />

on page 758 for more information on vi).<br />

The HOME and LOGNAME variables must be set before you enter mailx.<br />

Otherwise, mailx will not work properly. The TZ variables can only be set before<br />

you enter mailx. If not set or set to null, a default time zone (″UTC0″) will be used.<br />

These variables are usually set during shell login. (You can login with TSO/E<br />

OMVS, telnet, rlogin, or ssh.) If you do not log in, you must set the variables in<br />

some other way, using the commands:<br />

export LOGNAME=name<br />

export HOME=directory<br />

The remaining variables can be set in the external environment or in the course of<br />

a mailx session. You can set or change the value of a variable with the set<br />

subcommand; you can discard a variable with the unset subcommand. You may<br />

386 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!