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.

COLUMNS<br />

Contains the number of columns between the left and right margins (see<br />

option variable wrapmargin). This is also used as the horizontal screen<br />

size.<br />

ENV Contains the pathname of a file containing KornShell commands. When you<br />

invoke sh, it executes this file before doing anything else.<br />

EXINIT<br />

Contains a list of vi commands to be run when the editor is started up.<br />

HOME Contains the directory to be searched for the editor startup file.<br />

LINES Contains the number of lines in a screenful (see option variable windows).<br />

This is also used as the vertical screen size.<br />

PATH Contains a list of directories to be searched for the shell command specified<br />

in the ex commands read, write, and shell.<br />

SHELL<br />

Contains the name of the command interpreter for use in !, shell, read,<br />

write, and other ex commands with an operand of the form !string. The<br />

default is the sh utility.<br />

TERM Contains the name of the terminal type.<br />

TERMINFO<br />

Contains the pathname of the terminfo database.<br />

TMPDIR<br />

Contains the pathname that the shell uses as the directory for temporary<br />

files.<br />

TMP_VI<br />

Contains a directory pathname that can be specified by an administrator as<br />

a location for vi’s temporary files. This is useful if the current default<br />

directory for these files (usually /tmp) is implemented as a TFS. In this<br />

case, all vi’s temporary files that the exrecover daemon uses for recovery<br />

would be gone after a system crash.<br />

We recommend that this environment variable be set by a system<br />

administrator as opposed to a user setting it for their environment. If the<br />

latter occurs, and the user sets the TMP_VI directory to something different<br />

than what exrecover recognizes as TMP_VI, the user will need to run the<br />

exrecover daemon manually to allow the temporary files to be converted to<br />

the recoverable files used by vi (located in /etc/recover/$LOGNAME).<br />

Note: A system administrator should NOT set TMP_VI to<br />

/etc/recover/$LOGNAME. Also, the administrator should not set<br />

TMP_VI to any directory where a pathname component is an<br />

environment variable with a user’s value different than the init<br />

process’s value (eg. $HOME). vi’s temporary files are converted into<br />

a form recoverable by vi when exrecover is run during IPL. Since<br />

exrecover is issued during IPL, it is owned by the init process and<br />

will therefore contain different values for certain environment<br />

variables, if those environment variables are set. Throughout the file<br />

system, there may exist some temporary files that can only be<br />

converted by exrecover. This conversion can be done manually by a<br />

system administrator (to recover files owned by all users) or by a<br />

single user (to recover only their own files).<br />

vi<br />

Chapter 2. Shell command descriptions 785

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

Saved successfully!

Ooh no, something went wrong!