Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-26 Thread Alexander Best
On Sat Sep 11 10, Gordon Tetlow wrote: On Thu, Sep 9, 2010 at 7:41 PM, Alexander Best arun...@freebsd.org wrote: Feedback on the man(1), manpath(1), apropos(1), and man.conf(5) manpages would be appreciated. I'm new to manpage authoring and could use a review. you forgot the AUTHORS

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Gordon Tetlow
On Thu, Sep 9, 2010 at 8:17 PM, Anonymous swel...@gmail.com wrote: Gordon Tetlow gor...@tetlows.org writes: 2. Imports configuration from /usr/local/etc/man.d/*.conf and /etc/man.conf (purposefully changed the manpath.config file since it is a different syntax). Hmm, and if LOCALBASE

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Stefan Bethke
Am 11.09.2010 um 09:35 schrieb Gordon Tetlow: On Thu, Sep 9, 2010 at 8:17 PM, Anonymous swel...@gmail.com wrote: Gordon Tetlow gor...@tetlows.org writes: 2. Imports configuration from /usr/local/etc/man.d/*.conf and /etc/man.conf (purposefully changed the manpath.config file since it is

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Gordon Tetlow
On Thu, Sep 9, 2010 at 12:48 PM, Anonymous swel...@gmail.com wrote: The order is still bogus compared to gnu man. If I don't like our ancient GNU tools and altered PATH in order to prefer ones from ports then I certainly don't want to view old manpages, too. The base manpath should be

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Gordon Tetlow
On Thu, Sep 9, 2010 at 7:41 PM, Alexander Best arun...@freebsd.org wrote: Feedback on the man(1), manpath(1), apropos(1), and man.conf(5) manpages would be appreciated. I'm new to manpage authoring and could use a review. you forgot the AUTHORS section in all of the man pages. ;) it's

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Anonymous
Stefan Bethke s...@lassitu.de writes: Am 11.09.2010 um 09:35 schrieb Gordon Tetlow: On Thu, Sep 9, 2010 at 8:17 PM, Anonymous swel...@gmail.com wrote: Gordon Tetlow gor...@tetlows.org writes: 2. Imports configuration from /usr/local/etc/man.d/*.conf and /etc/man.conf (purposefully

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-11 Thread Anonymous
Anonymous swel...@gmail.com writes: PATH_MAN_SUB bin/../man PATH_MAN_SUB bin/../.man # e.g. for ~/.bin + ~/.man PATH_MAN_SUB /usr/bin/../share/man Oops, that would be non-trivial substitution. It's more like PATH_MAN_ADD bin ../man PATH_MAN_ADD .bin ../.man PATH_MAN_ADD /usr/bin

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Gordon Tetlow
On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow gor...@tetlows.org wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port installations did not have to mess with

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Anonymous
Gordon Tetlow gor...@freebsd.org writes: Gordon Tetlow gor...@freebsd.org writes: Anonymous swel...@gmail.com writes: It doesn't search in bin/../man nor in bin/.man. For example, my PATH contains $LOCALBASE/bin:$HOME/.bin, while /etc/ manpath.config is default one and contains

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Jilles Tjoelker
On Thu, Sep 09, 2010 at 11:48:37PM +0400, Anonymous wrote: Gordon Tetlow gor...@freebsd.org writes: Gordon Tetlow gor...@freebsd.org writes: Anonymous swel...@gmail.com writes: It doesn't search in bin/../man nor in bin/.man. For example, my PATH contains $LOCALBASE/bin:$HOME/.bin, while

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Alexander Best
On Thu Sep 9 10, Gordon Tetlow wrote: On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow gor...@tetlows.org wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Alexander Best
On Thu Sep 9 10, Gordon Tetlow wrote: On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow gor...@tetlows.org wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-09-09 Thread Anonymous
Gordon Tetlow gor...@tetlows.org writes: 2. Imports configuration from /usr/local/etc/man.d/*.conf and /etc/man.conf (purposefully changed the manpath.config file since it is a different syntax). Hmm, and if LOCALBASE != /usr/local? hier(7) does not specify /usr/local as the only place

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-19 Thread Gordon Tetlow
On Wed, Aug 18, 2010 at 5:01 PM, Anonymous swel...@gmail.com wrote: Gordon Tetlow gor...@tetlows.org writes: It doesn't search in bin/../man nor in bin/.man. For example, my PATH contains $LOCALBASE/bin:$HOME/.bin, while /etc/manpath.config is default one and contains /usr/local/man which

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-19 Thread Gordon Tetlow
On Wed, Aug 18, 2010 at 11:52 PM, Gordon Tetlow gor...@freebsd.org wrote: On Wed, Aug 18, 2010 at 5:01 PM, Anonymous swel...@gmail.com wrote: Gordon Tetlow gor...@tetlows.org writes: It doesn't search in bin/../man nor in bin/.man. For example, my PATH contains $LOCALBASE/bin:$HOME/.bin,

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-19 Thread Alexander Best
On Wed Aug 18 10, Alexander Best wrote: On Wed Aug 18 10, Gordon Tetlow wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port installations did not have to mess

CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Gordon Tetlow
All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port installations did not have to mess with /etc/manpath.config (like perl for example) when needing to manipulate the manpath.

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Alexander Best
On Wed Aug 18 10, Gordon Tetlow wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port installations did not have to mess with /etc/manpath.config (like perl for

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Gordon Tetlow
On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow gor...@tetlows.org wrote: All, I sat down and rewrote the man tools from a relatively old codebase to a single shell script. My original motivation was to allow multiple configuration files so port installations did not have to mess with

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Anonymous
Gordon Tetlow gor...@tetlows.org writes: I've tried to make this mirror the functionality, directory search order, and arguments as the current base implementation. This brings me to my next point. I need some testers willing to try this out. It would be particularly great if I could get

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Anonymous
Anonymous swel...@gmail.com writes: Gordon Tetlow gor...@tetlows.org writes: I've tried to make this mirror the functionality, directory search order, and arguments as the current base implementation. This brings me to my next point. I need some testers willing to try this out. It would be

Re: CFR: Replace man/manpath/whatis/apropos with a shell script

2010-08-18 Thread Hiroki Sato
Gordon Tetlow gor...@freebsd.org wrote in aanlktikw3j5hbrz0gjpbab=8urfnkgjm069i8ennx...@mail.gmail.com: go On Wed, Aug 18, 2010 at 12:11 AM, Gordon Tetlow gor...@tetlows.org wrote: go go All, go go I sat down and rewrote the man tools from a relatively old codebase to a go single shell