Article View: news.software.readers
Article #62738Re: SLRN: deleted articles don't stay that way
From: Thomas Schultz
Date: Sun, 25 Jun 2000 00:00
Date: Sun, 25 Jun 2000 00:00
37 lines
2249 bytes
2249 bytes
On 24 June 2000 at 21:33 GMT, <ymrots@rain.futuresouth.com> wrote: [...] > The number of unread articles dropped to show my deletes. If I > re-enter the group now, the deleted articles do not show up again. > But if I type 'G' to check for new news, or restart SLRN, then: > > 40671 rec.autos.makers.vw.aircooled I experienced exactly the same problem when dealing with very large groups. I investigated into it and found out that it was another silly problem with hard-coded limits in C code: Long newsrc lines are correctly written, but when reading them, slrn uses a line buffer of about 16k characters -- any information beyond this point gets lost. In the overwhelming number of cases, this is sufficient, but if you have a large group like this, slrn sometimes indeed "forgets" some articles that have been read. [...] > Anyone know how to make the deleted articles stay deleted? You could solve this problem by implementing a better way of reading the newsrc file in slrn_read_newsrc() (group.c). Make sure to publish the patch :-) Personally, I didn't have the time to do this, so I worked around the problem by setting the hard-coded limit to a higher value and recompiling slrn. In nntpcodes.h, you will find the line #define NNTP_BUFFER_SIZE 0x3FFF Simply set it to a number that suits your needs better (I set it to 0x6FFF and haven't had any problems since then, but seeing the figure above, you might need an even larger number). -- Thomas Schultz <tststs@gmx.de>
Technical Details
Message-ID:
<slrn8lc85i.20e.tststs@starflower.tststs.ddns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<oe93j8.mc.ln@127.0.0.1>Show Full Headers
Complete Article Headers
Message-ID: <slrn8lc85i.20e.tststs@starflower.tststs.ddns.org> Subject: Re: SLRN: deleted articles don't stay that way Date: Sun, 25 Jun 2000 00:00:00 +0000 From: tststs@gmx.de (Thomas Schultz) References: <oe93j8.mc.ln@127.0.0.1> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 638766032 X-Server-Date: 25 Jun 2000 15:06:58 GMT X-Complaints-To: abuse@cityweb.de Organization: Pinguin online. User-Agent: slrn/0.9.6.2+ (Linux) NNTP-Posting-Date: 25 Jun 2000 15:11:59 GMT Newsgroups: news.software.readers