discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: discuss@mdocml.bsd.lv
Cc: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: Re: [PATCH] Being crazy: -Tindex
Date: Wed, 16 Mar 2011 13:22:11 +0100	[thread overview]
Message-ID: <4D80AB73.5090507@bsd.lv> (raw)
In-Reply-To: <20110316121156.GA14084@britannica.bec.de>

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

  reply	other threads:[~2011-03-16 12:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 10:47 Kristaps Dzonsons
2011-03-16 12:11 ` Joerg Sonnenberger
2011-03-16 12:22   ` Kristaps Dzonsons [this message]
2011-03-16 12:37     ` Joerg Sonnenberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D80AB73.5090507@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@mdocml.bsd.lv \
    --cc=joerg@britannica.bec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).