🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Alain Knaff Fri, 23 Feb 1996 00:00
SLRN: Lost article list for unsubscribed groups
#19498
Author: Alain Knaff
Date: Fri, 23 Feb 1996 00:00
24 lines
1126 bytes
 slrn 0.8.6 seems to lose list of read articles for unsubscribed
groups. Here's how to reproduce the problem:

 1. Subscribe to a group and read a few articles.
 2. Quit slrn
 3. Look at ~/.newsrc : the new group has a list of read articles.
 4. Relaunch slrn, and unsubscribe the group
 5. Quit slrn
 6. the article list is still there, good
 7. Relaunch slrn, and quit
 8. the article list is now gone.


 Thanks,

-- 
 Linux - Where do you want to fly today ?
 Windows 95 - Makes a grown man cry

 Alain


Re: SLRN: Lost article list for unsubscribed groups
#19497
Author: Alain Knaff
Date: Fri, 23 Feb 1996 00:00
18 lines
1288 bytes
In <slrn4irlkn.e9.davis@wiwaxia.mit.edu>, John E. Davis <davis@space.mit.edu> wrote:
:On 23 Feb 1996 13:43:40 GMT, Alain Knaff <knaff@ngulu.imag.fr>
:wrote:
: :  slrn 0.8.6 seems to lose list of read articles for unsubscribed
: : groups. Here's how to reproduce the problem:
:
:This only happens if you do not have active file processing turned on.  It
:has had this ``feature'' for quite a while.  Look at the function
:`add_group' in group.c.  There you will find around line 376:
[patch...]

 It works.  Thanks.  Any plans to make this behavior switchable by an
independant variable?

 Alain


Re: SLRN: Lost article list for unsubscribed groups
#19503
Author: John E. Davis
Date: Fri, 23 Feb 1996 00:00
35 lines
1585 bytes
On 23 Feb 1996 13:43:40 GMT, Alain Knaff <knaff@ngulu.imag.fr>
wrote:
 :  slrn 0.8.6 seems to lose list of read articles for unsubscribed
 : groups. Here's how to reproduce the problem:

This only happens if you do not have active file processing turned on.  It
has had this ``feature'' for quite a while.  Look at the function
`add_group' in group.c.  There you will find around line 376:

   if (subscribe_flag & UNSUBSCRIBED)
     {
	g->unread = 0;
	g->flags |= HIDDEN;
	if (Slrn_List_Active_File == 0) return 0;
     }

Simply comment-out the line `if (Slrn_List_Active_File == 0) return 0;'  I
believe it should work fine.  Here is the complete diff:

--- group.c~	Mon Feb 19 16:52:17 1996
+++ group.c	Fri Feb 23 09:46:58 1996
@@ -377,7 +377,7 @@
      {
 	g->unread = 0;
 	g->flags |= HIDDEN;
-	if (Slrn_List_Active_File == 0) return 0;
+	/* if (Slrn_List_Active_File == 0) return 0; */
      }
    
    if (create_flag) return 0;

--John


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