2000-03-18

hi again,

it's not fair - i'v ported the damn thing just in case (yes, there are
existing csh scripts in some packages). but there's feedback and now
i'm involved in maintaining the beast...

ok then, here's the new `patchlevel 2' release.

what's changed/fixed:

	- man page: some minor bugs were fixed, so groff will not
	munch anymore.

	- init.c: signal names and messages were adapted to linux/glibc2.
	this patch was contributed by splite@purdue.edu. thanx.

	- file.c: now the entire line is reprinted after using ^d.
	this patch was contributed by splite@purdue.edu. thanx again.

	- file.c: fixed ESC file completion on console without ECHOCTL.
	
	remember to say `set filec' to enable file completion,
	or try and locate `filec = 0' and change it to permanently
	enable this feature.

cheers,

ivak@metallica.com

---

2000-01-18

this little thingie is nice and pretty, but it's time to kill the
ancient libc5. so, i'v ported it to glibc2.

the patch affects mainly the signal handling and assorted missing
definitions. i'v removed the __USE_BSD_ flags because there's no good
reason to leave them. the beastie compiles cleanly and with no nasty
warnings. now it's about 105k, but that's the life (look at what m$
has done to the world recently).

i'm too lazy to create a diff file. the original tarball's named
'csh526a.tar.Z' located somewhere in the metalab's mess.
you can review the changes by yourself, if you are so inclined.

and again: - it works well for me, but your milage may vary.

ivak@metallica.com

oh, i forgot:
compiled with gcc 2.95.2, linux 2.2.14, glibc 2.1.3pre1

---

1/7/93

Here is my port of BSD C Shell (ver 5.26) from the 386BSD source tree.  
It works well for me, but as this is a first release so your milage may vary.  
While this csh may lack some of the bells and wistles you have come to 
expect from bash or tcsh, it has some advantages:

- Good man page included. (I wish bash had this)
- It works. (I wish my tcsh did)
- About as "standard" a csh as you can get.  Any decent introduction to Unix 
  book has a section devoted to the C shell.
- Weighs in at only 95k.

If you wish to compile the source, you will need gcc 2.3.3 and the new 
4.2 libraries.  (It will compile with gcc 2.2.2d but core dumps on execution).
This release has only been tested with Linux 0.99.2, but should work okay 
with 0.97.3 and above.  It probably requires the 4.2 shared libraries
to run.

If you have any problems that you can isolate, please feel free to contact 
me.  Better still, if you know something about BSD and SysV (POSIX?) 
signals, please take a look at the diffs and let me know if my changes
make sense.  The code was compiled with __USE_BSD_SIGNAL, but other changes
had to be made, particularly having to do with the wait3 system call.  Also, 
a couple of changes were made to glob.c that I am not entirely happy with, 
so if you run into problems with csh not globbing correctly, let me know.

Finally, I am interested in porting the "latest" version of csh to Linux 
(I have 5.34 dated 2/5/92).  In particular, if you know anything about 
"vis.h", please contact me.  I cannot find any information on it.

Enjoy!

Ken Clark
ken@trog.biol.sfu.ca (which forwards mail to) rchen@fraser.sfu.ca

