🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #85520

Re: My most wanted (and difficult) slrn feature

#85520
From: J.B. Nicholson-Owens
Date: Sat, 13 Oct 2001 21:25
39 lines
3133 bytes
David Gerard wrote:

> Yes, I know it's a feature that would require presently-ridiculous amounts
> of back-end work ...


Actually, it's pretty easy to do with a macro.  I know because I did it 
years ago when a friend asked me for the same feature.  I don't 
currently have access to this file but I can give you an idea of what I 
did.  It satisfied my friend but didn't scale well.  Fortunately my 
friend wasn't reading newsgroups with hundreds or thousands of articles 
so this didn't really matter.

I think I used two hooks (but you could use one): on group entry I made 
a linked list with a set (an unordered list) inside the one and only 
cell in the list.  The set holds the message-IDs of unread articles.  On 
group exit this linked list would be destroyed.  The latter hook is the 
only one you really need.

Every time the user hit 'c' to catchup the group the macro would record 
the message-ID of every unread article in the group to the 
aforementioned set and the set would be placed inside the linked list 
and a new link for the linked list would be created.  Finally the real 
catchup would be executed.  Every time the user hit the undo key the 
macro would reset the read status of every article in the current link 
of the set.  The linked list served as a way to do multiple undos -- you 
could accidentally hit 'c' multiple times in article mode and undo the 
changes multiple times.

If all this seems like too much work, it might suffice to make a macro 
to wrap catchup asking "Really mark all articles in the group read?" so 
you have to confirm the catchup before anything destructive happens. 
You don't get the undo (so it doesn't genuinely address the original 
poster's request) but it's a good way to quickly and easily avoid 
accidentally hitting the catchup button.

Happy newsreading.

Technical Details
Message-ID: <3BC8B130.80806@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.shout.net!not-for-mail
References: <slrn9sdj0u.7b.fun@aspc083.nop> <slrn9sdrqe.k4v.bowman@odin.mshome> <slrn9sdtnl.7b.fun@aspc083.nop>

Show Full Headers
Complete Article Headers
Message-ID: <3BC8B130.80806@forestfield.org>
Subject: Re: My most wanted (and difficult) slrn feature
Date: Sat, 13 Oct 2001 16:25:04 -0500
From: "J.B. Nicholson-Owens" <jbn@forestfield.org>
References: <slrn9sdj0u.7b.fun@aspc083.nop> <slrn9sdrqe.k4v.bowman@odin.mshome> <slrn9sdtnl.7b.fun@aspc083.nop>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!news.shout.net!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field Omnimedia
Lines: 38
NNTP-Posting-Host: forestfield.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: roundup.shout.net 1003008023 31720 208.216.67.173 (13 Oct 2001 21:20:23 GMT)
X-Complaints-To: abuse@shout.net
NNTP-Posting-Date: Sat, 13 Oct 2001 21:20:23 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011
X-Accept-Language: en-us, en