🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by 4th Dimension Thu, 04 Aug 1994 15:13
SUMMARY: How to get the list of all newsgroups, TIN/TRN?
#10612
Author: 4th Dimension
Date: Thu, 04 Aug 1994 15:13
77 lines
3519 bytes
Recently I asked how I can retrieve the list of all newsgroups, from within
TIN or TRN. Both are using NNTP.

The simplest response came from John Red-Horse <jrredho@universe.digex.net>:

>> Since you're using nntp, is there a technical reason not to do this via
>> the nntp server directly?
>>
>> For my version of nntp, I did the following:
>>
>>  $ telnet �my-nntp-server� nntp > active.groups
>>  list active
>>  quit
>>
>> Note that all nntp prompts will also be written to the specified file.


Other responses:

1. From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman)

>> trn specific solutions (I don't use tin):
>>
>> Since you mention NNTP, it should be simple enough.  Once inside trn,
>> at any prompt check what the following sequence produces:
>>
>> !more %P/rrnact.%$
>>
>> The above is just a command "!more <public spool dir>/<active file for
>> your process>".
>>
>> Once you find your process no. and the file, suspend your trn process
>> and copy that file and use it in whatever way you want  (with
>> sed/awk/perl to pick the first field).
>>
>> The following is an alternative solution (much better):
>>
>> Check what %X yields inside trn (you can use /<esc>X to find out
>> this directory of trn library).  Then from the shell use
>>
>> �t�csh> <trn library dir>/getactive
>>
>> Use the option of "active" or "newsgroups" to get the active file or
>> descriptions.
>>
>> If you want to know more on the % interpolation, use the manpage or
>> use "<esc>h" inside trn.

2. From: Michael Castle <mcastle@umr.edu>

>> A list of all newsgroups is regularly posted to one of the news.*
>> groups.  I think the group is news.groups but it may also be
>> listed in news.newusers.questions.

3. From: Michael.Bergman@eua.ericsson.se (Michael Bergman)

>> Tin-specific (1.22) solution:
>>
>> 1. Make sure you don't have a ~/.newsrc, i.e. delete it or mv it.
>> 2. Start tin.
>>
>> That's it. It will read all the active groups into a new ~/.newsrc
>> and you can the sort this or whatever.
>>
>> (The normal way of starting with tin "from scratch" would be to start
>> with an empty, i.e. 0 bytes, ~/.newsrc. Tin will start up totally empty
>> and then you can 'y' and start subscribing. It won't save all groups
>> in as when you start without a .newsrc.)

4. In addition, thanks to the following people for their answers:

   Mark McLeod <mmcleod@clark.net>
--
/* Amir J. Katz         email:   winter@datasrv.co.il             */
/* 4th Dimension Software, LTD., Tel-Aviv, ISRAEL                 */
/* If you melt dry ice in a pool and go swimming, do you get wet? */
/* ...             (Steven Wright)                                */
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