🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #76067

Re: [slrn] group sorting

#76067
From: Frank Hahn
Date: Wed, 11 Apr 2001 01:10
26 lines
1735 bytes
On Mon, 09 Apr 2001 14:59:18 -0000, those who know me have no need of my name
<not-a-real-address@usa.net> wrote:
><slrn9d23go.1vae.ramma@www.invert.com> divulged:
>>I know you can change the positions of the groups with m and transpose
>>them as well with a ctrl-sequence, but is there a way to sort them? 
> 
> not in slrn.  exit and sort the .jnewsrc or .newsrc (or other as
> specified by .slrnrc) file.
> 
> e.g., 
> 
>   $ sort -do .jnewsrc .jnewsrc     # yes, type the name twice
> 
I have a macro called group_sort.sl that I found somewhere.  It
allows you to sort the subscribed newsgroups into either ascending
or descending order.  I put the following into my .slrnrc file:

interpret "macros/group_sort.sl"
setkey group Group_Sort->ascii_sort "^Ks"
setkey group Group_Sort->reverse "^Kr"

-- 
Frank Hahn

Nothing astonishes men so much as common sense and plain dealing.
Technical Details
Message-ID: <slrn9d7atl.d9a.fhahn@bart.fcjc.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!supernews.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!fhahn
References: <slrn9d23go.1vae.ramma@www.invert.com> <td3ji6mulehm4b@news.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9d7atl.d9a.fhahn@bart.fcjc.net>
Subject: Re: [slrn] group sorting
Date: Wed, 11 Apr 2001 01:10:04 -0000
From: fhahn@yahoo.com (Frank Hahn)
References: <slrn9d23go.1vae.ramma@www.invert.com> <td3ji6mulehm4b@news.supernews.com>
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!supernews.google.com!sn-xit-02!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!fhahn
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
Reply-To: fhahn@yahoo.com
Mail-Copies-To: nobody
X-No-Productlinks: yes
User-Agent: slrn/0.9.7.0 (SunOS)
X-Complaints-To: newsabuse@supernews.com
Lines: 25