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 perform installation tasks.
Download (HTTP): http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-6.15.00.tar.gz
Download (FTP): ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-6.15.00.tar.gz
Download MD5 sum: 67a0611620b080bd0eb032b1774382b6
Download size: 870 KB
Estimated disk space required: 10 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tcsh
Install Tcsh by running the following commands:
./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
To test the results, issue: make check. Note that test #68 (“nice” test) is known to fail.
Now, as the
make install install.man && ln -v -sf tcsh /bin/csh && ln -v -sf tcsh.1 /usr/man/man1/csh.1 && install -v -m755 -d /usr/share/doc/tcsh-6.15.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.15.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.15.00
installs the tcsh
/bin instead of
sh ./tcsh.man2html: This creates HTML documentation from the formatted man page.
ln -v -sf 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.
There are numerous configuration files for the C shell. Examples
of these are
~/.logout. More information on these files can
be found in the
tcsh(1) man page.
/etc/shells to include the C
shell program names (as the
cat >> /etc/shells << "EOF"
Last updated on 2008-05-09 07:42:27 -0500