From owner-freebsd-questions Wed Jan 3 09:59:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA26668 for questions-outgoing; Wed, 3 Jan 1996 09:59:38 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA26628 for ; Wed, 3 Jan 1996 09:59:18 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA14974; Wed, 3 Jan 1996 10:48:43 -0700 From: Terry Lambert Message-Id: <199601031748.KAA14974@phaeton.artisoft.com> Subject: Re: which vi is used in FreeBSD 2.1 ?? To: d_burr@ix.netcom.com (Donald Burr) Date: Wed, 3 Jan 1996 10:48:43 -0700 (MST) Cc: web@merit.edu, questions@freebsd.org In-Reply-To: from "Donald Burr" at Jan 3, 96 04:50:36 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > > 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.