*BSD News Article 34545


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!news.cac.psu.edu!news.umi.com!jbrown!jbrown
From: jbrown@umi.com (Jim Brown)
Newsgroups: comp.os.386bsd.questions
Subject: Re: pcvt and vi conflict?
Date: Thu, 18 Aug 1994 13:54:27
Organization: University Microfilms Inc.
Lines: 50
Message-ID: <jbrown.71.000DE8C7@umi.com>
References: <32vtnd$3qc@jpunix.com>
NNTP-Posting-Host: someone.umi.com
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]

In article <32vtnd$3qc@jpunix.com> perry@jpunix.com (John A. Perry) writes:
>From: perry@jpunix.com (John A. Perry)
>Subject: pcvt and vi conflict?
>Date: 18 Aug 1994 15:11:22 GMT

>-----BEGIN PGP SIGNED MESSAGE-----

>        I just installed pcvt under FreeBSD 1.1 on a 486/33. I think it's 
>a great add-on except for one problem. Vi now seems to be acting funny. 
>When I call up a file under vi, only the top part of the screen shows any 
>text. When I move down the page, the bottom part of the screen starts to 
>fill in. Page up and page down also exhibit this behavior. Is there some 
>sort of inconsistency or incompatibility between vi (elvis) supplied with 
>FreeBSD and pcvt? Can it be fixed somehow?


Check, or better yet explicitly set the LINES environment variable to 
something near a full screen width.  For Bourne shell try:

##########
LINES=24; export LINES
vi foo.bar
##########

Vi and several other termio type programs often check the LINES variable
to set the window length.

HTH.


>- --
> 
> John A. Perry - perry@jpunix.com
> Finger perry@jpunix.com for PGP 2.6 public key.


>-----BEGIN PGP SIGNATURE-----
>Version: 2.6

>iQCVAgUBLlN6J1OTpEThrthvAQE1IgP/XLZTRzQrVRSswtSs48PoKmSIG+Gj5yDF
>zD6ybg1cPJFZBKyA70epZ2SQ6U6XoIiEW0bSCMWNpG17jPVLYj0LF0a7IheLOa2d
>SxCvXPjritjTEemcoTxiXG3pjAWW4s0r6P9zjdmPxX4Fsi7fErS7VYqSjU+36h+D
>LTkbNwGo7wU=
>=j5vN
>-----END PGP SIGNATURE-----

== jbrown@umi.com , in real life Jim Brown   |                          ==
== 300 N. Zeeb Rd. Ann Arbor, MI 48106 (USA) |    Sit up straight.      ==
== (313) 761-4700 x3227                      |    You're slouching...   ==
================ All opinions and comment expressly my own. ==============