Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!gem.mps.ohio-state.edu!ctrsol!cica!iuvax!rutgers!att!cbnews!mjs From: mjs@cbnews.ATT.COM (martin.j.shannon) Newsgroups: comp.unix.i386 Subject: Re: rlogin problem with ISC 386/ix Keywords: rlogin Message-ID: <11947@cbnews.ATT.COM> Date: 4 Dec 89 19:53:46 GMT References: <1887@lamont.ldgo.columbia.edu> Reply-To: mjs@cbnews.ATT.COM (martin.j.shannon,59112,lc,4nr10,201 580 5757) Organization: AT&T Bell Laboratories Lines: 29 In article <1887@lamont.ldgo.columbia.edu> fritzz@lamont.ldgo.columbia.edu (fritz zaucker) writes: >I am running into troubles with rlogin. > >1) I run more on a large file and it is fine. > I run more on a file with less lines than the screen size. It is NOT fine. > It outputs a part of the file and that's it. Each time I try it I get > different amounts of the file. I can cat the file without problems. > ?????? I've seen a similar situation on many machines (none of which I've had source code available for). The behavior is as though the ioctl used by "more" to toggle between cbreak and cooked mode is TCSETAF instead of TCSETAW. What you're seeing is that the "F" (flush) has happened before rlogin's remote read drains "more"'s output queue. [I have no clues on your problem #2.] >Thanks a lot >Fritz Zaucker > >P.S.: Problem 1) occurs no matter if I am rloging in from the console or > from a X11 xterm. Given my hypothesis, it should happen either way. Marty Shannon -- Marty Shannon; AT&T Bell Labs; Liberty Corner, NJ (Affiliation given for identification only.)