🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by jeffb Sat, 19 Jul 2003 19:04
suggested improvements to slrn
#128958
Author: jeffb
Date: Sat, 19 Jul 2003 19:04
49 lines
3136 bytes
These are some suggested improvements (flaws :-)
in slrn that I hope will be addressed in the next release:

These problems occur when downloading a series of tagged articles
to a spool file, with a server that disconnects after a certain
amount of time.

1. When an article download is interrupted, a partial article gets
saved to the spool file, which corrupts it so it can't be decoded.
The partial article should be discarded instead.

2. When an article download is interrupted, the download resumed
by trying to fetch the next article, resulting in ab article being
skipped.  I must then go back later and fetch it, by which time it
may be expired.  slrn should try to download the same article
again.

3. When attempting to reconnect with the server, if the attempt is
not successful, the article that slrn is attempting to download is
skipped, and the next attempt is to fetch the article after that
one.  slrn should keep trying to connect until it succeeds,
without skipping any articles.  The only time an article should be
skipped is when the server says it is unavailable.

4. When an an article download is interrupted, the article being
downloaded is marked as read.  It should remain unmarked.

5. When refreshing article counts, slrn disconnects from the
server and attempts to reconnect.  This does not work so well when
the server is very busy and anyone attempting connection must wait
until a slot opens up.  Isn't there a way to refresh the article
counts without disconnecting from the server?

6. There should be a command that means "finish downloading the
currently downloading article, but then stop, and don't download
any more articles in the tagged article list; and don't disconnect
from the server.

It seems that slrn solves a large number of problems by simply
disconnecting and reconnecting to the server.  This just doesn't
work well on some servers (**cough**biggulp**cough**).

Otherwise an excellent news client.
--
smytty

-- 
Serwis Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Re: suggested improvements to slrn
#128965
Author: J.B. Nicholson-Owens
Date: Sat, 19 Jul 2003 21:00
57 lines
3696 bytes
jeffb@post.newsfeeds.com () wrote:
> 1. When an article download is interrupted, a partial article gets
> saved to the spool file, which corrupts it so it can't be decoded.
> The partial article should be discarded instead.

This could be done with a macro too or you could use a better decoder
(uudeview might help here).

> 2. When an article download is interrupted, the download resumed
> by trying to fetch the next article, resulting in ab article being
> skipped. [...]

This should be fixed in slrn but can be worked around in a macro as well
(just in case there is a good reason for slrn's current behavior I'm not
accounting for).  I believe the key is to download an article and only
marking it as read after it is has been successfully downloaded and saved.
Until that point the article should not be marked any particular way.

> 3. When attempting to reconnect with the server, if the attempt is not
> successful, the article that slrn is attempting to download is skipped,
> and the next attempt is to fetch the article after that one.  slrn should
> keep trying to connect until it succeeds, without skipping any articles.
> [...]

I have no problems with this so long as the number of reconnection attempts
is abortable and configurable.

> 4. When an an article download is interrupted, the article being
> downloaded is marked as read.  It should remain unmarked.

I think this has much the same import as issue #2.

> 5. When refreshing article counts, slrn disconnects from the
> server and attempts to reconnect.  This does not work so well when
> the server is very busy and anyone attempting connection must wait
> until a slot opens up.  Isn't there a way to refresh the article
> counts without disconnecting from the server?

I couldn't verify that slrn disconnects from the server when requesting new
news.  I used --debug to see what 0.9.7.4pl2 did with a server that
identified itself as "InterNetNews NNRP server INN 2.3.1" and slrn appears
to have gone right from get XOVER data to issuing a NEWGROUPS command
followed by entering GROUP mode repeatedly to get article counts.

> 6. There should be a command that means "finish downloading the
> currently downloading article, but then stop, and don't download
> any more articles in the tagged article list; and don't disconnect
> from the server.

This could be done with a macro as well--such a macro would essentially
rewrite the way numerically tagged articles are handled.

In the interim, you should consider using a news client intended for dealing
with binaries as slrn is not really well suited for that task.

Happy newsreading.
Re: suggested improvements to slrn
#128971
Author: Jens Wahnes
Date: Sat, 19 Jul 2003 22:27
28 lines
2281 bytes
J.B. Nicholson-Owens wrote:

> jeffb@post.newsfeeds.com () wrote:
>> 5. When refreshing article counts, slrn disconnects from the
>> server and attempts to reconnect.  This does not work so well when
>> the server is very busy and anyone attempting connection must wait
>> until a slot opens up.  Isn't there a way to refresh the article
>> counts without disconnecting from the server?

