Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.windows.x Subject: Re: how does xterm tell vi the window size Keywords: xterm vi Message-ID: <1233@virtech.UUCP> Date: 5 Oct 89 00:23:00 GMT References: <253@zeek.UUCP> <1227@virtech.UUCP> <286@enuxha.eas.asu.edu> Organization: Virtual Technologies Inc Lines: 33 In article <286@enuxha.eas.asu.edu>, rao@enuxha.eas.asu.edu (Arun Rao) writes: > In article <1227@virtech.UUCP>, cpcahil@virtech.UUCP (Conor P. Cahill) writes: > > For bsd you need to use: > > stty rows xx columns xx > > > > Since vi is a pre-X program, it has no built in mechanisms for determining > > .... > > vi seems to work fine on our BSD system (an HCX-7 running 4.3BSD) > when I log in from our System V workstations (a bunch of Ardent > Titans). I copied the /etc/termcap file from the Ardent to a > .termcap file in my home dir. on the Harris - this is probably what > did it. But how does this solve the problem when you login with one window that is 40 rows and another that is 32 rows and a monster that is 75 rows? Do you have different terminal types for every window? the stty option lets you use the same terminal definition for each window. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+