🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9780

Re: 2 probs: .newsrc too long and killfile ignored

#9780
From: Michael T Pins
Date: Wed, 30 May 2001 18:59
82 lines
4588 bytes
jpc@suespammers.org (J. Porter Clark) writes:

>Michael T Pins <mtpins@nndev.org> writes:

>>Kristi Wachter <racer@racerrecords.com> writes:

>>>I'm using nn 6.5.6, and I have two recurring problems.

>>>First, when I quit nn, I often get a message that says ".newsrc too
>>>long". Although I've tried cleaning up my .newsrc, I mostly use nn to
>>>read a very busy newsgroup (alt.religion.scientology), and the problem
>>>reappears almost immediately after trying to shorten the .newsrc file.

>>The format of the .newsrc file looks like this:
>>news.software.b!
>>news.software.misc: 1-3312
>>news.software.nn: 1-11850,11853-11858,11860
>>news.software.nntp: 1-96788
>>news.software.readers: 1-97428

>>The numbers are the articles you have marked read.  nn will only write
>>lines up to 8k in length.  I suppose I could increase this.

>The problem usually occurs--for me--when I try to subscribe to a
>newsgroup I've never read before.  nn tries to write a long entry with
>lots of "holes" in it, like 1-2,5-8,9-27,30-50, until it gets over the
>line limit.  This could be a really long line!  It is often too long to
>be edited with vi, too.

Note that the format of the .newsrc file isn't an nn thing.  The .newsrc
file has a standard format that nearly all newsreaders use.  The only thing
that's a bug is nn's refusal to write a line longer than 8k in length to
it, which has now been fixed.

As for vi, that's a known limitation in vi, it won't deal with lines
longer than 1k in length.  Install nvi and use it instead.

>>>Second, my kill file is often ignored. It sounds a lot like the problem
>>>reported way back with - what was it, 6.5.0beta 3? I'll add someone by
>>>name to my kill file, only to see messages from that person NOT
>>>killfiled during a subsequent nn session.

>>Hmm, I haven't seen this problem in a few years.  I wonder if you're maxing
>>out a buffer somewhere.  I'll add it to the buglist.

>I've seen this.  Sometimes it seems to take an explicit ":compile" for
>nn to make the killfile work.  Usually only happens after the killfile
>has been added to.  But not every time!

Bizzare.  Thanks for the info.

>While you're at it:

>I have a patch to provide a save-headers-only function.  Comes in handy
>for some things--like spam canceling, or saving articles under the
>assumption that one might retrieve them later from an archive like
>Google.  Might take a little effort to isolate said patch from a few
>other local hacks.

Feel free to email it to me.

>I can't make nn-6.5.6 compile under RedHat Linux 7.1.  It seems to fail
>mysteriously in the varargs stuff in term.c, which is weird, because
>global.c, which has similar constructions, succeeds.  Complete error
>messages upon request.

Ditto, although supporting the ever-changing linux (and Redhat in
particular) tends to be low on the priority list.

>In save.c, I can't understand why, in the array open_mode[], the third
>entry is 0.  I think it ought to be FILL_NEWS_HEADER.

It appears to have been this way since at least nn-6.4.19 (which is the
oldest version of the source sitting on this machine).  I can't say why
without digging through the code.

-- 
**************************************************************************
*     Michael T Pins                 |          mtpins@nndev.org         *
*     keeper of the nn sources       |          mtpins@visi.com          *
*     ftp://ftp.nndev.org/pub        |      #include <std.disclaimer>    *
Technical Details
Message-ID: <1qbR6.4479$Dd5.1960997@ruti.visi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!hermes2.visi.com!news-out.visi.com!ruti.visi.com!mtpins
References: <290520012116077515%racer@racerrecords.com> <oq0R6.4405$Dd5.1928606@ruti.visi.com> <3b14f6d5$0$12826$272ea4a1@news.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <1qbR6.4479$Dd5.1960997@ruti.visi.com>
Subject: Re: 2 probs: .newsrc too long and killfile ignored
Date: Wed, 30 May 2001 18:59:09 GMT
From: Michael T Pins <mtpins@nndev.org>
References: <290520012116077515%racer@racerrecords.com> <oq0R6.4405$Dd5.1928606@ruti.visi.com> <3b14f6d5$0$12826$272ea4a1@news.execpc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!hermes2.visi.com!news-out.visi.com!ruti.visi.com!mtpins
Newsgroups: news.software.nn
User-Agent: nn/6.6.beta
Lines: 81
NNTP-Posting-Host: 207.174.152.234
X-Complaints-To: abuse@visi.com
X-Trace: ruti.visi.com 991249149 207.174.152.234 (Wed, 30 May 2001 13:59:09 CDT)
NNTP-Posting-Date: Wed, 30 May 2001 13:59:09 CDT