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 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 secti

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

2010-09-11 Thread Anonymous
Anonymous 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 ../share/man A

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

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

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 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 always nice > to

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 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 appended *after* any

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 wrote: > >> Gordon Tetlow 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

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 wrote: > Gordon Tetlow 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) doe

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

2010-09-09 Thread Anonymous
Gordon Tetlow 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 installed packages may

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 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 install

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 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 install

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 writes: > > Gordon Tetlow writes: > >> Anonymous 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 defa

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

2010-09-09 Thread Anonymous
Gordon Tetlow writes: > Gordon Tetlow writes: >> Anonymous 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 does not >>> exist here. >> >>

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 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.confi

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 hav

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 wrote: > On Wed, Aug 18, 2010 at 5:01 PM, Anonymous wrote: > >> Gordon Tetlow 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 an

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

2010-08-18 Thread Gordon Tetlow
On Wed, Aug 18, 2010 at 5:01 PM, Anonymous wrote: > Gordon Tetlow 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 does not exist here. > Guess I m

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

2010-08-18 Thread Hiroki Sato
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 inst

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

2010-08-18 Thread Anonymous
Anonymous writes: > Gordon Tetlow 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

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

2010-08-18 Thread Anonymous
Gordon Tetlow 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 some foreign lang

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 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.confi

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

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. Af