From: liljeber@kruuna.Helsinki.FI (Mika Pekka Liljeberg)
Newsgroups: comp.os.linux,alt.os.linux
Subject: Tcsh for linux, fixed release
Date: 14 Apr 92 01:02:38 GMT
Distribution: comp,alt
Organization: Department of Computer Science, University of Helsinki, Finland


Hi, everyone!

I recently released a tcsh port for Linux. It had several unfortunate
bugs and oversights, which I have (hopefully) now fixed. I just
uploaded the fixed version to nic.funet.fi. It should be available
shortly.

This release has been compiled with GCC 2.1 under Linux 0.95c+.
Therefore, the binary will not work in machines with pre-0.95c
kernel. Sorry about that, but you should be able to recompile
tcsh for older kernels, if you can't upgrade to 0.95c+ for some
reason.

Bombard me with bug reports, if need be! Thanks to everyone, who did.

	Mika


README file follows...
-------------------------------------------------------------------------
Hello!

This is the second release of the Linux version of tcsh 6.01. The
package includes a ready-to-go binary of tcsh and some document files
and man pages from the official tcsh 6.01 release. For those, who wish
to compile everything by themselves, I have also included cdiffs to be
applied against the official source and a config.h file to be used
with Linux.

This release includes the following bug fixes:

1)	Several strange problems caused by improper signal handling
	have disappeared. The most noticeable of these were:

	- tcsh could be killed by pressing control-C twice in
	  a sequence

	- Command line editor did not update the command line
	  correctly in all cases.

2)	Linux specific signals are now displayed correctly in job
	control messages. The builtin `kill' command also accepts
	the full range of signals used in Linux.

3)	Pipes now work reliably with long files.

4)	An unmatched regular expression would cause a segmentation
	fault. Switching to GCC 2.1 and a newer library fixed this.


The binary has not been tested exhaustively and is quite possibly
still buggy. I would appreciate feed-back on that score. Tcsh was
compiled with GCC 2.1 using static libraries.


How to install:

Just copy tcsh into /usr/bin and tcsh.1 and glob.3 into /usr/man/man1
and /usr/man/man3 respectively. Tcsh can also be installed into
some other directory, but it was compiled to report the shell
path as /usr/bin/tcsh, so that is the preferred place.

IMPORTANT! The included binary will only run on Linux 0.95c or newer.
It is, however, possible to recompile tcsh under an older version of
Linux (see below) and the recompiled binary should run just fine.


How to compile:

To compile tcsh 6.01 you need to fetch the official release
tcsh-6.01.tar.Z from the nearest well-stocked archive site.
Unpack it into the same directory with this package and perform
the following steps:

1)	Apply the included patches on the source code:
	$ patch <linux.cdiff

2)	Copy the Linux config file from the config/ directory:
	$ cp config/config.linux config.h

3)	Run make:
	$ make

4)	Go and have some lunch (compilation takes a bit over 30
	minutes on a 25 MHz 386).


Comments and bug reports to:

liljeber@kruuna.Helsinki.FI


Enjoy!

	Mika Liljeberg

--
Mika Liljeberg			Email:	liljeber@kruuna.Helsinki.FI
Helsinki University			Mika.Liljeberg@Helsinki.FI
Dept. of Computer Science