🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Eiji Hirai Wed, 09 Jun 1993 16:41
trn-3.0 #ifdef DBM_XREFS ?
#4421
Author: Eiji Hirai
Date: Wed, 09 Jun 1993 16:41
11 lines
1255 bytes
I noticed that bits.c, cache.c, head.c, head.h and rmt-mt.c has #ifdef
DBM_XREFS in them which seems to give trn the capability of using dbm to
cache article headers (?).

However, I didn't see any mention of it in any of the docs.  Is this a
future feature or can I turn it on and "see what happens"? :-)

--
hirai@cc.swarthmore.edu (Eiji Hirai) | Unix Geek for Swarthmore College
I don't speak for Swarthmore College | Computing Center, Swarthmore, PA, USA
"Comedy is our goal here at Tyrell.  'More humor than human' is our motto." -BR
Re: trn-3.0 #ifdef DBM_XREFS ?
#4432
Author: Wayne Davison
Date: Wed, 09 Jun 1993 22:47
14 lines
1309 bytes
hirai@cc.swarthmore.edu (Eiji Hirai) wrote:
> I noticed that bits.c, cache.c, head.c, head.h and rmt-mt.c has #ifdef
> DBM_XREFS in them which seems to give trn the capability of using dbm to
> cache article headers (?).

It is some old code from the rn days that I cleaned up, fixed and separated
from the main xref-handling code to make it more readable.  It is mainly for
older sites that don't have Xrefs: headers but have access to the history
file.  It will use the message-id to index into the history file and find
the article numbers of all the cross-referenced articles.  If your system
has valid Xrefs: headers you don't need this (and it would just slow you
down).

.wayne..
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads