🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #139694

Re: [announce] mutt vs slrn - a comparison

#139694
From: J.B. Nicholson-Owens
Date: Mon, 22 Dec 2003 05:00
79 lines
5320 bytes
In <slrnbu9n9s.2hu.jbn@forestfield.org> I asked if mutt has an S-Lang
prompt.

Paul replied:
> I gather that's a rhetorical question since mutt does not have S-Lang.
> I believe Vim has ex-commands as well as support for other scripting
> languages, so it's not unprecedented.

It was not a rhetorical question.  I've used mutt before but I don't use
much of its capabilities and I haven't kept up with the various patches
available to make mutt do different things.  My version of mutt suits my
needs but is out of date.  So I did not know.

> From slrnfuns.txt:
> 
>   7.14.  set_integer_variable

Thanks, but I'm fairly familiar with slrn's S-Lang API.  Perhaps you didn't
know this, but there is no way for a slrn macro to read or set the
server->newsrc mapping indicating which newsrc to use with which news
server.  There's no way a slrn macro can read or set the regular expressions
that determine what is quoted material and what is not.

There is also no fast way for a macro to retreive the list of articles
including their relationship to other articles.  A macro must navigate the
article list by moving the cursor, reading header information and
reconstructing the parent-child relationships.  This means the more articles
there are to scan the longer the scan will take.  This kind of list walking
can quickly become prohibitively expensive (in terms of time) on slow
machines.  I think it would be faster to pass a reference to an array
containing an ordered list of structures in which each structure holds an
article (or some unambiguous reference to an article, like a message-ID) and
an array of similar article references if that article has child articles. I
imagine if this array had other metalevel info about the articles (and was
somehow updated as the state of the articles changed) it would be even more
useful.

One could make a macro to build such an array, and once built, this array
would let macros quickly deal with the article list.  One could use the
information found in this array to quickly jump around the article list
without having to navigate it one article at a time (or even one thread at a
time).  But slrn could construct this array much more quickly than any macro
and keep the data within the array updated (or allow the macro the ability
to fetch a new state listing ad hoc).

> I believe there's a tk script for customizing slrn, could that be
> redesigned to generate meaningful S-Lang code?

I don't know what tk script you're talking about, so I have no comment on
how it might be useful.

> Why? SLRN is sort of a clone of Gnus, just read the Gnus manual.

Because you appeared to be looking for assistance getting some job done.
When asking someone for help it's usually a good idea to give them a clear 
understanding of precisely what you want done.

A lot of slrn's features come from Gnus, but to say slrn is a clone of Gnus
goes too far I think.  Gnus is considerably more powerful than slrn but slrn
has a much smaller footprint and slrn doesn't encourage the use of any
particular text editor, just to name a couple differences.  I don't think
slrn's developers aspire to make slrn a full replacement for Gnus.

> [...] I miss is scrolling up one line with M-enter. Since Gnus runs in
> Emacs, some features of Emacs such as the C-h v should also be in slrn.

If you think they're missing, by all means add them.  But if you are too
busy to do the work and you want someone else to do it, expect to have to
describe the features you want in detail.  I don't use Emacs and I don't tax
much of what JED has to offer either (even in Emacs mode), so I don't
immediately know what wonderful functionality C-h v is supposed to provide.

> Another misfeature is the i18n. See the attribution line to see what I
> mean. It's not even correct Dutch!

I don't speak Dutch so I never would have noticed.  Perhaps you could
describe in more detail how the internationalization is broken.

Happy newsreading.
Technical Details
Message-ID: <slrnbucuqm.a6d.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.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrnbtv8su.e4o.usenet@pima.hostsharing.net> <slrnbu1mou.2j1.tststs@moonlight.tststs.ddns.org> <2003-12-18T19-33-21@guckes.net> <slrnbu6kmt.1cg.tststs@moonlight.tststs.ddns.org> <bs1is8$5ga$1@reader10.wxs.nl> <slrnbu9n9s.2hu.jbn@forestfield.org> <bs410m$qqt$1@reader11.wxs.nl>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbucuqm.a6d.jbn@forestfield.org>
Subject: Re: [announce] mutt vs slrn - a comparison
Date: Mon, 22 Dec 2003 05:00:09 +0000
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <slrnbtv8su.e4o.usenet@pima.hostsharing.net> <slrnbu1mou.2j1.tststs@moonlight.tststs.ddns.org> <2003-12-18T19-33-21@guckes.net> <slrnbu6kmt.1cg.tststs@moonlight.tststs.ddns.org> <bs1is8$5ga$1@reader10.wxs.nl> <slrnbu9n9s.2hu.jbn@forestfield.org> <bs410m$qqt$1@reader11.wxs.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 79
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: news.uni-berlin.de 1072069209 10493723 208.216.67.173 ([35848])
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.0 (Linux)