Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!ucselx!bionet!agate!shelby!portia.stanford.edu!elaine8.stanford.edu!fangchin From: fangchin@elaine8.stanford.edu (Chin Fang) Newsgroups: comp.unix.sysv386 Subject: Re: why doesnt vi resize itself in xterm and other weirdness Message-ID: <1991Jan14.215038.9834@portia.Stanford.EDU> Date: 14 Jan 91 21:50:38 GMT References: <37871@cup.portal.com> <1991Jan13.100440.2138@kithrup.COM> Sender: news@portia.Stanford.EDU Distribution: na Organization: Stanford University, California, USA Lines: 27 In article <1991Jan13.100440.2138@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: > >> Another problem is that if you do rlogin and then vi on the >>remote machine from an xterm, the vi window is always 25x80 no matter >>what size your xterm is. Is there anything I should fix in xterm termcap? > I do remote login from my ESIX Rev D X's xterms to SUN, VAX8800, MIPS 5400, all run UNIX. My modem program is CKermit or Pcomm. I also do rlogin from one UNIX machine to another all the time. I always can at least manually tell vi, emacs, less, more etc to adjust to the right window size by typing (or including in appropriate login initialization files, depending your shell): stty cols c# rows r# [enter] where c# is the desired column number (100 for example) r# is the desired row number (42 for example) Hope this helps Regards Chin Fang Mechanical Engineering Department Stanford University fangchin@portia.stanford.edu