🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by 4th Dimension Tue, 02 Aug 1994 05:46
How to get the list of all newsgroups, TIN/TRN?
#10535
Author: 4th Dimension
Date: Tue, 02 Aug 1994 05:46
14 lines
1371 bytes
Hi,
I'm using both TRN and TIN, both via NNTP. Is there a way to get
the list of all newsgroups into a file? I can do 'y' in tin, cut&paste
the page, type �F to next page, repeat, etc. Pretty tedious.
I have no direct access to the news machine.

Please reply via e-mail.

TIA,
--
/* 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)                                */
Re: How to get the list of all newsgroups, TIN/TRN?
#10543
Author: Sridhar Venkataraman
Date: Tue, 02 Aug 1994 13:36
40 lines
2130 bytes
winter@zeus.datasrv.co.il (4th Dimension) writes:

| I'm using both TRN and TIN, both via NNTP. Is there a way to get
| the list of all newsgroups into a file? I can do 'y' in tin, cut&paste
| the page, type �F to next page, repeat, etc. Pretty tedious.
| I have no direct access to the news machine.

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.

| Please reply via e-mail.

Mailed as well.  But in future, please watch the group for solutions
for a few days.

Sridhar.
Re: How to get the list of all newsgroups, TIN/TRN?
#10550
Author: Iain Lea
Date: Tue, 02 Aug 1994 19:43
11 lines
1252 bytes
4th Dimension (winter@zeus.datasrv.co.il) wrote:
: Hi,
: I'm using both TRN and TIN, both via NNTP. Is there a way to get
: the list of all newsgroups into a file? I can do 'y' in tin, cut&paste

telnet server 119
list

-- 
iain.lea@erlm.siemens.de  +49-9131-7-43402
 'Raus aus dem Alltag, rein in die Kiste'
Re: How to get the list of all newsgroups, TIN/TRN?
#10566
Author: Michael Bergman
Date: Wed, 03 Aug 1994 13:53
29 lines
1903 bytes
4th Dimension (winter@zeus.datasrv.co.il) wrote:

>I'm using both TRN and TIN, both via NNTP. Is there a way to get
>the list of all newsgroups into a file? I can do 'y' in tin, cut&paste
>the page, type �F to next page, repeat, etc. Pretty tedious.
>I have no direct access to the news machine.

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.)

Cheers,
M
--
Michael Bergman			Email: euambn@eua.ericsson.se	
EUA/XO				Phone: +46 8 7275709
Ellemtel Telecom Systems Labs, Armborstv 14,  S-125 25 Alvsjo, Sweden
--
In the middle of chaos a voice spoke to me: "Laugh and be happy for it
could be worse!" - And I smiled and was happy and it got worse.
Re: How to get the list of all newsgroups, TIN/TRN?
#10575
Author: John Red-Horse
Date: Wed, 03 Aug 1994 15:42
25 lines
1475 bytes
In article <1994Aug2.054606.1897@news.datasrv.co.il>, 
winter@zeus.datasrv.co.il wrote:
>Hi,
>I'm using both TRN and TIN, both via NNTP. Is there a way to get
>the list of all newsgroups into a file? I can do 'y' in tin, cut&paste
>the page, type �F to next page, repeat, etc. Pretty tedious.
>I have no direct access to the news machine.
>

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.

cheers,
john

ps I *think* that ``list groups'' will list the groups and their one 
line descriptions as well, but you'll have to experiment. -- jrr
Re: How to get the list of all newsgroups, TIN/TRN?
#10677
Author: Nancy McGough
Date: Fri, 05 Aug 1994 21:31
17 lines
1279 bytes
winter@zeus.datasrv.co.il (4th Dimension) writes:
>I'm using both TRN and TIN, both via NNTP. Is there a way to get
>the list of all newsgroups into a file? 

Even though you don't use nn as your newsreader you can use
nngrep to get a list of newsgroups at your site.  The -a flag
means list all newsgroups.  The following will create the
list and put it into a file named all_newsgroups_at_my_site

  nngrep -a > all_newsgroups_at_my_site


Hope this helps,
Nancy

--
<A HREF="ftp://ftp.ii.com/pub/ii">Nancy McGough, Infinite Ink</A>
Re: How to get the list of all newsgroups, TIN/TRN?
#10678
Author: Lin Nah
Date: Fri, 05 Aug 1994 22:15
15 lines
1266 bytes
4th Dimension (winter@zeus.datasrv.co.il) wrote:

>I'm using both TRN and TIN, both via NNTP. Is there a way to get
>the list of all newsgroups into a file? I can do 'y' in tin, cut&paste
>the page, type �F to next page, repeat, etc. Pretty tedious.
>I have no direct access to the news machine.

ok when you call tin in your home directory,  a file 
called .newsrc is created.
just copy that to another file

eg
cp .newsrc list.of.all.newsgroups

lin
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