From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,24d77d239653cff9 X-Google-Attributes: gidfee84,public From: chmbt@zeus.bris.ac.uk (Mark Taylor) Subject: Re: DUnix 4.0B /bin/csh and errors in .cshrc/.login Date: 1997/02/24 Message-ID: #1/1 X-Deja-AN: 221036938 Sender: usenet@fsa.bris.ac.uk (Usenet) X-Nntp-Posting-Host: zeus.bris.ac.uk References: <5edbi6$f43$1@jupiter.cs.uml.edu> Organization: University of Bristol, England Newsgroups: comp.unix.osf.osf1 On 18 Feb 1997 17:47:34 -0500 Brian 'Doc' O'Neill (oneill@cs.uml.edu) wrote: >Does anybody know why the /bin/csh that comes with 4.0B kicks people out for >simple syntax errors in their .cshrc or .login files? This has caused a LOT >of trouble for me, as I'm constantly getting phone calls from people who >can't log in... > The /bin/csh which comes with Digital Unix 4.0 is buggy. The bugs I have come across are to do with pattern matching, and are quite serious (csh can hang just trying to do a pattern match, as well as giving some *very* odd results). The bugs were introduced apparently when they rewrote csh for POSIX compatibility. The fix I have used is just taking the /bin/csh binary from Digital Unix 3.2 and using that instead, it seems to work perfectly OK but apparently isn't POSIX compliant, but I can live with that. You could try getting Digital to rewrite the csh, but when I reported the bug the man on the end of the phone asked me nicely not to, and I figured it wouldn't be a very fast solution, so I didn't push it. I'm not certain this is the same problem you're seeing of course ... I can get you a 3.2 /bin/csh binary if you want. ----------------------------------------------------------------------- | Mark Beauchamp Taylor - physicist trapped in a chemist's body. | | mark.taylor@bris.ac.uk http://zeus.bris.ac.uk/~chmbt/index.html | | Department of Chemistry, University of Bristol, UK ------- -----------------------------------------------------| ... It's the future! | ------------------------