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.

The echotc, settc and telltc commands can be used to manipulate and debug<br />

terminal capabilities from the command line.<br />

The tcsh shell adapts to window resizing automatically and adjusts the environment<br />

variables LINES and COLUMNS if set.<br />

tcsh built-in commands<br />

The list below contains tcsh built-in commands which are not /bin/sh built-ins.<br />

Descriptions for the tcsh built-in commands are found at “tcsh built-in command<br />

descriptions” on page 673.<br />

% filetest popd uncomplete<br />

alloc glob pushd unhash<br />

bindkey hashstat rehash unlimit<br />

breaksw hup repeat unsetenv<br />

builtins limit sched watchlog<br />

bye login setenv where<br />

chdir logout settc which<br />

complete ls-F setty writedown<br />

dirs notify source<br />

echotc onintr telltc<br />

Other tcsh built-in commands are also found in the z/<strong>OS</strong> shell. In some cases, they<br />

may differ in function; see the specific command description for a discussion of the<br />

tcsh version of the command.<br />

: (colon) cd fg nice stop unset<br />

@ (at) echo history nohup suspend wait<br />

alias eval jobs printenv time<br />

bg exec kill set umask<br />

break exit newgrp shift unalias<br />

As well as built-in commands, the tcsh shell has a set of special aliases:<br />

beepcmd periodic shell<br />

cwdcmd precmd<br />

If set, each of these aliases executes automatically at the indicated time. They are<br />

initially undefined. For more information about aliases, see “Alias substitution” on<br />

page 640.<br />

Descriptions of these aliases are as follows:<br />

beepcmd<br />

Runs when the shell wants to ring the terminal bell.<br />

cwdcmd<br />

Runs after every change of working directory. For example, if the user is<br />

working on an X window system using xterm and a re-parenting window<br />

manager that supports title bars such as twm and does<br />

> alias cwdcmd ’echo -n "^[]2;${H<strong>OS</strong>T}:$cwd ^G"’<br />

then the shell will change the title of the running xterm to be the name of<br />

the host, a colon, and the full current working directory. A fancier way to do<br />

that is<br />

> alias cwdcmd ’echo -n "^[]2;${H<strong>OS</strong>T}:$cwd^G^[]1;${H<strong>OS</strong>T}^G"’<br />

tcsh<br />

Chapter 2. Shell command descriptions 653

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

Saved successfully!

Ooh no, something went wrong!