From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 23 16:06:03 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 960FF1065670 for ; Wed, 23 Mar 2011 16:06:03 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 245178FC08 for ; Wed, 23 Mar 2011 16:06:02 +0000 (UTC) Received: by fxm11 with SMTP id 11so9036538fxm.13 for ; Wed, 23 Mar 2011 09:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=b7RBPF6GMcagHTabEDPV5/gf3FX1zRZ3fAzNFgwDHrw=; b=C4xtIR8v4+DHff84wup2Fgj4wuW/r4cKJpMhvZpz/QRGn3QcelfhxWmKVYBt1hzjCk 2RUtgXu+yhIAq+jFDe09HvrOjGWO9p9M7upoQ5bNVRUeA7cUpu8o3kIh8JJS/JUfjJBN XmSo0cKdetuxg9nLEy6GIj2sYw7qcUU9v9FoE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=bljXFBfuL0gMxILeglCLkYSWWhi9kVmz6ujlE97MBI4jf8n4yVWstAwCpdqfJtdRlt jc9nMwfiaWceBampO4TKLq1TgbtEGP4b1TVcOCpjJyRsPjcZsX8EXYG7Ojpi66iVFgX7 mDakbujNpfd1FuCU2z8LZeK0m64kJQtmqnNpc= Received: by 10.223.78.193 with SMTP id m1mr118382fak.45.1300896314823; Wed, 23 Mar 2011 09:05:14 -0700 (PDT) Received: from localhost (c-cd6f70d5.017-62-6b73642.cust.bredbandsbolaget.se [213.112.111.205]) by mx.google.com with ESMTPS id j11sm3521921faa.44.2011.03.23.09.05.11 (version=SSLv3 cipher=OTHER); Wed, 23 Mar 2011 09:05:13 -0700 (PDT) From: Pan Tsu To: Zhihao Yuan References: <86mxkm1erm.fsf@gmail.com> Date: Wed, 23 Mar 2011 19:05:03 +0300 In-Reply-To: (Zhihao Yuan's message of "Wed, 23 Mar 2011 02:38:37 -0500") Message-ID: <86aaglx1ow.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Wed, 23 Mar 2011 16:26:45 +0000 Cc: freebsd-hackers@freebsd.org 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: Wed, 23 Mar 2011 16:06:03 -0000 Zhihao Yuan 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.