Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 09:36:43 -0700
From:      Gary Kline <kline@tao.thought.org>
To:        Alex Dyas <ADyas@twowaytv.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Vi - Terminal too wide (OT?)
Message-ID:  <20010629093642.A510@tao.thought.org>
In-Reply-To: <911D8F660DF6D411B61F00500462BA01B08694@exchange.twowaytv.co.uk>; from ADyas@twowaytv.com on Fri, Jun 29, 2001 at 10:10:23AM %2B0100
References:  <911D8F660DF6D411B61F00500462BA01B08694@exchange.twowaytv.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 29, 2001 at 10:10:23AM +0100, Alex Dyas wrote:
> hi,
> 
> i hope this is not too OT, it is more of a solaris question than FreeBSD.
> 
> i have a problem with vi on solaris, whereby if i try to run it in a
> terminal over 163 chars wide, i get an error "Terminal too wide".  however,
> i do the same thing in FreeBSD and it's fine.  what's the difference?  they
> are obviously different versions of vi, but i was thinking more in terms of
> maybe a setting i could change on the solaris box that allowed me large
> terminal vi sessions.
> 
> thanks in advance, please take this off list if you think it inappropriate.
> 

	You probably already know that the SunOS-5 vi is basically
	the same that BillJoy hacked in the late 70's; the one FBSD
	uses is Keith Bostic's newvi, nvi.  nvi is a superclone of the
	original.  I haven't bothered trying to port nvi to the Sun--
	it might be trivial, dunno.  What I did to get past this
	``terminal too wide'' shortcoming was to ftp over vim and 
	installe it in my ~/local tree.  vim is a shade slower to
	exec .... otherwise it's great.

	If you really want to use the original vi, the source code
	should be around.  It was available with the 4.4alpha 
	distribution.

	gary

-- 
   Gary D. Kline    kline@thought.org  www.thought.org    Public service Unix


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010629093642.A510>