From owner-freebsd-questions Fri Jun 29 9:36:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-248.oz.net [216.39.168.248]) by hub.freebsd.org (Postfix) with ESMTP id 2956637B407 for ; Fri, 29 Jun 2001 09:36:47 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.0) id f5TGah200598; Fri, 29 Jun 2001 09:36:43 -0700 (PDT) (envelope-from kline) Date: Fri, 29 Jun 2001 09:36:43 -0700 From: Gary Kline To: Alex Dyas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Vi - Terminal too wide (OT?) Message-ID: <20010629093642.A510@tao.thought.org> References: <911D8F660DF6D411B61F00500462BA01B08694@exchange.twowaytv.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <911D8F660DF6D411B61F00500462BA01B08694@exchange.twowaytv.co.uk>; from ADyas@twowaytv.com on Fri, Jun 29, 2001 at 10:10:23AM +0100 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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