Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 10:48:43 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        d_burr@ix.netcom.com (Donald Burr)
Cc:        web@merit.edu, questions@freebsd.org
Subject:   Re: which vi is used in FreeBSD 2.1 ??
Message-ID:  <199601031748.KAA14974@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.91.960103044621.768B@ncc-1701-d> from "Donald Burr" at Jan 3, 96 04:50:36 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > Subject says it all.  Some modern flavours of UNIX on PCs use
> > a less that true Bill Joy derived version of vi.  Which version
> > if vi does FreeBSD use in 2.1 release?
> 
> FreeBSD uses, I believe, the "nvi" editor by Keith Bostic.  Supposedly nvi 
> is a "bug-for-bug compatible replacement for the original Fourth Berkeley 
> Software Distribution (4BSD) ex and vi programs."  
> 
> So far for me, it has seemed pretty faithful, except that, when you first 
> enter a file, vi would show something like:
> 
> "foo.c": 48 lines, 1020 characters
> 
> at the bottom of the screen, whereas nvi shows:
> 
> "README", unmodified: line 1
> 
> Kinda annoying, since the statistics (lines and characters) are usually 
> important to me when editing something.  But oh well.

It also puts two spaces instead of one after "!" and "?" and "." on a join
line ("J") command.

It also does not restore VT100 cursor key application mode when you ":sh"
or "^Z"/fg the vi session.

The first, at least, has been reported, and Keith doesn't want to change
it or make it optional.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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