From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 02:27:59 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 358FA106566B; Thu, 19 Aug 2010 02:27:59 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id A571C8FC0C; Thu, 19 Aug 2010 02:27:58 +0000 (UTC) Received: from alph.d.allbsd.org (p2176-ipbf406funabasi.chiba.ocn.ne.jp [124.86.72.176]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.3) with ESMTP id o7J2Rfl5080723; Thu, 19 Aug 2010 11:27:51 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.4/8.14.4) with ESMTP id o7J2RflA048064; Thu, 19 Aug 2010 11:27:41 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 19 Aug 2010 11:27:35 +0900 (JST) Message-Id: <20100819.112735.93156596.hrs@allbsd.org> To: gordon@FreeBSD.org From: Hiroki Sato In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Aug_19_11_27_35_2010_267)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Thu, 19 Aug 2010 11:27:54 +0900 (JST) X-Spam-Status: No, score=-99.2 required=13.0 tests=AWL,CONTENT_TYPE_PRESENT, RCVD_IN_CHINA, RCVD_IN_CHINA_KR, RCVD_IN_PBL, RCVD_IN_TAIWAN, SPF_SOFTFAIL, USER_IN_WHITELIST,X_MAILER_PRESENT autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gatekeeper.allbsd.org Cc: freebsd-current@FreeBSD.org Subject: Re: CFR: Replace man/manpath/whatis/apropos with a shell script X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 02:27:59 -0000 ----Security_Multipart(Thu_Aug_19_11_27_35_2010_267)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Gordon Tetlow wrote in : go> On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow wrote: go> go> > All, go> > go> > I sat down and rewrote the man tools from a relatively old codebase to a go> > single shell script. My original motivation was to allow multiple go> > configuration files so port installations did not have to mess with go> > /etc/manpath.config (like perl for example) when needing to manipulate the go> > manpath. After looking at the existing code, I figured I could rewrite it as go> > a shell script relatively easily. go> > go> > Script (install as /usr/bin/man, /usr/bin/manpath, /usr/bin/apropos, go> > /usr/bin/whatis) go> > http://people.freebsd.org/~gordon/man.sh go> > go> > Features of the new code: go> > go> > 1. BSD licensed (old code is GPL). go> > 2. Imports configuration from /usr/local/etc/man.d/*.conf and /etc/man.conf go> > (purposefully changed the manpath.config file since it is a different go> > syntax). go> > 3. Allows ports to override the toolset used to display the manpage based go> > on language. This was done to try to merge the functionality of the go> > japanese/man port into the base system as much as possible. go> > go> > I've tried to make this mirror the functionality, directory search order, go> > and arguments as the current base implementation. go> > go> > This brings me to my next point. I need some testers willing to try this go> > out. It would be particularly great if I could get some foreign language go> > testers with localized manpage installations. If something doesn't work the go> > way you expect, please contact me and I can help debug it (using man -ddd go> > will generally give me the debug information I need). go> > go> > Thanks, go> > Gordon go> > go> go> I did some additional testing with the japanese/man-doc port and found the go> following was necessary: Great, I will test it and get back to you! -- Hiroki ----Security_Multipart(Thu_Aug_19_11_27_35_2010_267)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkxslpcACgkQTyzT2CeTzy0AvgCfZodk90pF2qn97ef00hOXZ875 KY0AoKp9P2C1pZegg6qETeJakf9ReIpc =yaht -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Aug_19_11_27_35_2010_267)----