From: Bakul Shah <bakul(a)bitblocks.com>
To: Larry McVoy <lm(a)mcvoy.com>
Cc: Warner Losh <imp(a)bsdimp.com>, The Eunuchs Hysterical Society
<tuhs(a)tuhs.org>
Subject: Re: [TUHS] screen editors
Message-ID: <D192F5A5-2A67-413C-8F5C-FCF195151E4F(a)bitblocks.com>
Content-Type: text/plain; charset=utf-8
On Jan 8, 2020, at 5:28 PM, Larry McVoy <lm(a)mcvoy.com> wrote:
On Wed, Jan 08, 2020 at 05:08:59PM -0700, Warner Losh wrote:
> On Wed, Jan 8, 2020, 4:22 PM Dave Horsfall <dave(a)horsfall.org> wrote:
>
>> On Wed, 8 Jan 2020, Chet Ramey wrote:
>>
>>>> That's a real big vi in RHL.
>>>
>>> It's vim.
>>
>> It's also VIM on the Mac.
>>
>
> Nvi is also interesting and 1/10th the size of vim. It's also the
FreeBSD
default
for vi.
I was gonna stay out of this thread (it has the feel of old folks
somehow)
but 2 comments:
Keith did nvi (I can't remember why? licensing or something) and he did
a pretty faithful bug for bug compatible job. I've always wondered why.
I like Keith but it seemed like a waste. There were other people taking
vi forward, elvis, xvi (I hacked the crap out of that one, made it mmap
the file and had a whole string library that treated \n like NULL) and
I think vim was coming along. So doing a compat vi felt like a step
backward for me.
For all the vim haters, come on. Vim is awesome, it gave me the one
thing that I wanted from emacs, multiple windows. I use that all the
time. It's got piles of stuff that I don't use, probably should, but
it is every bit as good of a vi as the original and then it added more.
I'm super grateful that vim came along.
The first thing I do on a new machine is to install nvi. Very grateful to
Keith Bostic for implementing it. I do use multiple windows — only
horizontal splits but that is good enough for me as all my terminal
windows are 80 chars wide. Not a vim hater but never saw the need.
Not sure if you’re saying horizontal splits are all you need, or all you’re
aware of, but nvi “:E somefile” will split to a top/bottom arrangement and
“:vsplit somefile” will do a left/right arrangement, as well as being able
to “:fg”, “:bg” screens. I too am a (NetBSD) nvi appreciator.
-bch