HEPiX Shells Scripts - Others


This page describes the different aliases, shell variables, shell options that are used by the HEPiX shells scripts. %index


HEP Aliases

The following are site

This last command resets your terminal.


HEP Level - Shell Variables

The protection of these files prevents the shell to loop, trying to "re-execute" the same files. It is usefully introduced to allow the installation enforced mode and weak mode


Shell customisations

The following special interactive features of the shells will be enabled if possible:

History mechanism

The history file is set to $HOME/.history.$HOST.

Command line editing

Command line editing with the arrow keys (doesn't work in most csh versions)

	up arrow	up-history
	down arrow	down-history
	right arrow	forward-char
	left arrow	backward-char

In the zsh and tcsh you have also key bindings like the emacs key binding described later, especially for a history-search-backward and history-search-forward with the Page-Up/Prev-Page and Page-Down/Next-Page key and the Insert and Delete key, if present, work as expected.

Completion

All described shells support the word completion feature. In typing commands only a unique abbreviation is necessary. When you type a TAB (zsh,tcsh,bash), ESC (csh) or ESC ESC (ksh) it will complete the name for you. For the tcsh and zsh a context dependent completion mechanism for the most frequently used commands has been configured. For example a cd command followed by the TAB key only completes (or displays, if ambiguous) directories. \item In some shells directories are indicated with a trailing `/', executable files with a `*', symbolic links with a '@' and FIFOs (named pipes) with a '$|$'.

For more special features see the manuals of these shells.


Shell by shell features

C-shell - csh

HEP level

Site level

The history file had been disabled.

Korn shell - ksh

HEP level

The last 4 aliases enables the use of the arrow keys which is working in xterm but not in hpterm.

Site level

The history file had been disabled. The history is not cached anymore into a file but in separated temporary files per session which are removedat the end of the session. It avoids nasty ksh bugs.

Bourne Again shell - bash

HEP level

Tenex C-shell - tcsh

HEP level

Site level

The history file is disabled.

Z shell - zsh

HEP level

Variables and parameters

Options

Site level

The following options have been unset.


Others


Arnaud Taddei, 8-Jul-1996