🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Axel Schlicht Thu, 04 Oct 2007 05:12
retrieving list of groups to text file
#206972
Author: Axel Schlicht
Date: Thu, 04 Oct 2007 05:12
19 lines
1676 bytes
Hi
a slightly stupid question, but maybe there is a solution to it.

As most^hmany news readers store their data and together with that the list
of available groups in a proprietary format, I think it might be nice to
find a way to download only the list of groups available to a plain text
file, possibly together with a description of those groups. Command line
tools are definitely preferred.

Why would I need that? well, it's much easier to grep a text file for
something I need - especially if I can use regexes, than to rely on the
quite restricted abilities of most applications for browsing their well
encrypted lists.

Is there anything like that?

Many TIA

Axel
Re: retrieving list of groups to text file
#206973
Author: Rom
Date: Thu, 04 Oct 2007 08:05
28 lines
2111 bytes
On Thu, 4 Oct 2007 07:12:05 +0200, Axel Schlicht wrote:

> As most^hmany news readers store their data and together with that the list
> of available groups in a proprietary format, I think it might be nice to
> find a way to download only the list of groups available to a plain text
> file, possibly together with a description of those groups. Command line
> tools are definitely preferred.
> 
> Why would I need that? well, it's much easier to grep a text file for
> something I need - especially if I can use regexes, than to rely on the
> quite restricted abilities of most applications for browsing their well
> encrypted lists.
> 
> Is there anything like that?

Telnet to each news server:
  telnet <newsserver> <port>
  authinfo user <username> (if required)
  authinfo pass <password> (if required)
  list newsgroups
copy and paste into a text file.

Dialog's Filtered tab allows filtering groups (not descriptions), and
can copy from a pane/window then paste into a text file. Although, I
would suggest not selecting all and copying all in one go.

-- 
Rom
Re: retrieving list of groups to text file
#206978
Author: Axel Schlicht
Date: Thu, 04 Oct 2007 09:21
26 lines
1997 bytes
On Thu, 4 Oct 2007 18:05:44 +1000, Rom wrote:

> Telnet to each news server:
>   telnet <newsserver> <port>
>   authinfo user <username> (if required)
>   authinfo pass <password> (if required)
>   list newsgroups
> copy and paste into a text file.
> 
> Dialog's Filtered tab allows filtering groups (not descriptions), and
> can copy from a pane/window then paste into a text file. Although, I
> would suggest not selecting all and copying all in one go.

Hi Rom
Thanks for the answer.

I'd never thought of telnet. But this leaves the question of how to pipe
stuff from and to telnet. telnet doesn't seem to accept < and >. I'm using
several news providers, and all of them carry > 10000 groups, so copy and
paste is not possible.

I managed to telnet to my news provider, but typing in all those commands
without echo is also very clumsy, so it's redirection what I need. And ist
took quite some time for the groups list to scroll through.

Axel
Re: retrieving list of groups to text file
#206977
Author: Rom
Date: Thu, 04 Oct 2007 10:30
32 lines
2329 bytes
On Thu, 4 Oct 2007 11:21:09 +0200, Axel Schlicht wrote:

> On Thu, 4 Oct 2007 18:05:44 +1000, Rom wrote:
> 
>> Telnet to each news server:
>>   telnet <newsserver> <port>
>>   authinfo user <username> (if required)
>>   authinfo pass <password> (if required)
>>   list newsgroups
>> copy and paste into a text file.
[...]
> I'd never thought of telnet. But this leaves the question of how to pipe
> stuff from and to telnet. telnet doesn't seem to accept < and >. I'm using
> several news providers, and all of them carry > 10000 groups, so copy and
> paste is not possible.
> 
> I managed to telnet to my news provider, but typing in all those commands
> without echo is also very clumsy, so it's redirection what I need. And ist
> took quite some time for the groups list to scroll through.

You should be able to get a list of supported commands in telnet by
typing something like ?/help or help /?

Look for the set and unset commands, then get their list of options.

