🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8615

Re: [TIN] Suggestion: please add switch to force local indexing.

#8615
From: Greg Sullivan
Date: Wed, 20 Apr 1994 11:37
32 lines
2466 bytes
Bruce D. Inglish/40182 (binglish@hpr26.mdhc.mdc.com) wrote:
: Greg Sullivan (sullivan@mickie.sna.dec.com) wrote:
: : ... I have modified my copy of TIN such that it will always use local
: : indexing, rather than pull the indexes from the server... 

: : ...Now that I have local indexing going, I find that TIN is very
: : fast, and great to use overall, too.

: How did you do this?  We have a REAL performance problem with TIN, but 
: otherwise love it.

: I would really like to recompile and try this "feature".  Details please.

It's really easy. Just comment out the lines in OPEN.C that set
XINDEX_SUPPORTED and XOVER_SUPPORTED. Also, I added a printf
to let users know that it was ignoring the indexing capabilities
of the server. I think the right way to do the printf is to
only do it if the variable 'update' is FALSE, so that the message
isn't displayed from the background update process when the 
-U switch is used. Haven't tested that bit of the mod yet.

Look at the man page for info on different ways to update
the index files. Currently, I'm just running a batch job
in the wee hours. I'll be installing the daemon soon, so 
that all users can share a common index database.

Greg.
-------------------------------------------------------------------------------
Greg Sullivan                           email: sullivan@aussie.enet.dec.com   
Digital Equipment Corporation           phone: +61 2 561-6445
Sydney                                  fax:   +61 2 427-4386
AUSTRALIA                                                                     
Technical Details
Message-ID: <2p345i$82i@usenet.pa.dec.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!ames!decwrl!pa.dec.com!mickie!sullivan
References: <2p07aj$l84@usenet.pa.dec.com> <ECZNB07R@math.fu-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <2p345i$82i@usenet.pa.dec.com>
Subject: Re: [TIN] Suggestion: please add switch to force local indexing.
Date: Wed, 20 Apr 1994 11:37:22 +0000
From: sullivan@mickie.sna.dec.com (Greg Sullivan)
References: <2p07aj$l84@usenet.pa.dec.com> <ECZNB07R@math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!ames!decwrl!pa.dec.com!mickie!sullivan
Newsgroups: news.software.readers
Organization: Digital Equipment Corporation, Palo Alto, CA, USA
Lines: 32
Reply-To: sullivan@aussie.enet.dec.com
NNTP-Posting-Host: mickie.sna.dec.com
X-Newsreader: TIN [version 1.2 PL2]