[comp.sys.next] tcsh lives on the Cubes

cattelan@umn-cs.cs.umn.edu (Russell Cattelan) (06/05/90)

I finally sat down and found out why tcsh does not work on the cube.
It turnes out that the global variable envrion did not have an 'extern'
in front of it, consequently is was being set up as a local variable, and
thus when dereferenced, being that is was never initialized to anything 
a bus error resulted. 
To fix this on line 908 of sh.func.c change the line 
   char **environ 
to
   extern char **environ

Unless some one can give me a good reason (like copyright laws and thus)
I will try to put the binary at one (or several) of the popular archive
sites. 

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> :-{             :-\<>  Russell Cattelan       University of Minnesota    <>
<>    :-}       :-`)  <>  cattelan@umn-cs.cs.umn.edu                        <>
<>       :-) :-(      <>  {...!rutgers!umn-cs!cattelan}                     <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

jacob@gore.com (Jacob Gore) (06/06/90)

/ comp.sys.next / cattelan@umn-cs.cs.umn.edu (Russell Cattelan) / Jun 5, 1990 /
> Unless some one can give me a good reason (like copyright laws and thus)
> I will try to put the [tcsh] binary at one (or several) of the popular
> archive sites. 

You named the good reason yourself: tcsh is based on csh which, last I
checked, has not been cleared as free from AT&T code.  Look among the
released 4.3-tahoe files at uunet, if you don't find csh there, you
shouldn't release a tcsh binary globally.

Jacob
--
Jacob Gore		Jacob@Gore.Com			boulder!gore!jacob