*BSD News Article 40630


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!goanna.cs.rmit.edu.au!aggedor.rmit.EDU.AU!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!news.clark.edu!netnews.nwnet.net!serval.net.wsu.edu!beta.tricity.wsu.edu!msmith
From: msmith@beta.tricity.wsu.edu (Mark Smith)
Subject: Re: FreeBSD2.0R: Fix Problem with vi in a xterm
Message-ID: <D22MAK.Kz9@serval.net.wsu.edu>
Sender: news@serval.net.wsu.edu (News)
Organization: Washington State University
X-Newsreader: TIN [version 1.2 PL2]
References: <3emp76$or@kauss.rhein-main.de>
Date: Sun, 8 Jan 1995 05:08:44 GMT
Lines: 26

Stephan Kauss (ska@kauss.rhein-main.de) wrote:
: Hi Folk's

: day's befor  I wrote this message :

: >Hi Folk's,
: >
: >I have problems with the "vi" in my xterm.
: >The "vi" use only 23 lines (My xterm has 38 lines). So if I edit a file
: >I type the ^l very offten.
: >The command "resize" didn't change the problem. I set the TERM and TERMCAP
: >variable correct.
: >
: >May be the "vi" didn't use the TERMCAP variable.

: Now I find the problem :

: I set in my .login the enviroment variable "LINES" and "COLUMNS". 

If using xterm, use the command 

eval `resize`

BE CAREFUL OF THE SINGLE QUOTES!!

Mark