tcsh-6.12

Introduction to tcsh

Download location (HTTP):       
Download location (FTP):        ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-6.12.00.tar.gz
Version used:                   6.12
Package size:                   804 KB
Estimated Disk space required:  5.9 MB
Estimated build time:           0.77 SBU

The tcsh package contains "an enhanced but completely compatible version of the Berkeley UNIX C shell (csh)". This is useful as an alternative shell for those who prefer C syntax to that of the bash shell, and also because some programs require the C shell in order to install.

Installation of tcsh

Install tcsh by running the following commands:

./configure --prefix=/usr &&
make &&
make install &&
cp tcsh.man /usr/share/man/man1/tcsh.1 &&
ln -s /usr/bin/tcsh /bin/csh

Command explanations

cp tcsh.man /usr/share/man/man1/tcsh.1 : tcsh doesn't install its man page correctly, so we do it manually.

ln -s /usr/bin/tcsh /bin/csh : The FHS states that if there is a C shell installed, there should be a symlink from /bin/csh to it. This creates that symlink.

Configuring tcsh

Config files

There are numerous configuration files for the C shell. Examples of these are /etc/csh.cshrc, /etc/csh.login, ~/.tcshrc, ~/.cshrc, ~/.history, ~/.login, ~/.cshdirs, /etc/csh.logout, ~/.logout and ~/.logout. More information on these files can be found in the tcsh(1) man page.

Contents

The tcsh package contains tcsh.

Description

tcsh

tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh. It is usable as both an interactive shell and a script processor.