🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1966

Re: Patch for "=" command in rn

#1966
From: Per Hedeland
Date: Mon, 10 Aug 1992 00:47
34 lines
2418 bytes
In article <84vmlcn.chas@netcom.com> chas@netcom.com (Chuck Fisher) writes:
>Could someone point me to the patch for rn's "=" command which lists
>unread articles starting with the *last* read article rather than the
>*first unread* article.
>
>For example, suppose I have articles 2160-2190 which have not been
>read.  I use the "=" command and choose to read article 2170.  I want
>the "=" command to now start listing unread articles from 2171, rather
>than 2160 again.

I don't have a patch, but there are ways to do more or less what you
want without changing the code - basically, you need to either junk or
mark as unread the articles before the one you want read. Various
suggestions for the former have been posted; here's a macro I've come up
with for the latter (with inspiration from some of those suggestions):

 %(%"Mark upto? "=^\([0-9][0-9]*\)$?/\^/\%(\%a=\^%1$?q\)\:M\n%1\n)

It's a bit ugly (not just visually:-), in particular since it relies on
rn aborting a search when encountering the 'q' command, but it works
quite well, IMHO - call it at the "=" display, type in the number of the
article you want to read, and off you go...

I *think* you would get the junking behaviour by simply replacing the
'M' near the end with 'j'... (I never do this since keeping the initial
articles unread is about the only reason I ever use "=" + article number
- otherwise I think relying on subject search and generous usage of 'k'
is a much more productive way to use rn).

Hope this helps...
--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
..uunet!erix.ericsson.se!per
Technical Details
Message-ID: <1992Aug10.004735.8310@eua.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
References: <1992Jul28.052249.12183@wybbs.mi.org> <84vmlcn.chas@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <1992Aug10.004735.8310@eua.ericsson.se>
Subject: Re: Patch for "=" command in rn
Date: Mon, 10 Aug 1992 00:47:35 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <1992Jul28.052249.12183@wybbs.mi.org> <84vmlcn.chas@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
Newsgroups: news.software.readers
Sender: news@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Lines: 34
Nntp-Posting-Host: super.eua.ericsson.se