Article View: news.software.readers
Article #261315Re: slrn v1.0.3 released
From: Mike Yetto
Date: Wed, 02 Nov 2016 23:03
Date: Wed, 02 Nov 2016 23:03
47 lines
3124 bytes
3124 bytes
So it is writ, so mote it be....
J.B. Nicholson <jbn@forestfield.org>:
> Adam Funk <a24061@ducksburg.com> wrote:
>> I hadn't thought of that, but it's an interesting idea. I guess you
>> mean use code like the Group_sort & have it run automatically at
>> start-up?
> Yes, you could that and you could also run the group sorting code
> every time the user requests groups via the intrinsics toggle_list_all
> and toggle_hidden, passing on any prefix arguments as well. You'll
> need to provide wrapper functions for these intrinsics and bind keys
> to the wrapper functions instead of the intrinsics. This should let
> slrn should always show groups sorted as you want them anytime the
> user gets groups.
I use the following script (just_big8plus.sh).
#v+
#!/bin/bash
if [ -f ~/.your.newsrc ]; then
wc -l ~/.your.newsrc
mv ~/.your.newsrc ~/.your.newsrc.bak
grep ':' ~/.your.newsrc.bak > ~/.your.newsrc
grep -Eo '^(comp\.|humanities\.|misc\.|news\.|rec\.|sci\.|soc\.|talk\.|alt\.|grc\.|local\.|eternal-september\.).*[!]' ~/.your.newsrc.bak | sort >> ~/.your.newsrc
wc -l ~/.your.newsrc
fi
#v-
Of course you should change .your.newsrc to the proper filename,
or if you prefer change you filename.
Your subscribed groups remain at the top in the order you set.
Mike "season to taste" Yetto
--
"The problem with todayβs world is that everyone believes they have the
right to express their opinion AND have others listen to it. The correct
statement of individual rights is that everyone has the right to an
opinion, but crucially, that opinion can be roundly ignored and even
made fun of, particularly if it is demonstrably nonsense!"
- Brian Cox
Technical Details
Message-ID:
<slrn20161102185558.258.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.(126883).mbox.7z!not-for-mailReferences:
<slrno184v9.h98.jed@jedsoft.org> <pmnjedxe9b.ln2@news.ducksburg.com> <slrno1fnlg.6t6.jbn@forestfield.org> <ah2medxt8j.ln2@news.ducksburg.com> <slrno1kpqk.j75.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn20161102185558.258.twooffive@may.eternal-september.org> Subject: Re: slrn v1.0.3 released Date: Wed, 2 Nov 2016 19:03:22 -0400 From: Mike Yetto <unet.lighthouse@xoxy.net> References: <slrno184v9.h98.jed@jedsoft.org> <pmnjedxe9b.ln2@news.ducksburg.com> <slrno1fnlg.6t6.jbn@forestfield.org> <ah2medxt8j.ln2@news.ducksburg.com> <slrno1kpqk.j75.jbn@forestfield.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.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: Just put it in that pile, I'll get to it. Lines: 47 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: may.eternal-september.org; posting-host="b9fdd8ab029f346e7db824877539bf04"; logging-data="6792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kmy8ou6AVk94xvX9J8vtUw0SOqvyocd4=" User-Agent: slrn/1.0.3/co (no scalding tea, just Leafnode2) X-No-Bananas: Yes (except Ray) Cancel-Lock: sha1:++OHAV2/4IpTBRS4Hm46pOs6Lyw= X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/ X-Received-Bytes: 3008 X-Received-Body-CRC: 2182839586