Re: YARN-LIST digest 856

From: Larry Caldwell (larryc@teleport.com)
Date: Sun, 23 Nov 1997 12:59:42 -0800

On Thu, 20 Nov 1997, Gregory Resch <carey@apollo.tomco.net> wrote:

> It isn't necessary, anyway, since "longer" lines *can* be forced into
> shape in pine (just don't cursor back through it), and "ridiculously long"
> lines means one's .newsrc is a holy mess (just collapse the first
> half of such a line into a single range; you obviously don't have time to
> read all those articles and they're probably all expired by now anyway).

You've hit the reason for uqwk core dumps, but there is a simpler way of
cleaning up your .newsrc. The long lines are appended to unsubscribed
newsgroups to mark crossposted articles as read. To remove all the
unsubscribed groups from your .newsrc

cp .newsrc newsrc.bak
grep : .newsrc > newsrc.short
mv newsrc.short .newsrc

Bingo. No more junk in your .newsrc file, and uqwk will bring each newsgroup
line up to snuff every time you run it. If you screw up, just

cp newsrc.bak .newsrc

and you haven't lost anything.

Another .newsrc solution is a .newsrc editor called 'eep'. It runs pretty
good, but writes *all* available newsgroups to your .newsrc file, so you
have to use the grep procedure or load 20,000 newsgroups every time you
run uqwk.

-- Larry