From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 24 01:20:09 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00DBD106566C for ; Thu, 24 Mar 2011 01:20:09 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DEF28FC16 for ; Thu, 24 Mar 2011 01:20:08 +0000 (UTC) Received: by qwc9 with SMTP id 9so7081591qwc.13 for ; Wed, 23 Mar 2011 18:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FYwedZcplAv99J3eSQ90ZTWkQR/uLv5vOemfitMJafk=; b=cwPvFeZ0WQxlTbtT5T74q2/2mCJwUlIyLVcZny5FHc9uvDS/zKvOtfK80m9SU3tK5P 8W/QQ5zpWroNOWSLQCTOz3Fe2IP+Lfupr3axfhQaqRqhCvPdu8X6et8rcIJGUUb1mXjJ rbNZhbyUfdNlIPWlfEeGoRYFeWqWf3DLGNjyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=M1ylY1dh36yntntOCPPJDfLt0MQhXQiTUsQdHO9B4FW09uKlPmTBbK/QwNrgkZI39E 1LPoLubajcNT8fFbem3j15X3RvchvnwJ0NkCPPdVZbup2y46MEdCeRZrMHtD4B2M2BCS GcEcA3YADkxSGbKttU5+r1Y7QeIrzmF5nLGOE= MIME-Version: 1.0 Received: by 10.224.18.195 with SMTP id x3mr6025342qaa.55.1300929607171; Wed, 23 Mar 2011 18:20:07 -0700 (PDT) Received: by 10.224.20.19 with HTTP; Wed, 23 Mar 2011 18:20:07 -0700 (PDT) In-Reply-To: References: <86mxkm1erm.fsf@gmail.com> <86aaglx1ow.fsf@gmail.com> Date: Wed, 23 Mar 2011 20:20:07 -0500 Message-ID: From: Zhihao Yuan To: Arnaud Lacombe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Pan Tsu Subject: Re: [GSoC] About the idea: Unicode support in vi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 01:20:09 -0000 On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe wrote: > Hi, > > On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan wrote: >> Among *all* the GNU/Linux distributions I used, they include a vim >> compiled in tiny mode (ln -s it to vi), which doubles the size of nvi, >> in their base systems. A vim.tiny contains much more features compared >> with nvi, but it's not compatible with POSIX vi. >> > Let's compare the comparable, I don't really care if PCbsd ship vim as > its default, but FreeBSD as the base is not only aimed at desktop > specifically. So you should take into account that I may want to run > FreeBSD on an adm5120 board with 32MB of RAM, without having a text > editor consuming too much disk-space/ram. > > =C2=A0- Arnaud > If you really want to use vi in a 32MB mem environment, the ex-vi may make sense. It consumes 1600KB memory while nvi consumes 2000KB. Note that the ee editor uses same amount memory as ex-vi. So basically, if no one disagree that we can drop the infinite undo, multiple buffer, multiple window and some other potential missing features, we can replace the nvi in the base system with ex-vi. --=20 Zhihao Yuan The best way to predict the future is to invent it.