🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Craig Werner Sat, 30 May 1992 17:52
The -a Command in trn
#1655
Author: Craig Werner
Date: Sat, 30 May 1992 17:52
18 lines
1289 bytes
Can someone explain the function of the -a command line switch in
trn better than the manual does?  The manual says:
 
"-a   causes trn to always thread a group that doesn't have a
pre-created thread file.  Without this option you have to toggle
each group with the 't' command at the news- group prompt to
force it to be read threaded even if no thread file for the group
exists."
 
I don't understand the meaning of the term "pre-created thread
file."  In addition, I find the syntax of this explanation quite
convoluted.  Could someone provide a scenario in which the -a
option would be useful?  trn seems to thread just fine without
my enabling this switch.
 
Thanks for any and all help.
 
Craig Werner <werner@world.std.com>
Re: The -a Command in trn
#1656
Author: Frank Peters
Date: Sat, 30 May 1992 19:31
38 lines
2734 bytes
In article <Bp2sAs.rJ@world.std.com> werner@world.std.com (Craig Werner) says:
: Can someone explain the function of the -a command line switch in
: trn better than the manual does?  The manual says:
:  
: "-a   causes trn to always thread a group that doesn't have a
: pre-created thread file.  Without this option you have to toggle
: each group with the 't' command at the news- group prompt to
: force it to be read threaded even if no thread file for the group
: exists."

Along with trn your system administrator also installed a daemon named
mthreads.  This daemon builds up a system wide threads database
(essentially a database of which articles are followups to which other
articles and so on though it has other useful information as well).
When you run the trn program it quietly accesses this system wide
database to more quickly present the article thread information to
you.  Okay so far?

Now, your administrator has the option of only maintaining a system
wide threads database on certain groups.  Since the threads database
can take up a considerable amount of space he/she may only choose to
thread a few important groups (by some measure of 'important').

If your system is only threading some of the groups then the question
is, what do you do with the other, non-threaded groups?  You can either
read them without thread information (essentially reverting to the
behavior of the rn newsreader) or you can have trn build a personal
threads database for the group on the fly (at a fairly significant
performance penalty).  The -a switch is how you specify the latter
behavior.

If your system maintains a system wide threads database for all of the
groups (or, at least, all of the groups that you read) then, of course,
this whole issue is irrelevant.

--
Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
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