Article View: news.software.readers
Article #235518Re: Sort newsgroups in slrn?
From: Mike Yetto
Date: Thu, 17 Sep 2009 12:41
Date: Thu, 17 Sep 2009 12:41
33 lines
3109 bytes
3109 bytes
Bada bing andrew <andrew@skamandros.invalid> bada bang: > On 2009-09-17, invalid@domain.invalid <invalid@domain.invalid> wrote: > >> It would a nice feature for slrn to sort upon command or optionally >> sort whenever it detects new newsgroups added. I personally would >> prefer the latter as a default. > > I cannot tell a lie, I was not actually aware that groups could be moved > with the 'm' key :-). For the 14 groups I subscribe to this will be more > than sufficient but perhaps more functionality will be added when the > development train leaves the station again? > I don't mean to rain on anyone's parade, but I'd rather see any group sorting as being totally optional with the default of leaving it alone. I wrote a simple bash script that first creates a backup of the file then pulls all of the subscribed groups from this backup to a new newsrc without changing the existing order. It then extracts the unsubscribed groups that are in the Big 8 plus a few others (eternal-september, grc, etc) and sorts them before appending to the new newsrc file. The result is a smaller newsrc file with my subscribed groups in my manually set order followed by a selected list of unsubscribed groups sorted alphabetically. (sorry Andrew, there are no Greek language groups) Mike "no Klingon either" Yetto -- In theory, theory and practice are the same. In practice they are not.
Technical Details
Message-ID:
<slrn20090917083021.797.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.ams.giganews.com!nntp.giganews.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mailReferences:
<h8s9mg$cp6$2@news.albasani.net> <20090917142953.939@skamandros.andrews-corner.org> <slrnhb3qi4.4kr.invalid@invalid.org> <20090917203157.363@skamandros.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn20090917083021.797.twooffive@may.eternal-september.org>
Subject: Re: Sort newsgroups in slrn?
Date: Thu, 17 Sep 2009 08:41:21 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <h8s9mg$cp6$2@news.albasani.net> <20090917142953.939@skamandros.andrews-corner.org> <slrnhb3qi4.4kr.invalid@invalid.org> <20090917203157.363@skamandros.andrews-corner.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.ams.giganews.com!nntp.giganews.com!feeder.ecngs.de!ecngs!feeder2.ecngs.de!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 33
X-Trace: news.eternal-september.org
U2FsdGVkX19IdqlJhME5FWhFqPRcjbMQ+f01uLTNyDoj+ETwe4ww9yyJWyVl+pQ0XJMoX0+M8OICcPaMxXWgy5E1VOEOc2ZFeGhOx+iTuukNUv16W39a//bUyEdKeMFsagok/UYOD1Q=
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Thu, 17 Sep 2009 12:46:48 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1+lZlwQ3LpL3VtNOpQaivza0zfqo79NC4A=
X-No-Bananas: Yes
X-Face: }3JWz.qUmO(s6)fi^Y)1eP$!$:`/OCi6lO:7>\e0SB{-VT^+J5DWXfTybc>y~aVli{wXD
m/.j\Al('YgA3HNrxK-oL@; 2*[QCBW/p"j'~oe7H~MG'=-W<y-rh8h2TY3\Iq*U\4Z97!Y6f)pxHQ
H,
Cancel-Lock: sha1:86+Er2OEZwORdrXwMCzO3Bsz1XQ=
sha1:hAXr+S0hNvPv2wwpDigZLuAkKpU=
User-Agent: slrn/pre1.0.0-11/co (Kubuntu 9.04)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/