🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.announce
Article #87

ANNOUNCE: BSD C Shell for Linux

#87
From: Robert Chen
Date: Fri, 08 Jan 1993 15:26
51 lines
2797 bytes
Hi.  About a week ago I posted whining about there not being many
working shells around for Linux.  Since then I see that ksh has been
uploaded to Sunsite and a newer version of tcsh.  To add to the list,
here is the "standard" C Shell.  I forgot to put into the readme that
you will probably want to put stty erase ^'?' into your .cshrc if you
like using backspace.  

The file is called csh526a.tar.Z and is currently on
sunsite.unc.edu:/pub/Linux/Incoming.  I imagine it will get moved to 
/pub/Linux/system/Shells soon.  It includes source and diffs.

Here is the README:

- Ken


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
Technical Details
Message-ID: <1993Jan8.152644.21983@klaava.Helsinki.FI>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.linux.announce,comp.os.linux
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
From: rchen@sfu.ca (Robert Chen)
Subject: ANNOUNCE: BSD C Shell for Linux
Message-ID: <1993Jan8.152644.21983@klaava.Helsinki.FI>
Followup-To: comp.os.linux
Keywords: csh, bsd, shell
Sender: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Fri, 8 Jan 1993 15:26:44 GMT
Approved: linux-announce@tc.cornell.edu (Lars Wirzenius)
Lines: 51