Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!crdgw1!ge-dab!peora!rtmvax!ssd From: ssd@rtmvax.UUCP (Steve Dick) Newsgroups: comp.windows.x Subject: Re: Why doesn't xterm -e rlogin use window size? Message-ID: <3116@rtmvax.UUCP> Date: 15 Aug 90 01:53:26 GMT References: <9008110838.AA14199@Larry.McRCIM.McGill.EDU> Reply-To: ssd@rtmvax.UUCP (Steve Dick) Organization: RTmVax Public Unix System, Orlando FL Lines: 35 >> If I issue the command: >> rcmd ssg0 xterm -display ssg2:0 >> the programs which use the screen size (more, vi, rn) understand the >> size of the window. On the other hand, if I issue: >> xterm -e rlogin ssg0 >> all program remain convinced that the window is the size defined by >> the termcap entry, regardless of the window's actual size. > >> Why? [stuff deleted] > The first command works because, of course, rlogin is not involved; > xterm is running directly on ssg0. I have a similar problem. It seems that when rlogin initially creates the connnection, it does not copy the size. If I resize the window after starting it, rlogin corrects the size. Is there some easy way to fix this other than resizing the window? I would like to know how to either a) get rlogin to copy the size initially or b) get X to tell rlogin to re-copy the size without actually changing the size of the window. Also, I've noticed that the Sun version of vi gets very unhappy if I resize its window bigger. (It usually works if I make it smaller.) I do not have this problem with the vi distributed with Encore's Gould machine. {uiucuxc,hoptoad,petsd}!peora!rtmvax!ssd ssd@ucfunix.engr.ucf.edu ucfunix!ssd@ucf-cs.ucf.edu