🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54786

Re: Article numbering and handling article number rollover

#54786
From: Paul Colquhoun
Date: Wed, 24 Oct 2001 07:00
57 lines
3924 bytes
On 24 Oct 2001 02:54:09 GMT, Howard Siegel <not.interested@nospam.invalid> wrote:
| 
| I need to write a specialized NNTP client program (NOT a full
| fledged news reader!) and as I have not tried to read through
| any of the "brand name" news readers as yet (but I have very
| little time to devote to this project), I'd like the sage
| advise of the experts on the matter....
| 
| 1) What is the largest article number that I can expect to get
|    back from the NNTP server?  Is a signed 32 integer sufficient
|    to hold article numbers?
| 
| 2) What is the proper way to detect rollover of the article
|    numbers?  I suppose that if the highest article number
|    the server says it has is smaller than the highest article
|    number the newsrc says was read, then the article numbers
|    have rolled over.  Is that the canonical way or is there
|    a better way?
| 
| 3) What is the proper response for resetting the article list
|    in the newsrc file when rollover is detected?  Do I throw
|    out the old article list and set the new article list to
|    1 through the (<lowest-nntp-server-article-number> - 1)?
| 
| - howard
| 
| PS: I have already done some investigation, and under the
| current circumstances and constraints, have decided that the
| specialized NNTP client is the most expediant course of action
| for this project. I have already had the "discussions" with folks
| who have said "just put up a small Linux box running as a news
| server, etc., etc., etc.". We don't have the resources or desire
| to support running our own news server at this time just for this
| one little function we would like to implement, and already have
| access to a news server that more than adequately serves it's
| purpose for general news consumption. So PLEASE, do not answer
| if your are only going to suggest "put up your own news server".
| I really just need the answers to the questions above to continue
| the work I have already begun.


Have you thought of using something like slrnpull or leafnode to just
pull down the articles in the groups you are interested in?

I know that slrnpull workes quite well, and leaves the articles in a
spool directory, one file per article.

Not surprisingly, the slrn newsreader can read from this spool.


-- 
Reverend Paul Colquhoun, ULC.    http://andor.dropbear.id.au/~paulcol
     Asking for technical help in newsgroups?  Read this first:
        http://www.tuxedo.org/~esr/faqs/smart-questions.html
           "Mary had a crypto key, she kept it in escrow,
     and everything that Mary said, the Feds were sure to know."
Technical Details
Message-ID: <slrn9tcoqh.olq.postmaster@tux.andor.dropbear.id.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!newshub.northeast.verio.net!verio!news.maxwell.syr.edu!newsfeed.cwix.com!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail
References: <9r5agg$7ma$1@news.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9tcoqh.olq.postmaster@tux.andor.dropbear.id.au>
Subject: Re: Article numbering and handling article number rollover
Date: Wed, 24 Oct 2001 07:00:35 GMT
From: postmaster@andor.dropbear.id.au (Paul Colquhoun)
References: <9r5agg$7ma$1@news.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!newshub.northeast.verio.net!verio!news.maxwell.syr.edu!newsfeed.cwix.com!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Reply-To: <postmaster@andor.dropbear.id.au>
Followup-To: news.software.readers
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 56
NNTP-Posting-Host: 144.137.127.26
X-Complaints-To: news@bigpond.net.au
X-Trace: news-server.bigpond.net.au 1003906835 144.137.127.26 (Wed, 24 Oct 2001 17:00:35 EST)
NNTP-Posting-Date: Wed, 24 Oct 2001 17:00:35 EST
Organization: BigPond Internet Services (http://www.bigpond.net.au)