Thread View: news.software.nntp
2 messages
2 total messages
Started by John Poltorak
Sat, 20 Jan 1996 00:00
LIST NEWSGROUPS
Author: John Poltorak
Date: Sat, 20 Jan 1996 00:00
Date: Sat, 20 Jan 1996 00:00
20 lines
1110 bytes
1110 bytes
I am attempting to write a REXX routine for OS/2 to retrieve a list of
newsgroups from an NNTP server. I'm assuming that NNTP passes a file
across to the client...
If I'm correct, could someone tell me the name that this file is usually
known as, together with its location, and any structure the file may have.
Many thanks...
John
--
// EXEC PGM=SIG
John Poltorak FidoNet: 2:250/313
jpolt@bradnet.demon.co.uk OS2Net: 81:444/4
john@mcb.co.uk ibmNET: 40:2005/444
Fax/BBS: +44-1274-406660 UAA: 08005A8DE350
/*
Re: LIST NEWSGROUPS
Author: John R Pierce
Date: Tue, 23 Jan 1996 00:00
Date: Tue, 23 Jan 1996 00:00
24 lines
1379 bytes
1379 bytes
John Poltorak <jpolt@bradnet.demon.co.uk> wrote:
>I am attempting to write a REXX routine for OS/2 to retrieve a list of
>newsgroups from an NNTP server. I'm assuming that NNTP passes a file
>across to the client...
>
>If I'm correct, could someone tell me the name that this file is usually
>known as, together with its location, and any structure the file may have.
Um, most news servers use a 'active' file, usually
/var/lib/news/active This file has one line per newsgroup, something
like
group.name nnnnn mmmmm x
nnnnn is the highest article number, mmmmm is the lowest article
number, and x is usually either 'y' or 'm' ('m' for moderated
newsgroup). Now, if you are a NNTP client, you get the groups via a
GROUP command using the NNTP protocol, see the appropriate faqs and
RFC's on this...
-jrp
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