🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255381

Re: [slrn] Reading new posts

#255381
From: ernobe
Date: Wed, 31 Jul 2013 21:33
68 lines
3660 bytes
> On 2013-07-29, ernobe <ernobe@yahoo.com> wrote:
>> I have a question for fellow slrn newsreader users.  Suppose you have
>> threading mode enabled, and are reading several threads in a newsgroup,
>> and have things set up so that all new posts to the group are downloaded.
>> After downloading new posts with slrnpull, and entering the group in
>> slrn, you might have new posts in several of the threads.  If you don't
>> have time to check through each post in each thread in search of the new
>> ones, how can you quickly tell which threads have the new posts?
>
> Method 1: 'catchup' when you leave the group; then next time you open it
> you'll only see articles that have arrived since.  This method also has the
> advantage of showing which groups have new articles, when you refresh the
> groups list.  It's easy to list earlier articles subsequently if you want
> to.
>
> Method 2: write a script that down-scores all existing articles by some
> convenient amount each time you Quit slrn, or each time you leave a group.
> My scripting skills only extend as far as knowing that S-Lang has a manual
> and there's a slrnfuns.txt file that comes with slrn.
>

I think I finally figured out a convenient solution.  Add a point to articles 
younger than one day at the end of the scorefile, like this:

[*]
Score: 1
Age: 1

That does it.  At least, it gives you time to sticky tag articles ( with 
stickytags.sl ) that you might want to keep track of before the highscore mark 
disappears.  Then putting this code in a navtags.sl file and calling it from 
.slrnc like this:

interpret navtags.sl

will let you navigate upto or downto the tagged articles by pressing 7 or 6.

    define prevheader ()
    {
	if (1 == prev_tagged_header ())
	{
	    if (0 == get_body_status ())
	    	article_line_down (1);
	    if (0 == has_parent ())
		collapse_threads ();
	}
    }

    define nextheader ()
    {
	if (1 == next_tagged_header ())
	{
	    if (0 == get_body_status ())
		article_line_down (1);
	    if (0 == has_parent ())
		collapse_threads ();
	}
    }
    
    definekey ("nextheader", "7", "article" );
    definekey ("prevheader", "6", "article" );
    

-- 
"The world of existence is an emanation of the merciful attribute of God."
Abdu'l-Baha
http://www.costarricense.cr/pagina/ernobe
Technical Details
Message-ID: <ktbvrf$oi5$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!195.62.100.243.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <kt6qsp$sk2$1@dont-email.me> <slrnkve3e9.ckq.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <ktbvrf$oi5$1@dont-email.me>
Subject: Re: [slrn] Reading new posts
Date: Wed, 31 Jul 2013 21:33:35 +0000
From: ernobe <ernobe@yahoo.com>
References: <kt6qsp$sk2$1@dont-email.me> <slrnkve3e9.ckq.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!195.62.100.243.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Baha'i Faith
Lines: 68
Injection-Date: Wed, 31 Jul 2013 21:33:35 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="aa62c9dfd94aa8dd21cd89a27766d80d";
 logging-data="25157"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19fgQYEqTIWbKblK527tJYj"
User-Agent: slrn/pre1.0.0-18 (Linux)
Cancel-Lock: sha1:Ige2fTW2Z5ukTEr365dl+BRyI6M=
X-Original-Bytes: 3395