Date: Sun, 2 Oct 2011 16:08:36 -0500 From: Zhihao Yuan <lichray@gmail.com> To: other <freebsd-hackers@freebsd.org> Subject: [nvi-iconv]I need some help on testing/code review Message-ID: <20111002210836.GA5861@compaq.yuetime>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111002210836.GA5861>