why doesnt vi resize itself in xterm and other weirdness

Chin Fang fangchin at elaine8.stanford.edu
Tue Jan 15 08:50:38 AEST 1991


In article <1991Jan13.100440.2138 at kithrup.COM> sef at 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 at portia.stanford.edu



More information about the Comp.unix.sysv386 mailing list