From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p2GCSvN3032283 for ; Wed, 16 Mar 2011 08:28:57 -0400 (EDT) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 4C35314DC4B; Wed, 16 Mar 2011 13:22:14 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id uIT8J8EubpCh; Wed, 16 Mar 2011 13:22:12 +0100 (CET) X-KTH-Auth: kristaps [85.8.61.126] X-KTH-mail-from: kristaps@bsd.lv Received: from h85-8-61-126.dynamic.se.alltele.net (h85-8-61-126.dynamic.se.alltele.net [85.8.61.126]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 38D3B14DC5F; Wed, 16 Mar 2011 13:22:11 +0100 (CET) Message-ID: <4D80AB73.5090507@bsd.lv> Date: Wed, 16 Mar 2011 13:22:11 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110221 Thunderbird/3.1.8 X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 To: discuss@mdocml.bsd.lv CC: Joerg Sonnenberger Subject: Re: [PATCH] Being crazy: -Tindex References: <4D809537.7090201@bsd.lv> <20110316121156.GA14084@britannica.bec.de> In-Reply-To: <20110316121156.GA14084@britannica.bec.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >> 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... 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). 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". Either way, an index of stuff (functions, names, etc.) is very useful. Kristaps -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv