Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!umn-d-ub!cs.umn.edu!cattelan From: cattelan@umn-cs.cs.umn.edu (Russell Cattelan) Newsgroups: comp.sys.next Subject: tcsh lives on the Cubes Message-ID: <1990Jun5.164639.34@cs.umn.edu> Date: 5 Jun 90 16:46:39 GMT Sender: cattelan@cs.umn.edu (Russell Cattelan) Organization: University of Minnesota, Minneapolis - CSCI Dept. Lines: 19 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} <> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>