🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #52483

Re: slrn: keeping bogus groups in .newsrc

#52483
From: Sylvan Butler
Date: Wed, 29 Sep 1999 00:00
41 lines
2523 bytes
On Wed, 29 Sep 1999 11:56:05 GMT, klassa@ipass.net <klassa@ipass.net> wrote:
>thinks all groups are bogus).  This wreaks havoc on my .newsrc
>because, depending on how the news server feels, I can wind up
>with everything in my .newsrc being deleted as "bogus"...

Been there, done that!

>One solution would be to wrap slrn in a little script that'd make
>a backup copy of my .newsrc before I run slrn and then prompt

That much is good.

>me for whether to restore it on the way out.  That still requires

Not so good.

Back when I was using tin I dealt with a similar problem.  The basic
approach was to make the backup copy when starting.  But before making
that backup copy, the size of the newsrc was checked against the backup.
Too much difference and the wrapper exited with a warning message
without starting the newsreader.

When I got the warning I would manually check the differences.  If all
was OK I copied the current over the backup and reran the wrapper.  If I
needed to restore then I copied the backup over the current instead.

If one wanted to get really sophisticated about the whole thing, you
could compare the list of newsgroups (not the article numbers, and sort
to alphabetical before comparing) instead of just the size of the
.newsrc.  But to me it wasn't ever worth that much effort.

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

Technical Details
Message-ID: <slrn7v4v6k.qrd.nospam+_no_Zs__9909@hpb13799z.zboi.hpz.com.invalid>
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
References: <p7nI3.308$A3.588@news.ipass.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7v4v6k.qrd.nospam+_no_Zs__9909@hpb13799z.zboi.hpz.com.invalid>
Subject: Re: slrn: keeping bogus groups in .newsrc
Date: Wed, 29 Sep 1999 00:00:00 +0000
From: nospam+_no_Zs__9909@hpb13799z.zboi.hpz.com.invalid (Sylvan Butler)
References: <p7nI3.308$A3.588@news.ipass.net>
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: 530865722
Mail-Copies-To: never
X-Complaints-To: usenet@news
X-Trace: hpbs1500.boi.hp.com 938638776 21793 15.8.34.109 (29 Sep 1999 20:59:36 GMT)
Organization: Hewlett-Packard
User-Agent: slrn/0.9.5.7 (Linux)
NNTP-Posting-Date: 29 Sep 1999 20:59:36 GMT
Newsgroups: news.software.readers