Article View: comp.sources.d
Article #754Re: Tcsh and sources to csh
From: Systems Staff
Date: Thu, 03 May 1990 02:39
Date: Thu, 03 May 1990 02:39
73 lines
3723 bytes
3723 bytes
In article <55554@bbn.COM>, pplacewa@bbn.com (Paul W Placeway) writes:
> < > [ stuff about getting the sources to tcsh ] Anyone know where I can
> < > swipe the sources to csh?
>
> < >Not without sending you to jail. You need an AT&T source license to
> < >get the sources to csh.
> ...
> Correct. Berkeley has not yet suceeded in freeing the rest of csh
> from the v6 /bin/sh sources. What I heard is that the latest time
^^---- should that be v7?
> they asked "is it free now", AT&T responded something like "maybe it
> is, and maybe it isn't. Why don't you release it and find out".
> ...
> Maybe I should put a file in the FTP/UUCP area called something like
> "forget_about_tcsh.src_if_you_don't_have_BSD_sources"...
>
The only version of csh sources which are freely available that I
have seen is described in its README file as follows:
| This is csh for the AT&T 3B2. It is essentially the same code as
| came with Berkeley 2.9BSD called ``oldcsh''. To install it on a 3b2
| type "make ninstall".
| Notes
| In Unix SYS V the file /etc/profile is executed at login by /bin/sh.
| To simulate this, at the same times a $HOME/.login would be read, the
| file /etc/login is executed. This file should emulate anything that
| is done by /etc/profile. A sample is inculded in this directory.
| Getpwent: There are stripped down versions of getpwent enclosed.
| You can use them or your standard system getpwent routines. Some
| getpwents have bugs which prevent the ~user syntax from working more
| than once. (They try to open the passwd file and keep a file descriptor
| open, but csh closes all file descriptors.) getpwnam is supposed to call
| endpwent which closes passwd. The other reason to use the local getpwent
| routines is to help make csh fit in 40K to run -n, since the standard ones
| suck in stdio. Otherwise you might as well use the stdio versions since
| csh will run slightly faster doing ~user with stdio buffering.
| Bugs: there are lots of them. All known bugs have been fixed in the process
| control version. Here's a kludge to get around the current peeve:
| a bug prevents >file from working as the first command in a .logout or
| source command. If you really want this, put another command before it
| or put the command in parentheses. The only known fix to this prevents
| the construct "source file > file2" from working, which is probably just
| as well.
I was surprised and concerned when I saw this and contacted the sysadmin
who told me that this version had indeed been cleared by AT&T through
their (I think I remember the title -- this was a while back) University
Consortium Initiative.
Sometimes it seems like on AT&T hand doesn't know waht the other one
is doing.
Does anyone know whether this version would be of any use in building
tcsh?
Thos Sumner Internet: thos@cca.ucsf.edu
(The I.G.) UUCP: ...ucbvax!ucsfcgl!cca.ucsf!thos
BITNET: thos@ucsfcca
U.S. Mail: Thos Sumner, Computer Center, Rm U-76, UCSF
San Francisco, CA 94143-0704 USA
I hear nothing in life is certain but death and taxes -- and they're
working on death.
#include <disclaimer.std>
Technical Details
Message-ID:
<2849@ucsfcca.ucsf.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!ucsfcgl!cca.ucsf.edu!rootReferences:
<3153@rodan.acs.syr.edu> <55554@bbn.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!ucsfcgl!cca.ucsf.edu!root From: root@cca.ucsf.edu (Systems Staff) Newsgroups: comp.sources.d Subject: Re: Tcsh and sources to csh Summary: Well, there is an old source available ... Message-ID: <2849@ucsfcca.ucsf.edu> Date: 3 May 90 02:39:26 GMT References: <3153@rodan.acs.syr.edu> <55554@bbn.COM> Organization: Computer Center, UCSF Lines: 73