> I couldn't verify that slrn disconnects from the server when requesting new
> news.  I used --debug to see what 0.9.7.4pl2 did with a server [...]

This has been changed in the time between 0.9.6.4 and 0.9.7.4, I
believe.  IIRC, Thomas said that the disconnecting was done on purpose
to force INN give out 'correct' article counts, thus showing all new
news.  But since INN debilberately delays this information for up to
one minute to minimize server load, the feature of dropping the
connection in slrn to get around this limitation was removed.  All of
this only applies to setups where "read_active" is set to 0; when
"read_active" is set to 1, it doesn't occur.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht
Re: suggested improvements to slrn
#129038
Author: jeffb
Date: Sun, 20 Jul 2003 17:42
85 lines
4753 bytes
On 19 Jul 2003 21:00:07 GMT, J.B. Nicholson-Owens <jbn@forestfield.org> wrote:
>jeffb@post.newsfeeds.com () wrote:
>> 1. When an article download is interrupted, a partial article gets
>> saved to the spool file, which corrupts it so it can't be decoded.
>> The partial article should be discarded instead.
>
>This could be done with a macro too or you could use a better decoder
>(uudeview might help here).

uudeview chokes on this situation.  I've tried it.

>> 2. When an article download is interrupted, the download resumed
>> by trying to fetch the next article, resulting in ab article being
>> skipped. [...]
>
>This should be fixed in slrn but can be worked around in a macro as well
>(just in case there is a good reason for slrn's current behavior I'm not
>accounting for).

What macro would do this?

>  I believe the key is to download an article and only
>marking it as read after it is has been successfully downloaded and saved.
>Until that point the article should not be marked any particular way.

Agreed, but how to do it?

>> 3. When attempting to reconnect with the server, if the attempt is not
>> successful, the article that slrn is attempting to download is skipped,
>> and the next attempt is to fetch the article after that one.  slrn should
>> keep trying to connect until it succeeds, without skipping any articles.
>> [...]
>
>I have no problems with this so long as the number of reconnection attempts
>is abortable and configurable.

How can I configure this?  Or is it not possible yet?

>> 4. When an an article download is interrupted, the article being
>> downloaded is marked as read.  It should remain unmarked.
>
>I think this has much the same import as issue #2.

These are different issues.  #2 is about skipping an article if a
download attempt doesn't succeed.  #4 is about marking it as read.

>> 5. When refreshing article counts, slrn disconnects from the
>> server and attempts to reconnect.  This does not work so well when
>> the server is very busy and anyone attempting connection must wait
>> until a slot opens up.  Isn't there a way to refresh the article
>> counts without disconnecting from the server?
>
>I couldn't verify that slrn disconnects from the server when requesting new
>news.  I used --debug to see what 0.9.7.4pl2 did with a server that
>identified itself as "InterNetNews NNRP server INN 2.3.1" and slrn appears
>to have gone right from get XOVER data to issuing a NEWGROUPS command
>followed by entering GROUP mode repeatedly to get article counts.

This may be my memory from version 0.9.6.4.  I'm not sure.

>> 6. There should be a command that means "finish downloading the
>> currently downloading article, but then stop, and don't download
>> any more articles in the tagged article list; and don't disconnect
>> from the server.
>
>This could be done with a macro as well--such a macro would essentially
>rewrite the way numerically tagged articles are handled.

Again, how to do this?

>In the interim, you should consider using a news client intended for dealing
>with binaries as slrn is not really well suited for that task.

I tried BNR2.  It crashed and hung my machine every time I tried
to use it.  slrn would be ideal if only its behavior when it fails
to fetch an article were less "eccentric".

>Happy newsreading.

What changes are being planned for the next release?  Does anybody
know?


-- 
Serwis Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/
Re: suggested improvements to slrn
#129068
Author: J.B. Nicholson-Owens
Date: Sun, 20 Jul 2003 22:02
23 lines
2028 bytes
jeffb@post.newsfeeds.com () wrote:
> What macro would do this?

I don't know of one already written, but it wouldn't be hard to write the
program to do this.  It would mainly prompt for a file, skip to each
numerically tagged article, save the article to the file, and (optionally)
decode the file.  It could do what the intrinsic save/decode does but do it
in a way that is more appealing to binary newsreader users.

> How can I configure this?  Or is it not possible yet?

There is not yet a configuration setting for this.

> These are different issues.  #2 is about skipping an article if a
> download attempt doesn't succeed.  #4 is about marking it as read.

But they could both be handled by the same macro.

> What changes are being planned for the next release?  Does anybody
> know?

slrn.sourceforge.net has some information and pre-releases on CVS and
compressed tar archives.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads