Appendix A. Obtaining and Installing tcsh

In This Appendix:

  • Obtaining the Source Distribution

  • Build the Distribution—Quick Instructions

  • Build the Distribution—Detailed Instructions

  • Testing and Installing tcsh

  • Allowing tcsh To Be a Login Shell

This appendix describes how to obtain, build, test, and install tcsh. As I write, tcsh is at version 6.06. If a more recent version has been released, simply substitute the new version number for 6.06 in the following commands in which it appears.

The first step in installing tcsh is determining if an up-to-date tcsh is already installed on your system. If so, you do not need to do anything except change your login shell to tcsh. (See "Selecting a Shell" in Chapter 1, Introduction.) Otherwise, you must obtain the current version and then install it.

Find out whether tcsh is installed and what its pathname is by asking your system administrator, or by running this command:

% which tcsh

If tcsh is present, determine its version number using the following command. Use single quotes as shown, but substitute the actual pathname if it differs from /bin/tcsh:

% /bin/tcsh -c 'echo $version'
tcsh 6.00.02 (Cornell) 08/05/91 options 8b,nls,dl,al,dir

If the output of this command indicates that your tcsh is an old version (as it does in the above example), obtain the current version and install it.

Obtaining the Source Distribution

The tcsh source distribution is available on the Internet via anonymous FTP. Connect to ftp.deshaw.com, change into the /pub/tcsh ...

Get Using csh & tcsh now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.