🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #442

Patch #3 broke the 'X' command (sorry!)

#442
From: Kim F. Storm
Date: Tue, 22 May 1990 21:53
40 lines
1863 bytes
Dean Brooks has sent me a bug report telling me that patch #3
broke the 'X' command:

The introduction of the marked-by-read-skip variable unfortunately
causes the 'X' command *not* to mark any articles as read by default.

The easy work-around is to set the variable to 0 (zero), since the
problem is an reversed test, ie. include this in your init file:

	set marked-by-read-skip 0

Any non-zero value will cause the 'X' command to not mark any articles.


Or you can fix this in the code (this patch will be included in patch #4
whenever that will be ready -- this is an *unofficial* patch, so you will
have to revert it before applying the official patch #4):

*** LAST/menu.c	Tue May 22 12:53:52 1990
--- menu.c	Tue May 22 22:49:45 1990
***************
*** 1046,1052 ****
  	 menu_return(ME_NEXT);
  
        case K_READ_GROUP_UPDATE:
! 	 if (temp = mark_read_skip) break;
        do_marked_by:
  	 temp1 = 0; temp2 = n_articles;
  	 switch (temp) {
--- 1046,1052 ----
  	 menu_return(ME_NEXT);
  
        case K_READ_GROUP_UPDATE:
! 	 if ((temp = mark_read_skip) == 0) break;
        do_marked_by:
  	 temp1 = 0; temp2 = n_articles;
  	 switch (temp) {
-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <557@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm

Show Full Headers
Complete Article Headers
Message-ID: <557@texas.dk>
Subject: Patch #3 broke the 'X' command (sorry!)
Date: Tue, 22 May 1990 21:53:09 +0000
From: storm@texas.dk (Kim F. Storm)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Distribution: news
Organization: Texas Instruments, Denmark
Lines: 40
Posted: Tue May 22 22:53:09 1990