🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47967

Slrn reordering newsgroups -- revisited

#47967
From: Peppe
Date: Tue, 13 Apr 1999 00:00
64 lines
2659 bytes
A few weeks ago, there was discussion about slrn reordering groups.
I now use an alias for invoking slrn, which calls the following
script (in its most recent shape):

# -------------------------------------------------------------------------
#!/usr/bin/zsh

slrn -h news.k-net.dk
file=/tmp/${0##*/}.$$
grep ":" ~/.newsrc_k-net  | cut -f1 -d':' > $file.new
grep ":" ~/.newsrc_k-net~ | cut -f1 -d':' > $file.old
diff -u $file.old $file.new | tee $HOME/slrn.diff
rm $file.new $file.old
# -------------------------------------------------------------------------

Upon seeing an error, I verified the rearranging in the following steps:

1.  Fire up slrn
2.  Listing k-net.net (using L)
3.  Move down to k-net.net
4.  Hit "m" to move the group
5.  Using <UP> to move the group to the top of the list (until error)
6.  Subscribe the group
7.  Quit slrn

This moved several groups around. If I add 

1.5 Toggle listing of groups without new messages ("l")

no groups are moved. It seems as if hidden groups are moved about.

The start of the diff is:

--- /tmp/test_slrn.871.old	Tue Apr 13 18:07:27 1999
+++ /tmp/test_slrn.871.new	Tue Apr 13 18:07:27 1999
@@ -1,14 +1,15 @@
+k-net.net
 comp.editors
 news.software.readers
 news.software.nntp
-comp.mail.mutt
 rec.humor.funny
 rec.humor.funny.reruns
 comp.risks
 alt.fan.warlord
 alt.folklore.computers
-comp.infosystems.www.browsers.misc
+comp.mail.mutt
 news.announce.important
+comp.infosystems.www.browsers.misc
 news.announce.newgroups
 news.groups
[--- snip ---]

I hope this provides enough information for a bug fix.

Peppe
-- 
Preben Guldberg         __/-\__       Democracy does not guarantee equality
c928400@student.dtu.dk   (o o)        of conditions - it only guarantees
-------------------- oOOo (_) oOOo    equality of opportunity.
http://www.student.dtu.dk/~c928400    --Irving Kristol

Technical Details
Message-ID: <slrn7h6rmd.ui.c928400@urdybet.pbk.dk>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrn7h6rmd.ui.c928400@urdybet.pbk.dk>
Subject: Slrn reordering newsgroups -- revisited
Date: Tue, 13 Apr 1999 00:00:00 +0000
From: c928400@student.dtu.dk (Peppe)
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: 465932727
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 924020302 24060 130.225.71.226 (13 Apr 1999 16:18:22 GMT)
Organization: Home of Peppe
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: c928400@student.dtu.dk
NNTP-Posting-Date: 13 Apr 1999 16:18:22 GMT
Newsgroups: news.software.readers