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.

tcsh<br />

Table 32. tcsh Built-in Shell Variables (continued)<br />

Variable Purpose<br />

prompt3 The string with which to prompt when confirming<br />

automatic spelling correction. The same format<br />

sequences may be used as in prompt (note the variable<br />

meaning of %R). Set by default to CORRECT>%R<br />

(y|n|e|a)? in interactive shells.<br />

promptchars If set (to a two-character string), the %# formatting<br />

sequence in the prompt shell variable is replaced with the<br />

first character for normal users and the second character<br />

for the superuser.<br />

pushdtohome If set, pushd without arguments does pushd ^, like cd.<br />

pushdsilent If set, pushd and popd do not print the directory stack.<br />

recexact If set, completion completes on an exact match even if a<br />

longer match is possible.<br />

recognize_ only_ executables If set, command listing displays only files in the path that<br />

are executable.<br />

rmstar If set, the user is prompted before rm * is executed.<br />

rprompt The string to print on the right-hand side of the screen<br />

(after the command input) when the prompt is being<br />

displayed on the left. It recognises the same formatting<br />

characters as prompt. It will automatically disappear and<br />

reappear as necessary, to ensure that command input<br />

isn’t obscured, and will only appear if the prompt,<br />

command input, and itself will fit together on the first line.<br />

If edit isn’t set, then rprompt will be printed after the<br />

prompt and before the command input.<br />

savedirs If set, the shell does dirs -S before exiting.<br />

savehist If set, the shell does history -S before exiting. If the first<br />

word is set to a number, at most that many lines are<br />

saved. (The number must be less than or equal to<br />

history.) If the second word is set to merge, the history<br />

list is merged with the existing history file instead of<br />

replacing it (if there is one) and sorted by time stamp and<br />

the most recent events are retained.<br />

An example:<br />

set savehist = ( 15 merge )<br />

sched The format in which the sched built-in command prints<br />

scheduled events. If not given, %h\t%T\t%R\n is used.<br />

The format sequences are described under prompt; note<br />

the variable meaning of %R.<br />

shell The file in which the shell resides. This is used in forking<br />

shells to interpret files which have execute bits set, but<br />

which are not executable by the system (see “Built-in and<br />

non-built-in command execution” on page 645. Initialized<br />

to the (system-dependent) home of the shell.<br />

shlvl The number of nested shells. Reset to 1 in login shells.<br />

See also loginsh.<br />

status The status returned by the last command. If it terminated<br />

abnormally, then 0200 is added to the status. tcsh built-in<br />

commands which fail return exit status 1, all other built-in<br />

commands return status 0.<br />

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