From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 2 21:08:43 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 0704E1065672 for ; Sun, 2 Oct 2011 21:08:43 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id B8D378FC14 for ; Sun, 2 Oct 2011 21:08:42 +0000 (UTC) Received: by gyf2 with SMTP id 2so3642074gyf.13 for ; Sun, 02 Oct 2011 14:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=avNVuv/9xLqmQR9qK1GXG/glpAENYsi1KjWOQya970o=; b=Cq5K/k+oaNNfPWb0cdSr7CtEXXwBSHnM4jQG2qT3coXbfz5b2COc24mmUkl5GjosSQ 4swcvqf4r828uzcOUmp5BvuXNKovVdlUu39JAG9YizztBplIDL3lksdcXl5YNaXDZkvK ebPlCKjLGogQmDBw4UW9FWV6PiLV0K3xncu1Q= Received: by 10.150.254.1 with SMTP id b1mr1050091ybi.122.1317589722081; Sun, 02 Oct 2011 14:08:42 -0700 (PDT) Received: from compaq.yuetime (m8d0736d0.tmodns.net. [208.54.7.141]) by mx.google.com with ESMTPS id o7sm31750210anp.18.2011.10.02.14.08.40 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Oct 2011 14:08:41 -0700 (PDT) Date: Sun, 2 Oct 2011 16:08:36 -0500 From: Zhihao Yuan To: other Message-ID: <20111002210836.GA5861@compaq.yuetime> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [nvi-iconv]I need some help on testing/code review 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: Sun, 02 Oct 2011 21:08:43 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm seeking some help on getting my GSoC project, nvi-iconv, into FreeBSD= =20 base system. This project adds the multibyte encoding supports to nvi. Here is it's FreeBSD Wiki page: http://wiki.freebsd.org/ZhihaoSoC2011 The first step is to get some more testing reports. To be more specific, I need some help on four untested CJK encodings, ja_JP.SJIS, ko_KR.CP949, zh_TW.Big5, zh_HK.Big5HKSCS, and other non-Unicode, non-CJK multibyte encodings. The patches can be downloaded at: SVN diff: https://github.com/downloads/lichray/nvi2/nvi2-freebsd-2011-08-26-svn.diff.= gz Git diff: https://github.com/downloads/lichray/nvi2/nvi2-freebsd-2011-08-26.diff.gz To test the new nvi, you need a src tree >=3D 9.0b and a base system built WITH_ICONV=3D1. Patch the src tree with (a file needs to be moved with -E): patch -p0 -E < /path/to/nvi2-freebsd-2011-08-26.diff And cd to usr.bin/vi under the src tree, make WITH_ICONV=3D1 Now you can run the new nvi with ./nvi . If you want to replace the system vi with this one, make WITH_ICONV=3D1 install *NOTE* FreeBSD's libncursesw only recognizes a subset of the locales which are supported by libc. Which means, not all libc locales work. For example, LC_CTYPE=3Dzh_CN.GBK won't work; use zh_CN.eucCN instead. And I need some help on code review. The code is based on nvi-1.79 and nvi-1.8x (which is used by NetBSD). A committer with some experience on=20 libiconv is preferred. --=20 Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/ --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJOiNLUAAoJEDM1qsGtFE5ZW2EIALq0a/L5rRLo8psZwhVPTFQd XIkXCbzLSSrwl7HWWdN/bId6QuJ5+UHF38D1u/pbymLD48AxcttSOgPd0smPymSk MNFQ4O5fifmtnDCOKYjGM01yhwVPMeK8FZ5td+sdL2N1rAUmc1FuUCCBHsBqBBBV 13XQH2Ttw10Pt9grrEyX+K1gQDBDie7AMdU7Hh6/5qU6BHPvWSLMxQaRsA+q8rEy 6wPVL2hD9UMvNCKXfENBwPjZItNksXGd+KEv8WIXUd+pMLPsNv8WaXfsT9L/oD71 bB7SlkcpUlKVZN7oAzsCn9cSPOrYX07LoTguHUgbJYTC39X9GgpB5UxB6U7gqzM= =d8uk -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--