🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244441

Re: news problem

#244441
From: Mike Yetto
Date: Sun, 16 Jan 2011 17:56
50 lines
3805 bytes
Gene E. Bloch <not-me@other.invalid> writes and having writ moves on.
>On Sat, 15 Jan 2011 18:07:35 -0500, MartinS wrote:
>> Again with Xnews, and probably others, you can sort the group list by 
>> number of articles, so it's trivial to delete empty or almost empty ones.

>I might add that in my reader there is no obvious way to remove a
>newsgroup from the downloaded list. I guess I could find the file
>somewhere and edit it, if the format is straightforward (it probably
>would be[1]). But that would hardly be as easy as you make it sound...

I use this script which could be implemented in Windows if you
install unix-utils (which is at least close to the actual name)

#v+
#!/bin/bash

if [ -f ~/.leafnode.braetac.newsrc ]; then
        mv ~/.leafnode.braetac.newsrc ~/.leafnode.braetac.newsrc.bak

        grep ':' ~/.leafnode.braetac.newsrc.bak > ~/.leafnode.braetac.newsrc

        grep -Eo '^(comp\.|humanities\.|misc\.|news\.|rec\.|sci\.|soc\.|talk\.|alt\.|grc\.|local\.|eternal-september\.).*[!]' ~/.leafnode.braetac.newsrc.bak | sort >> ~/.leafnode.braetac.newsrc

fi
#v-

This will create a backup of the newsrc file, keep all of the
subscribed groups at the top of the list (':') and sort the
remaining groups after selecting the Big8, alt, grc, local and
eternal-september hierarchies.

Not exactly what you discussed, but your list will be shorter.

>And if I do manage to delete some newsgroups, and later tell my
>newsreader to update the newsgroup list (i.e., download new newsgroups),
>would it not replace the ones I had removed?

Yes it would, so just rerun the script.

>[1] Anyway, I got curious and looked in my data folders for Dialog.
>There's no way I'm going to find the newsgroup list. There are hundreds
>of files, many binary, and none with a name or extension that sounds
>like a newsgroup list.

You're on your own there.

Mike "solutions looking for problems R us (tinu)" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <slrn20110116124639.392.twooffive@may.eternal-september.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <igme40$em8$1@news.eternal-september.org> <20110114114835.261a8fff@spooker> <17pubw26z39m4.1pvfljoj0aorf.dlg@40tude.net> <CraYo.5334$w_1.4923@newsfe23.iad> <bne3uvb86t7q.ak18id9z8c12.dlg@40tude.net> <eNpYo.60733$lL1.46088@newsfe21.iad> <zoqc42j6j4ix$.9rsswc1oxanz.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20110116124639.392.twooffive@may.eternal-september.org>
Subject: Re: news problem
Date: Sun, 16 Jan 2011 12:56:39 -0500
From: Mike Yetto <myetto1@nycap.invalid>
References: <igme40$em8$1@news.eternal-september.org> <20110114114835.261a8fff@spooker> <17pubw26z39m4.1pvfljoj0aorf.dlg@40tude.net> <CraYo.5334$w_1.4923@newsfe23.iad> <bne3uvb86t7q.ak18id9z8c12.dlg@40tude.net> <eNpYo.60733$lL1.46088@newsfe21.iad> <zoqc42j6j4ix$.9rsswc1oxanz.dlg@40tude.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 50
Injection-Info: may.eternal-september.org;
 posting-host="LagJXPyKy0Sy/aUTUT+6gw";
 logging-data="18867"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/ODf4zmp/QmDH81TAXHH7eYzFDnBenCgc="
User-Agent: slrn/pre1.0.0-26/co (Kubuntu 10.04; 64bit)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
Cancel-Lock: sha1:f58dx+kIUN0RYBcoK2qc/uLgtok=
 sha1:fEmNMauu6KdV/7J9Q4Jw0j9tqnA=
X-Original-Bytes: 3543