From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 2 21:07:00 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 334B6106566C for ; Sun, 2 Oct 2011 21:07:00 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id E41C08FC18 for ; Sun, 2 Oct 2011 21:06:59 +0000 (UTC) Received: by ywp17 with SMTP id 17so3613968ywp.13 for ; Sun, 02 Oct 2011 14:06:59 -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=73EcQdRmyGcsIWBqF8bYCRhCjWioS2LV/N9vTFo8C9A=; b=ZL52gw5mmoTIFbJFvReqcycCKgA7mFItynP2Nkk9keAq/ABeV2jfX9bkVb9+n7vaRp H1pU9bj23TUZVhixhFlSLkcgb/WyYkkf3SbUJQd4w+o8Ailrws/8ZBk+YftGR+dRKmk8 6w3i2SOB0zhcO0AhQZs39TpJVj8LoUCR8dfFI= Received: by 10.236.143.101 with SMTP id k65mr23979530yhj.82.1317589618226; Sun, 02 Oct 2011 14:06:58 -0700 (PDT) Received: from compaq.yuetime (m8d0736d0.tmodns.net. [208.54.7.141]) by mx.google.com with ESMTPS id v4sm9921358yhk.3.2011.10.02.14.06.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Oct 2011 14:06:57 -0700 (PDT) Date: Sun, 2 Oct 2011 16:06:49 -0500 From: Zhihao Yuan To: freebsd-hackers@freebsd.org Message-ID: <20111002210649.GA5774@compaq.yuetime> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline Received: by 10.231.36.69 with HTTP; Sun, 2 Oct 2011 13:44:59 -0700 (PDT) User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:07:00 -0000 --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--