🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by El Gringo Sun, 28 Sep 1997 00:00
slrn: how to always keep the D marked, but articles still visible ?
#36318
Author: El Gringo
Date: Sun, 28 Sep 1997 00:00
18 lines
1183 bytes
Hi.

I just installed slrn, but have two questions:

1- I want to keep the D marker on the read articles, but I would like them
to stay visible the next time I use slrn...How is it possible ?

2- Some groups in slrn are shown as they are empty, where in fact they
are not (for exemple, tin shows plenty of articles), for exemple the group
comp.ms-windows.programming.win32 is shown as empty, which is not true.
I tried to unctache up the whole group, but still it says there is no
unread article in it.
How to fix that ?

Thanks. Riad

Re: slrn: how to always keep the D marked, but articles still visible ?
#36322
Author: Byrial Jensen
Date: Mon, 29 Sep 1997 00:00
27 lines
1661 bytes
El Gringo <souissr6@cti.ecp.fr> wrote:
>Hi.
>
>I just installed slrn, but have two questions:
>
>1- I want to keep the D marker on the read articles, but I would like them
>to stay visible the next time I use slrn...How is it possible ?

It isn't without changeing the program. slrn keeps record of what
articles are read in its newsrc-file (with default name .jnewsrc) which
uses a standard format that is understand by most unix-newsreaders. You
would have to change this format, or add a new datafile to realize your
wish.

>2- Some groups in slrn are shown as they are empty, where in fact they
>are not (for exemple, tin shows plenty of articles), for exemple the group
>comp.ms-windows.programming.win32 is shown as empty, which is not true.

slrn doen't show the total number of articles in a newsgroup, but the
number of unread articles (and the number can be to high if some
articles will be killed, and too low if new articles have arrived).

Best regards
- Byrial

This really *is* a bug ...
#36378
Author: Lloyd Zusman
Date: Thu, 02 Oct 1997 00:00
88 lines
4656 bytes
On 1 Oct 1997 20:54:40 GMT, J.B. Nicholson-Owens <jbn@pop-a-wheelie.midwest.net> wrote:
> El Gringo <souissr6@cti.ecp.fr> wrote:
> > 
> > [ ... ]
> 
> > 2- Some groups in slrn are shown as they are empty, where in fact they
> > are not
> 
> If you're referring to group mode's display of the number of unread
> articles, be sure to account for cross-posts being marked as read and
> article expiration by your server.  To see the articles marked as read in
> your newsrc, either modify your newsrc or read the FAQ on how to view read
> articles. 

Well, I know that this is how slrn works when it's working properly,
but I also have noticed the following occasional, erroneous behavior
under slrn 0.9.4.3 which I successfully built under Linux (having
built many earlier versions of slrn under Linux, Solaris, and SunOS
with consistent success over the past year or so).  This is, I
believe, the same behavior that the previous poster is talking about
above.  Here is a detailed description of the manifestation of this
problem that I see:

I go into a newsgroup containing, for example, 100 unread articles.  I
read, say, 20 of them, leaving 80 of them unread.  I exit that
newsgroup, thereby re-entering group mode, and sure enough, the number
80 shows up next to the name of the newsgroup.  I then go off and do a
few things outside of slrn, leaving slrn up and running and sitting in
group mode. Then, a while later (usually less than an hour), I come
back to slrn and type 'g' to fetch any new articles which might have
shown up. Let's say that the newsgroup in question now has the nunber
85 next to it, implying that 5 new articles have arrived.  I then
attempt to enter the newsgroup, and here's the problem: the 85
suddenly drops down to 0 and no unread articles exist any more.

I estimate that this happens around 5-10 percent of the times that I
try to enter a newsgroup.

I'm in total control of my machine and my news feed (actually, it's
fed via slrnpull), and I know that all 85 of those articles didn't
expire suddenly. Furthermore, this occurs even when I haven't entered
any other newsgroups, which means that none of these articles could
have been cross-posted to any other groups that I have read.

I've noticed this behavior since around 0.9.4.1 or 0.9.4.2.  I and
others have posted comments about this problem over the past few
months, and so far, most of the responses refer to cross-posting or
article expiration (neither of which, as I have mentioned, apply in my
case).

Could someone who understands the internals of slrn offer some
suggestions as to what conditions might cause the newsreader to
occasionally, suddenly, and erroneously mark a huge block of unread
articles as having been read?

Could this, perhaps, have to do with the file permissions of the
article files in my slrnpull download area?  ... with the modification
dates of these files?  ... with some bug that's triggered by bad
headers in one or more of the articles?

The "bad headers" idea seems to be a likely candidate, because
sometimes I see an article with a line count of 0 next to the
reference to the article in article mode.  This article always appears
as the first article in the list when I enter article mode, and when I
try to read this particular article, a blank line appears above the
headers.

Often (but not 100% of the time), when an article like this appears in
the article list, the newsgroup behaves as I described the next time I
enter it (i.e., all the unread articles get erroneously marked as
having been read).

I'm also wondering if perhaps this is a threading bug or something
caused by slrnpull accidentally mangling one or more of the articles
it downloads.

Anyway, I hope this information might be helpful for any of you who
understand the slrn internals, so you could perhaps contribute to
isolating and then fixing this bug.

Thanks in advance.

-- 
 Lloyd Zusman
 ljz@asfast.com

Re: This really *is* a bug ...
#36385
Author: Heikki Kantola
Date: Thu, 02 Oct 1997 00:00
22 lines
1775 bytes
J.B. Nicholson-Owens <jbn@pop-a-wheelie.midwest.net> informed
news.software.readers with the following:
>Lloyd Zusman <ljz@asfast.com> wrote:
>> I then attempt to enter the newsgroup, and here's the problem: the 85
>> suddenly drops down to 0 and no unread articles exist any more.
>
>Although it sounds remote, I'm trying to narrow down the options -- how
>about your scorefile?  Could your scorefile be killing these articles?

Slrn should quite clearly say that it has killed all articles in some
group ("No unread articles (n killed)" or something like that). But
the shown number of unread articles might be too big for some other,
propably server-related reasons for sure.

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: This really *is* a bug ...
#36441
Author: John E. Davis
Date: Sat, 04 Oct 1997 00:00
38 lines
1690 bytes
On 2 Oct 1997 00:08:17 GMT, Lloyd Zusman <ljz@asfast.com>
wrote:
>Could someone who understands the internals of slrn offer some
>suggestions as to what conditions might cause the newsreader to
>occasionally, suddenly, and erroneously mark a huge block of unread
>articles as having been read?

After looking at the code, I suggest that you try the following patch.
I do not guarantee that it will solve your problem but please let me
know whether or not it does. --John

--- art.c~	Sat Jul 12 16:32:22 1997
+++ art.c	Sat Oct  4 13:26:06 1997
@@ -6680,7 +6680,9 @@
    int smin, smax;
    Slrn_Range_Type *r;
    int status;
-   
+   int save_all;
+
+   save_all = all;
    User_Aborted_Group_Read = 0;
    Headers = Slrn_First_Header = NULL;
    Threads_Collapsed = 0;
@@ -6855,7 +6857,9 @@
 
 	free_kill_lists_and_update ();
 	Slrn_Current_Group_Name = NULL;
-	if (SLang_Error == USER_BREAK) return -1;
+	if ((SLang_Error == USER_BREAK)
+	    || (save_all < 0))
+	  return -1;
 	else return -2;
      }
    

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