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.
Tcsh has problems with command line editing in multibyte locales. The issue is discussed in more detail in the Breaks Multibyte Characters section of the Locale Related Issues page.
Download (HTTP): http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-6.14.00.tar.gz
Download (FTP): ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-6.14.00.tar.gz
Download MD5 sum: 353d1bb7d2741bf8de602c7b6f0efd79
Download size: 859 KB
Estimated disk space required: 9 MB
Estimated build time: 0.2 SBU
Required patch for use with Coreutils-5.96: http://www.linuxfromscratch.org/patches/blfs/6.2.0/tcsh-6.14.00-colorls_compat-1.patch
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tcsh
Install Tcsh by running the following commands:
patch -Np1 -i ../tcsh-6.14.00-colorls_compat-1.patch && ./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
This package does not come with a test suite.
Now, as the root user:
make install && make 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.14.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.14.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.14.00
--bindir=/bin: This installs the tcsh program in /bin instead of /usr/bin.
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 /etc/csh.cshrc, /etc/csh.login, /etc/csh.logout, ~/.tcshrc, ~/.cshrc, ~/.history, ~/.cshdirs, ~/.login, and ~/.logout. More information on these files can be found in the tcsh(1) man page.
Last updated on 2007-02-14 17:40:25 -0600