*BSD News Article 31655


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!emory!cherry.atlanta.com!nntp.mindspring.com!nntp.mindspring.com!rsanders
From: rsanders@hrothgar.mindspring.com (Robert Sanders)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD] Crypt option for vi ?
Date: 10 Jun 1994 17:59:21 GMT
Organization: MindSpring Enterprises, Inc.
Lines: 28
Message-ID: <RSANDERS.94Jun10135921@hrothgar.mindspring.com>
References: <ROOT.94Jun4190435@awfulhak.demon.co.uk> <2t74dp$qa4@cleese.apana.org.au>
NNTP-Posting-Host: msdem5.mindspring.com
In-reply-to: newton@cleese.apana.org.au's message of 9 Jun 1994 22:41:03 +0930

In article <2t74dp$qa4@cleese.apana.org.au> newton@cleese.apana.org.au (Mark Newton) writes:
   In article <ROOT.94Jun4190435@awfulhak.demon.co.uk>, Charlie & (root@awfulhak.demon.co.uk) wrote:
    > It appears not... it is usually `:X', but this is unknown in FreeBSD's
    > vi.  Note, vi has changed drastically between 1.0.2 and 1.1, it's more
    > like the system V one now.

   No, it's more like the Berkeley one :-)

   The vi that comes with FreeBSD 1.1 is nvi, from the 4.4BSD distribution.
   It has been completely reimplemented from scratch by Keith Bostic at 
   UCB.

No, it was based upon elvis with major changes by Keith Bostic.

   Myself?  I'm an Emacs man, so I don't care which one is on my system :-)

I use Emacs as well, but I do care.  On my Linux system:

$ ls -l =elvis =nvi
-rwxr-xr-t   1 root     bin         99332 Jan 14 08:18 /usr/bin/elvis
-rwxr-xr-x   2 root     bin        303108 May 19 18:52 /usr/bin/nvi

This is partially because of the inclusion of the new db library and
the new BSD curses library in nvi (neither of which are in the Linux
shared libraries).  It also seems to run a bit slower than elvis on
some very large files, but then again it will load files that elvis
won't (e.g. anything > 2 MB or so).