From owner-freebsd-arch@FreeBSD.ORG Tue Feb 14 16:05:57 2006 Return-Path: X-Original-To: arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDF0E16A423 for ; Tue, 14 Feb 2006 16:05:57 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D89B43D60 for ; Tue, 14 Feb 2006 16:05:49 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:1PmuSaTO4FD4ZGyh9gIil5w6s8YaOVYoOmSXHWoiE+vu0NLsLYU8XXpk0VepoaWZ@kasuga-iwi.mahoroba.org [IPv6:3ffe:501:185b:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id k1EG5dm3039036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Feb 2006 01:05:44 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 15 Feb 2006 01:05:39 +0900 Message-ID: From: Hajimu UMEMOTO To: arch@FreeBSD.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Wed, 15 Feb 2006 01:05:44 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ameno.mahoroba.org Cc: Subject: [CFR] enabling NLS catalog for csh(1) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 16:05:57 -0000 Hi, The NLS catalog of csh(1) is not enabled on RELENG_6 and HEAD since tcsh 6.14 was imported. The tcsh 6.14 uses libiconv to convert catalogs to appropriate charset dynamically. However, we don't have libiconv in our tree. So, I made some hack to load libiconv dynamically. With my patch applied, if libiconv is available, you can use catalogs for more locales than the locales which catalog is actually installed. To use this feature, you need to symlink catalogs to appropriate locales. I made a port to do this. You can get the patch and the port from: http://www.imasy.or.jp/~ume/FreeBSD/csh-nls.diff http://www.imasy.or.jp/~ume/FreeBSD/tcsh_nls.port.tar.gz Some files required to enable use of libiconv are not imported in our tree. The patch includes them, too. When committing it, I'll import them into vendor branch. Please review it. If there is no objection, I'll commit it. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/