Re: KDE Help Search Engine .... ht://Dig tools not part of default install ?


Subject: Re: KDE Help Search Engine .... ht://Dig tools not part of default install ?
From: Paul J. Lucas (pauljlucas@mac.com)
Date: Sun Jun 24 2001 - 19:29:36 MDT


On Sun, 24 Jun 2001, Dr. David Sterling wrote:

> has anyone figured out how to build an index of the man and info docs as well
> (those options are disabled in the dialog box)?

        You can use my SWISH++ software (better than htDig, in my
        opinion) freely available from:

                http://homepage.mac.com/pauljlucas/software/swish/

        There is no RPM, so you will have to build it from source.
        However, once built, you can index manual pages using the
        following config file:

                IncludeFile man *.[12345678n]
                IncludeFile man *.[12345678][a-z]
                FilterFile *.gz gunzip -c %f > @/tmp/%B
                FollowLinks yes
                TitleLines 150
                Verbosity 2

        and then with the following command line:

                index /usr/man /usr/local/man

        SWISH++ does a full-text index and knows about the format of
        man page files, so it makes a much better apropos(1) command.
        It also makes section heading into meta tags so queries like:

                search errors = eintr

        will return all those manual pages that list EINTR in their
        ERRORS section.

        - Paul



This archive was generated by hypermail 2a24 : Sun Jun 24 2001 - 18:34:52 MDT