Xref: utzoo comp.unix.internals:2434 comp.unix.ultrix:6676 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.unix.internals,comp.unix.ultrix Subject: Re: question about rlogin/window size Message-ID: <11469@dog.ee.lbl.gov> Date: 26 Mar 91 19:42:25 GMT References: <1991Mar25.225654.22933@boingo.med.jhu.edu> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 24 X-Local-Date: Tue, 26 Mar 91 11:42:26 PST In article <1991Mar25.225654.22933@boingo.med.jhu.edu> dave@boingo.med.jhu.edu (David Heath) writes: >I am using the rlogin program on dec ultrix 4.0 to rlogin into various >hosts. Rlogin uses the TIOCGWINSZ ioctl to find the window size and pass >it to the remote rlogind. This USUALLY works for me. However, it sometimes >doesn't and NEVER works when I run rlogin from a shell script rather than >typing in the rlogin command myself. ... Around August 1986, I put a fair amount of work into fixing the BSD rlogin program. It had several race conditions, among other problems. If DEC have not picked up these fixes yet, that would explain the problem. Note that since rlogin uses `rcmd' and rcmd races with the SIGURG handler, you must change rcmd as well. In the version I ran on Sun workstations I used the expedient of copying the library rcmd routine into rlogin itself, and adding the missing F_SETOWN fcntl. Those suffering with impoverished environments may be able to make use of the BSD software found on uunet. No statement of warranties implied, etc., etc. -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov