From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p2GCi4lv010578 for ; Wed, 16 Mar 2011 08:44:05 -0400 (EDT) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/YPAwti93leOoBiEJZ3s= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (dslb-088-072-224-251.pools.arcor-ip.net [88.72.224.251]) by post.strato.de (fruni mo33) (RZmta 25.8) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id c04b4en2GBBI2P for ; Wed, 16 Mar 2011 13:37:29 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Wed, 16 Mar 2011 13:37:27 +0100 Date: Wed, 16 Mar 2011 13:37:27 +0100 From: Joerg Sonnenberger To: discuss@mdocml.bsd.lv Subject: Re: [PATCH] Being crazy: -Tindex Message-ID: <20110316123727.GA14497@britannica.bec.de> References: <4D809537.7090201@bsd.lv> <20110316121156.GA14084@britannica.bec.de> <4D80AB73.5090507@bsd.lv> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D80AB73.5090507@bsd.lv> User-Agent: Mutt/1.5.20 (2009-06-14) On Wed, Mar 16, 2011 at 01:22:11PM +0100, Kristaps Dzonsons wrote: > >>I'm accustomed to being able to search for documentation quickly > >>and am not satisfied with apropos, whatis, and man -K. > > > >Neither am I. I have a GSoC project idea for this on NetBSD's idea > >list: http://wiki.netbsd.org/projects/gsoc_2011/apropos/ > > Hi Joerg, > > Unfortunately, I'll have to know more about my student status before > committing to GSoC... hmm... It wasn't specifically directed at you :) In fact, I would hope that this is something that can attract attention from students. > My thought with whatis, by the way, was to add an option like > -Tascii -Owhatis to display only name(section) - description, then > have whatis crawl the -Tindex database for matching Nm's (you could > have whatis hang from man and query MAN_PATH, but whatis searches > for `Nm', not file names). My problem is that this is still quite limited. I want to really obsolete apropos(1) and thereby address the core issues. I hope I am not the only person to have run into issues finding man pages, where Google effectively pointed me back to the online man pages... > In terms of apropos and full-text, I used db.h because it's standard > on all BSDs. SQL seems like overkill, as I'd think the usage to be > primarily "look up name-exact, look up name-case-insensitive, look > up name with misspellings". I don't care much about the SQL part. The primary reason for using SQLite is the FTS engine already available. As soon as you want to use more than a single keyword, it gets messy very soon. It's not something to reinvent without good reason. Joerg -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv