NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/47701: apropos doesn't work



The following reply was made to PR bin/47701; it has been noted by GNATS.

From: Tim Rightnour <root%garbled.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
        er.abhinav.upadhyay%gmail.com@localhost
Subject: Re: bin/47701: apropos doesn't work
Date: Thu, 28 Mar 2013 13:39:52 -0700 (MST)

 On 28-Mar-2013 Abhinav Upadhyay wrote:
 >  Not possible to get the exact same behaviour as the old apropos, but
 >  it is still possible to just perform search in the NAME section (like
 >  the old apropos).  You can disable indexing of complete content of man
 >  pages by using makemandb -lf, after which apropos automatically will
 >  search in the NAME section. However, if there is a demand, I can add
 >  an option to apropos itself to just search in the NAME section.
 
 I understand the matching algorithim is different now, that is what it is.  But
 what I would like to have, is some env variable, that when switched on, does
 the following:
 
 man -k runs apropos -C instead of the new form
 man -k returns unlimited matches
 man -k does not invoke a pager
 
 This way, I can set the env variable, and get man -k output the way I expect
 (ok, prefer) it to look, and not break the new stuff for people who prefer it. 
 It will use the new matching algo, but return output in the old format.
 
 I'm not trying to be a no-changenik here, but I prefer the old format, and
 would just like to have a setting or something so I can have it back.
 
 Perhaps instead of the above, some env var that sets the arguments sent to
 apropos? Then people can tune it for whatever format they prefer. Though I 
would
 like an option added that does unlimited matches without invoking the pager.  I
 guess -n 99999 would work. 
 
 ---
 Tim Rightnour <root%garbled.net@localhost>
 NetBSD: Free multi-architecture OS http://www.netbsd.org/
 Genecys: Open Source 3D MMORPG: http://www.genecys.org/
 


Home | Main Index | Thread Index | Old Index