Article View: news.software.readers
Article #64514[slrn] sorting groups
From: Jakob Voß
Date: Mon, 14 Aug 2000 00:00
Date: Mon, 14 Aug 2000 00:00
28 lines
1485 bytes
1485 bytes
Since there is no build-in way to sort the list of groups in group
mode i tried to write a macro to do this, in a way like:
#v+
define sort_groups(mode)
{
if( is_group_mode() == 0 ) return;
variable server = server_name();
variable newsrc = ... % how to get newsrrc-Filename from server ?
() = system( sprintf("sort -o %s %s", newsrc, newsrc) );
% how to update display ?
}
#v-
can anybody help? I'd also like to move the groups up and down
from inside group mode - has anybody written something like
this before?
Jakob
--
<individual name="Jakob Voß" home="www.tu-chemnitz.de/~voj/">
<xsl:apply-templates/> <!-- maybe not predictable -->
</individual>
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <8n8skl$3bl$1@narses.hrz.tu-chemnitz.de> Subject: [slrn] sorting groups Date: Mon, 14 Aug 2000 00:00:00 +0000 From: jakob.voss@informatik.tu-chemnitz.de (Jakob Voß) 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: 658119742 X-Complaints-To: usenet@news.tu-chemnitz.de X-Trace: narses.hrz.tu-chemnitz.de 966260181 3445 134.109.108.207 (14 Aug 2000 13:36:21 GMT) Organization: Chemnitz University of Technology User-Agent: slrn/0.9.6.2+ (Linux) NNTP-Posting-Date: 14 Aug 2000 13:36:21 GMT Newsgroups: news.software.readers