Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!think!barmar From: barmar@think.com (Barry Margolin) Newsgroups: comp.windows.x Subject: Re: Remote xterm strategy Message-ID: <32969@news.Think.COM> Date: 18 Jan 90 07:43:22 GMT References: <32711@news.Think.COM> <373@cvbnet.Prime.COM> Sender: news@Think.COM Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 16 In article <373@cvbnet.Prime.COM> aperez@cvbnet.UUCP (Arturo Perez x6739) writes: >I use > rsh host xterm >because then when I resize the xterm (which I do fairly often), the >row and columns information is transmitted correctly. The 4.3bsd version of the rlogin protocol transmits window size changes. Rlogin sets up a SIGWINCH handler and sends an out-of-band message with the new window size. When rlogind receives this control sequence it performs an ioctl() of the pty to set the window size, which causes the process on the other end of the pty to get a SIGWINCH. -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar