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

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

      reply	other threads:[~2011-03-16 12:44 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
2011-03-16 12:37     ` Joerg Sonnenberger [this message]

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=20110316123727.GA14497@britannica.bec.de \
    --to=joerg@britannica.bec.de \
    --cc=discuss@mdocml.bsd.lv \
    /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).