What OS are you using? I know Win2k and WinXP could set and unset the
local echo, but I don't remember if they can log. Telnet (a feature
not turned on by default) in Vista (which I'm using) can log to a text
file.

-- 
Rom
Re: retrieving list of groups to text file
#206981
Author: Axel Schlicht
Date: Thu, 04 Oct 2007 14:42
58 lines
3119 bytes
On Thu, 4 Oct 2007 20:30:52 +1000, Rom wrote:

> On Thu, 4 Oct 2007 11:21:09 +0200, Axel Schlicht wrote:
> 
>> On Thu, 4 Oct 2007 18:05:44 +1000, Rom wrote:
>> 
>>> Telnet to each news server:
>>>   telnet <newsserver> <port>
>>>   authinfo user <username> (if required)
>>>   authinfo pass <password> (if required)
>>>   list newsgroups
>>> copy and paste into a text file.
> [...]
>> I'd never thought of telnet. But this leaves the question of how to pipe
>> stuff from and to telnet. telnet doesn't seem to accept < and >. I'm using
>> several news providers, and all of them carry > 10000 groups, so copy and
>> paste is not possible.
>> 
>> I managed to telnet to my news provider, but typing in all those commands
>> without echo is also very clumsy, so it's redirection what I need. And ist
>> took quite some time for the groups list to scroll through.
> 
> You should be able to get a list of supported commands in telnet by
> typing something like ?/help or help /?
> 
> Look for the set and unset commands, then get their list of options.
> 
> What OS are you using? I know Win2k and WinXP could set and unset the
> local echo, but I don't remember if they can log. Telnet (a feature
> not turned on by default) in Vista (which I'm using) can log to a text
> file.

Hi
I'm still on Win2K switching over to linux.
Win2K only gives
telnet /?
telnet [host [port]]
  host     specifies the hostname or IP address of the remote
             computer to connect to.
  port     Specifies the port number or
             service name.

That's all.
Any combination with < and >  don't work; help telnet gives nothing, and
the Windows Help is useless as usual.
What I managed so far was
1 telnet provider 119
2 type in auth commands, with no echo
3 list
4 see some 10K lines of text scrolling over the screen
5 quit
I can live with 2 but really want to catch the output of 3.

May be possible under Linux.

Thanks anyway

Axel
Re: retrieving list of groups to text file
#206983
Author: Bert Hyman
Date: Thu, 04 Oct 2007 15:02
13 lines
1642 bytes
meiwakudome@email.de (Axel Schlicht) wrote in
news:1etrkxv9ft6yy$.px0fb2xmiyk2.dlg@40tude.net: 

> Thanks anyway

Grab a copy of Xnews (http://xnews.newsguy.com) and use it to get
the newsgroup lists from your various servers. 

Xnews stores the lists as <servername>.newsrc, and they're in plain
text. 

-- 
Bert Hyman | St. Paul, MN | bert@iphouse.com
Re: retrieving list of groups to text file
#206987
Author: Rom
Date: Thu, 04 Oct 2007 15:33
68 lines
2827 bytes
On Thu, 4 Oct 2007 16:42:10 +0200, Axel Schlicht wrote:

> On Thu, 4 Oct 2007 20:30:52 +1000, Rom wrote:
[...]
>> You should be able to get a list of supported commands in telnet by
>> typing something like ?/help or help /?
>> 
>> Look for the set and unset commands, then get their list of options.
>> 
>> What OS are you using? I know Win2k and WinXP could set and unset the
>> local echo, but I don't remember if they can log. Telnet (a feature
>> not turned on by default) in Vista (which I'm using) can log to a text
>> file.
> 
> Hi
> I'm still on Win2K switching over to linux.
> Win2K only gives
> telnet /?
> telnet [host [port]]
>   host     specifies the hostname or IP address of the remote
>              computer to connect to.
>   port     Specifies the port number or
>              service name.
> 
> That's all.

In Win2k go to Start > Run and type:

telnet

Now try typing:

help /?
set ?
unset ?

Copy and paste all the commands into a text file for reference.
As you're already running telnet at this point you should be able to
set and use those above commands.

Assuming telnet in Win2k has the below commands, here's an example:

Start > Run, and type:

telnet
set localecho
set logfile C:\telnet.txt

Commands for telnet are used before connecting to a host/server. 

open newsserver 119

After connecting to a news server the commands used are for news.

To get the commands for the news server type:

help

Copy the commands into a text file for reference.
Then type commands like:

group news.software.readers

list newsgroups


-- 
Rom
Re: retrieving list of groups to text file
#206992
Author: Abelardo Tordo
Date: Thu, 04 Oct 2007 16:26
15 lines
2141 bytes
In news.software.readers, Axel Schlicht wrote:

> As most^hmany news readers store their data and together with that the
> list of available groups in a proprietary format, I think it might be nice
> to find a way to download only the list of groups available to a plain
> text file, possibly together with a description of those groups. Command
> line tools are definitely preferred.

Any newsreader which uses the "standard" .newsrc does that, just look for
such file. Two that come to mind are tin and slrn, but there are possibly
many more which use the same format.

If you use knode you can find a plain text list in
~/.kde/share/apps/knode/nntp.X/groups (X is a number which varies depending
on your number of configured servers).
Re: retrieving list of groups to text file
#207002
Author: Frank Slootweg
Date: Thu, 04 Oct 2007 19:22
10 lines
1520 bytes
Axel Schlicht <meiwakudome@email.de> wrote:
[...]

> possibly together with a description of those groups.

  For the Big Eight groups, you can get the group descriptions from the
"List of Big Eight Newsgroups" which is regularly (cross-)posted to
news.announce.newgroups, news.groups and news.lists.misc. Latest copy,
of September 15, in <news:list-20070915150001$3341@isc.org> (i.e.
<http://groups.google.com/groups?selm=list-20070915150001$3341@isc.org>.
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