🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9778

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

#9778
From: J. Porter Clark
Date: Wed, 30 May 2001 13:34
71 lines
4012 bytes
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.

>>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!

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.

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.

When uudecoding, nn shouldn't trust the file mode of the decoded
file--much.  It also needs to understand uudecoded filenames with
spaces in them, although if it converted the spaces to something else
(like "_"), I'd be just as happy.

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.

nn seems to want to ignore newsgroups with names that begin with a
number.  YMMV.

And, in the slrn/nn wars, anyone know of a newsreader, outside of nn,
that can do the equivalent of this?

  nn -mxXk -s/soldi it.

-- 
J. Porter Clark <jpc@suespammers.org>
Technical Details
Message-ID: <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.ems.psu.edu!news.telebeam.net!washdc3-snf1!washdc3-snh1.gtei.net!chcgil2-snh1.gtei.net!news.gtei.net!newsfeeds.sol.net!newspump.sol.net!169.207.30.12.MISMATCH!posts0.nwblwi.newsops.execpc.com!posts.news.execpc.com!reader1-nwblwi.newsops.execpc.com!not-for-mail
References: <290520012116077515%racer@racerrecords.com> <oq0R6.4405$Dd5.1928606@ruti.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <3b14f6d5$0$12826$272ea4a1@news.execpc.com>
Subject: Re: 2 probs: .newsrc too long and killfile ignored
Date: Wed, 30 May 2001 13:34:13 +0000
From: jpc@suespammers.org (J. Porter Clark)
References: <290520012116077515%racer@racerrecords.com> <oq0R6.4405$Dd5.1928606@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.ems.psu.edu!news.telebeam.net!washdc3-snf1!washdc3-snh1.gtei.net!chcgil2-snh1.gtei.net!news.gtei.net!newsfeeds.sol.net!newspump.sol.net!169.207.30.12.MISMATCH!posts0.nwblwi.newsops.execpc.com!posts.news.execpc.com!reader1-nwblwi.newsops.execpc.com!not-for-mail
Newsgroups: news.software.nn
Organization: http://members.nbci.com/porterclark/
Lines: 70
NNTP-Posting-Host: aeb31944.news.execpc.com
X-Trace: DXC=]RiCJTDUAHE=>N\5^GS<lJ`<WTGT>OiBNbCigiU>8_hH4`>8YbCYbkM1dDXO5heGfDSL8WIW0fG=K\K1E[a;YUSL
X-Complaints-To: abuse@execpc.com