csh

DoN Nichols dnichols at ceilidh.beartrack.com
Tue Mar 5 13:12:10 AEST 1991


In article <5964 at amc-gw.amc.com> jwbirdsa at polaris.amc.com () writes:
>
>   I got the csh from osu (pub/att7300/csh-src.tar.Z). It compiled without
>significant incident using gcc 1.39 -- one warning in the last file.

	I compiled it under gcc 1.37, also no real problems, just some
warnings, which were eliminated by adding a declaration for the return type
of signal(2)

	Also, look out for the definition of SHELLPATH in sh.local.h.  As
delivered, it is expecting the csh to reside in something like "/ucb/bin/csh".
I have already changed it, and don't want to locate and untar or uncpio the
file it came in, but this should be changed to "/bin/csh", or wherever you
want the csh to live.  I didn't want to make an extra directory and add it
to the PATH, just for a single program to which I have source.  If I had
nothing but a binary, the choices would be to patch with adb, or to live
with the extra directory.

>   It seems to be a reasonably functional csh. The job control features are
>missing, but given the lack of kernel support, this is hardly surprising.
>History, aliases, and filename expansion all seem to work normally. The
>enhanced cd (with cdpath) works. The builtin function "eval" is missing.
>
>   There's only one thing that really really really should be there that
>isn't. IT DOESN'T DO FILENAME COMPLETION! _Why_ doesn't it do filename
>completion? I don't know of any technical reason why the 3B1 couldn't
>support it (unlike the job control stuff). Of course, filename completion
>is one of the major reasons that I wanted a csh in the first place.

	Well, I wanted it for the history mechanism, but I've had enough
time to learn ksh, and I far prefer it, especially the version from THE
STORE.  At this point, I only wanted csh for completeness.  It is still more
functional than the csh on my old v7 machine :-) (Acutally, I haven't gotten
around to testing it for the reversed test bug, yet.)  (Come to think of it,
I haven't tested the csh on my Tektronix 6130 (4.3BSD) yet either.)  I wish
that I could afford ksh source for it, now that I've become addicted to
emacs (jove) editing mode in the shell command line.

	Happy Hacking
		DoN.

-- 
Donald Nichols (DoN.)		| Voice (Days):	(703) 664-1585
D&D Data			| Voice (Eves):	(703) 938-4564
Disclaimer: from here - None	| Email:     <dnichols at ceilidh.beartrack.com>
	--- Black Holes are where God is dividing by zero ---



More information about the Comp.sys.3b1 mailing list