Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2011 19:05:03 +0300
From:      Pan Tsu <inyaoo@gmail.com>
To:        Zhihao Yuan <lichray@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [GSoC] About the idea: Unicode support in vi
Message-ID:  <86aaglx1ow.fsf@gmail.com>
In-Reply-To: <AANLkTin3Wki6bnriNgWUy5JC68MDMVc4Y444tGWcKBQ7@mail.gmail.com> (Zhihao Yuan's message of "Wed, 23 Mar 2011 02:38:37 -0500")
References:  <AANLkTintkKzW=o%2B7Q53aMSpA1mmqC7aDF1wN8zHY_Wc%2B@mail.gmail.com> <86mxkm1erm.fsf@gmail.com> <AANLkTin3Wki6bnriNgWUy5JC68MDMVc4Y444tGWcKBQ7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Zhihao Yuan <lichray@gmail.com> writes:

>> Why not just use "traditional vi"?
>>
>>   http://ex-vi.sourceforge.net/ (lives under editors/2bsd-vi)
>
> This one lacks of many feature, compared with nvi.

nvi also lacks some features, e.g. lisp, modelines, sourceany.
ex-vi is more lightweight

  # both built with DEBUG_FLAGS=-ggdb + mg(1) for reference

  $  du -Ah *
  1.9M    nvi
  556K    ex-vi
  505K    mg

  $ size *
     text    data     bss     dec     hex filename
   329080    1952    4528  335560   51ec8 nvi
   175675    5048  233024  413747   65033 ex-vi
   128570    9760   10184  148514   24422 mg

> I'm not sure whether the FreeBSD system administrators (who opens 100
> ssh sessions) agree with that to replace the nvi in base system with
> this one.

Do they expect more features beyond POSIX vi?

> However, it's source code can be a great reference for a mbyte-capable
> nvi.



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