From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 26 09:43:58 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 C51C8106566B for ; Sat, 26 Mar 2011 09:43:58 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 568808FC0A for ; Sat, 26 Mar 2011 09:43:57 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id p2Q9huGr081882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 Mar 2011 10:43:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id p2Q9hrHM073411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Mar 2011 10:43:53 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id p2Q9hrgE006735; Sat, 26 Mar 2011 10:43:53 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id p2Q9hqAL006734; Sat, 26 Mar 2011 10:43:52 +0100 (CET) (envelope-from ticso) Date: Sat, 26 Mar 2011 10:43:52 +0100 From: Bernd Walter To: Zhihao Yuan Message-ID: <20110326094352.GJ65750@cicely7.cicely.de> References: <86mxkm1erm.fsf@gmail.com> <86aaglx1ow.fsf@gmail.com> <20110326084537.GA18254@psconsult.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-hackers@freebsd.org, Paul Schenkeveld Subject: Re: [GSoC] About the idea: Unicode support in vi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 09:43:58 -0000 On Sat, Mar 26, 2011 at 03:55:12AM -0500, Zhihao Yuan wrote: > On Sat, Mar 26, 2011 at 3:45 AM, Paul Schenkeveld wrote: > > On Wed, Mar 23, 2011 at 08:20:07PM -0500, Zhihao Yuan wrote: > >> On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe wrote: > > > > I like the idea of adding Unicode support to nvi but I hate the idea of > > replacing nvi in the base system by something else.  I've been there > > before, when administering a heterogenous environment with Unix, BSD and > > Linux systems, being a heavy user of vi, it's frustrating if commands in > > various versions of vi do not behave *exactly* the same, e.g. different > > versions of vi leave the cursor in different places after undo, the > > effect of the repeat command (.) after an undo command, the availability > > or not to do something like /pattern/z. to find and position the found > > text in the middle of the screen so you can immediately see the context. > > > > Administering hundreds of FreeBSD systems at various sites would become > > a nightmare if frequently used utilities in the base system do not > > behave exactly the same between different builds, a true POLA violation > > I think.  I truly hope that adding unicode to nvi doesn't change the > > behaviour of nvi, at least not when not using actually Unicode. > > I will improve nvi only, and I won't break the traditional functions. > But your words reminds me that, perhaps the move of cursor is a > problem for a mbytes-enabled vi. We will see. It especially is if characters are double wide on output, which happens at least with some chinese ones. I really hope you will find a mentor soon enough. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.