Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!agate!usenet.ins.cwru.edu!odin!chet From: chet@odin.INS.CWRU.Edu (Chet Ramey) Newsgroups: comp.sys.next Subject: Re: tcsh Message-ID: <1991Mar15.202927.2472@usenet.ins.cwru.edu> Date: 15 Mar 91 20:29:27 GMT References: <1991Mar12.072203.12123@nntp-server.caltech.edu> <1991Mar14.054625.3751@cs.umn.edu> Sender: news@usenet.ins.cwru.edu Reply-To: chet@po.CWRU.Edu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 40 Nntp-Posting-Host: odin.ins.cwru.edu In article <1991Mar14.054625.3751@cs.umn.edu> cattelan@mermaid.micro.umn.edu (Russell Cattelan) writes: >>If there's no tcsh, does anyone know if bash will work on the NeXT? Yes, it will. >But I would suspect your problem is with /usr/etc/rlogind (or was that >rpc.rlogind Whatever) and /bin/login. For some reason unless the name >of your shell is /bin/csh the remote logins just hang. When I brought CWRU bash 1.07 up on a NeXTstation, I ran into this, and found out that there are a number of bugs in /usr/etc/rlogind. Here's an excerpt from mail I sent to someone explaining it. Now that you're working on bash for NeXT, let me ask you if you've run into this bug under 2.0: bash, as a login shell, hangs on rlogin into the NeXT. But it works fine on telnet. On rlogin, I even get no output to stdout from the 'tset' (or debugging 'echo's) in my startup files. It's getting stuck in initialize_jobs (). There is a bug in the NeXT /usr/etc/rlogind that causes bash to be started with the terminal still belonging to the rlogind process, and its process group set to 0 (so that getpgrp() returns 0). It looks like there's a stray setpgrp(0, 0) in the rlogind code that NeXT is not handling like 4.3 BSD. >I tried many different things includeing cp /bin/csh /usr/local/bin/tcsh >and the logins would still failed. >I also tried cp /usr/local/bin/tcsh /bin/csh and it worked >(ie I was running tcsh but called /bin/csh) This is probably an /etc/shells issue. Chet -- Chet Ramey ``Now, somehow we've brought our sins Network Services Group back physically -- and they're Case Western Reserve University pissed.'' chet@ins.CWRU.Edu My opinions are just those, and mine alone.