Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!asuvax!enuxha!rao From: rao@enuxha.eas.asu.edu (Arun Rao) Newsgroups: comp.windows.x Subject: Re: how does xterm tell vi the window size Summary: But ours works fine !? Keywords: xterm vi Message-ID: <286@enuxha.eas.asu.edu> Date: 4 Oct 89 18:33:48 GMT References: <253@zeek.UUCP> <1227@virtech.UUCP> Organization: Arizona State Univ, Tempe Lines: 25 In article <1227@virtech.UUCP>, cpcahil@virtech.UUCP (Conor P. Cahill) writes: > In article <253@zeek.UUCP>, rick@zeek.UUCP (Rick Wilhelm) writes: > > I logged on to a remote host and tried to vi a file. > > vi thinks that the window is 24 lines deep. > 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. -Arun -- Arun Rao ARPANET: rao@enuxha.eas.asu.edu BITNET: agaxr@asuacvax, agazr@asuacad 950 S. Terrace Road, #B324, Tempe, AZ 85281 Phone: (602) 968-1852 (Home) (602) 965-3452 (Office)