🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #64510

Re: [slrn] sorting groups

#64510
From: J.B. Nicholson-Owens
Date: Mon, 14 Aug 2000 00:00
24 lines
1696 bytes
Jakob =?iso-8859-1?Q?Vo=DF?= wrote:
>   () = system( sprintf("sort -o %s %s", newsrc, newsrc) );
> 	  
>   % how to update display ?
> } 
> #v-

You can update the display, but you'll really need to make slrn load the
newly shuffled newsrc.  To my knowledge, slrn won't do that short of a
restart.  If you want to move newsgroups in a way relevant to newsreading
(as opposed to the ASCIIbetical sorting 'sort' offers), you'll want slrn to
do the moving.

> [H]as anybody written something like this before?

I've written a macro to do this, I'll e-mail you a copy if you like.  I'm
still working on getting a website into shape so I can point people there
and the documentation for this macro isn't complete, but I'll help you get
through it.  My group_move macro lets you move groups by name, number of
unread articles, number of high-scoring articles, subscription status,
reverse the current order and any other criteria (via S-Lang's array
manipulators--treat the group list like a string array).

Technical Details
Message-ID: <slrn8pg7i5.7f.jbn@next.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.mbox.zip!not-for-mail
References: <8n8skl$3bl$1@narses.hrz.tu-chemnitz.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8pg7i5.7f.jbn@next.forestfield.org>
Subject: Re: [slrn] sorting groups
Date: Mon, 14 Aug 2000 00:00:00 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <8n8skl$3bl$1@narses.hrz.tu-chemnitz.de>
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!not-for-mail
X-Deja-AN: 658181060
X-Trace: fu-berlin.de 966270598 8467226 208.216.67.173 (16 [35848])
Organization: Forest Field OmniMedia
User-Agent: slrn/0.9.6.2 (Unix)
Newsgroups: news.software.readers