Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2011 16:06:49 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   [nvi-iconv]I need some help on testing/code review
Message-ID:  <20111002210649.GA5774@compaq.yuetime>

next in thread | raw e-mail | index | archive | help

--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Hi,

I'm seeking some help on getting my GSoC project, nvi-iconv, into FreeBSD 
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 (if they're available on FreeBSD).

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 >= 9.0b and a base
system built WITH_ICONV=1.

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=1

Now you can run the new nvi with ./nvi . If you want to replace the
system vi with this one, make WITH_ICONV=1 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=zh_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 
libiconv is preferred.

-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/

--h31gzZEtNLTqOjlF
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"


   Hi,

   I'm seeking some help on getting my GSoC project= , nvi-iconv into
   FreeBSD base system. This project

   adds the multi= byte encoding supports to nvi. Here is the FreeBSD??

   The first step is to getting some more testing reports.
   --
   Zhihao Yuan, nickname lichray
   The best way to p= redict the future is to invent it.
   _____________________________________= ______________
   4BSD -- [1]http://4bsd.biz/=

References

   1. 3D"http://4bsd.biz/"

--h31gzZEtNLTqOjlF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111002210649.GA5774>