Your message dated Wed, 29 Apr 2015 23:35:39 +0200
with message-id <[email protected]>
and subject line Not sure if this email address is still valid, but!
has caused the Debian Bug report #31383,
regarding Glimpseindex of doc-rfc would be nice
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
31383: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=31383
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: doc-rfc
Version: 1998.09-1
Severity: wishlist
Would it be difficult to set up a couple of utilities to enable users
to quickly search the RFCs?
Here is a suggested approach, using glimpse (and pstotext):
The working files would go in /var/lib/glimpseindex/rfc
There is one file in the directory to begin with (.glimpse_filters).
It copes with the decompression (etc) required to turn the RFCs into
text again before glimpseindex can make any sense of them.
# /var/lib/glimpseindex/rfc/.glimpse_filters
.gz$ /bin/gunzip -c
.ps.gz$ /usr/bin/pstotext
The second file can be used to create the glimpse database. This can
be run once at installation, or made into a cron job to run, say,
weekly.
# /usr/sbin/rfcglimpseindex
#!/bin/bash
/usr/bin/glimpseindex -z -n -o -w 5000 -H /var/lib/glimpseindex/rfc
/usr/doc/doc-rfc/all-rfcs >/var/lib/glimpseindex/rfc/.glimpse.out 2>&1
chmod a+r /var/lib/glimpseindex/rfc/.gl*
Finally, a simple script that the users can use to run glimpse on the
database created above.
# /usr/bin/rfcglimpse
#!/bin/bash
glimpse -z -H /var/lib/glimpseindex/rfc $*
If you wanted to get really tricky, you could update tkman to point to
the rfc directory as well!
--
Phil
+----------------------------------------------------------+
| CAE MRad Pty Ltd mailto:[email protected] |(\
_/_) ~~~~~~~~~~~~~~~~ http://www.CAEmrad.com.au/ |( \
_/// / _ Phone Intl.: +61-8-8260-8942 _ |_) )_
(((( (| /_) Snail-mail: Nat.: 08-8260-8942 (_\ |/ /)))
\\\\ \_/ / Innovation House West <standard> \ \_/ ////
\ / First Ave, Technology Park <disclaimers> \ /
) _/ South Australia 5095 Australia <apply> \_ (
/ /----------------------------------------------------------\ \
/ / \ \
--- End Message ---
--- Begin Message ---
Version: 20100731-1
Hi,
I know this is a 16-year old bug, so most probably it's no longer
relevant or important, but: the docbase/dhelp/swish++ integration gives
the same results as glimpse, which was removed in around 2001 from
Debian. So at least since version 20100731-1, which improved the docbase
registration, this should work as desired (just tested it with version
20120225-2).
As such, I'll mark it as closed. Yay :)
regards,
iustin
signature.asc
Description: Digital signature
--- End Message ---