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.

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

Variable Purpose<br />

histdup Controls handling of duplicate entries in the history list. If<br />

set to all only unique history events are entered in the<br />

history list. If set to prev and the last history event is the<br />

same as the current command, then the current<br />

command is not entered in the history. If set to erase and<br />

the same event is found in the history list, that old event<br />

gets erased and the current one gets inserted. The prev<br />

and all options renumber history events so there are no<br />

gaps.<br />

histfile The default location in which history -S and history -L<br />

look for a history file. If unset, ~/.history is used. histfile<br />

is useful when sharing the same home directory between<br />

different machines, or when saving separate histories on<br />

different terminals. Because only ~/.tcshrc is normally<br />

sourced before ~/.history, histfile should be set in<br />

~/.tcshrc instead of ~/.login.<br />

An example:<br />

set histfile = ~/.history<br />

histlit If set, built-in and editor commands and the savehist<br />

mechanism use the literal (unexpanded) form of lines in<br />

the history list. See also the toggle-literal-history editor<br />

command.<br />

history The first word indicates the number of history events to<br />

save. The optional second word indicates the format in<br />

which history is printed; if not given, %h\t%T\t%R\n is<br />

used. The format sequences are described below under<br />

prompt. (Note that %R has a variable meaning). Set to<br />

100 by default.<br />

home Initialized to the home directory of the invoker. The<br />

filename expansion of ~ refers to this variable.<br />

ignoreeof If set to the empty string or 0 and the input device is a<br />

terminal, the end-of-file command (usually generated by<br />

the user by typing ^D on an empty line) causes the shell<br />

to print ’Use ″logout″ to leave tcsh.’ instead of exiting.<br />

This prevents the shell from accidentally being killed. If<br />

set to a number n, the shell ignores n - 1 consecutive<br />

end-of-files and exits on the nth. If unset, 1 is used. That<br />

is, the shell exits on a single ^D.<br />

implicitcd If set, the shell treats a directory name typed as a<br />

command as though it were a request to change to that<br />

directory. If set to verbose, the change of directory is<br />

echoed to the standard output. This behavior is inhibited<br />

in non-interactive shell scripts, or for command strings<br />

with more than one word. Changing directory takes<br />

precedence over executing a like-named command, but it<br />

is done after alias substitutions. Tilde and variable<br />

expansions work as expected.<br />

inputmode If set to insert or overwrite, puts the editor into that input<br />

mode at the beginning of each line.<br />

tcsh<br />

Chapter 2. Shell command descriptions 659

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

Saved successfully!

Ooh no, something went wrong!