🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48580

Re: view complete threads in slrn, how?

#48580
From: Remco van den Berg
Date: Thu, 13 May 1999 00:00
51 lines
2931 bytes
On 12 May 1999 19:56:03 GMT, John E. Davis wrote:
>On Wed, 12 May 1999 17:04:46 +0200, Remco van den Berg <Remco.vdBerg@ehv.sc.philips.com>
>wrote:
>>for i in "all unread headers"
>>do
>>  complete_thread = calculate_all headers_in_thread( $i );
>>  for j in $complete_thread
>>  do
>>    show_header( $j );
>>  done
>>done
>[...]
>>And after I've programmed such macro, how can I connect that to
>>the article_mode_hook? (Yes, I printed out a pile of docs but I
>>cannot find answers anyware... Perhaps I printed the wrong ones :)
>
>You need to browse the slang documentation.  Look on www.s-lang.org
>for links to that.  The following code uses a different algorithm that
>does not require querying the server by message-id, which may be an
>expensive operation.  However, it does require that all the headers
>for the group be downloaded.  Use the SPACE key in group mode to get
>this behavior, otherwise use RETURN to get the default slrn behavior.

I understand. We're doing the oppisite: First read _all_ articles
and then throw away the threads which only exist of already read
articles. That way we don't have to query the server many times.

>This code requires slang 1.3.5.  It is available from
>
>      ftp://space.mit.edu/pub/davis/slang/snapshots/

OK, downloaded 1.3.5 and the documentation 1.4.

> <removed a lot of program lines>

As I read in another posting I'll have to wait for a new release
this weekend and then I'll try to implement this.

Perhaps a suggestion to put this feature default in slrn ?

Thanks for the help,

-Remco

-- 
----------------------------------------------------------------------------
    Remco van den Berg                     Admin DSE  http://www.dse.nl/    
      rvdberg@dse.nl                     Linux Certified Systems Engineer    
----------------------------------------------------------------------------

Technical Details
Message-ID: <slrn7jlb0n.3d3.rvdberg@jupiter.strijp.Ehv.nl>
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!not-for-mail
References: <slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu> <3739988E.EED44497@ehv.sc.philips.com> <slrn7jjn6g.m02.davis@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7jlb0n.3d3.rvdberg@jupiter.strijp.Ehv.nl>
Subject: Re: view complete threads in slrn, how?
Date: Thu, 13 May 1999 00:00:00 +0000
From: rvdberg@jupiter.strijp.Ehv.nl (Remco van den Berg)
References: <slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu> <3739988E.EED44497@ehv.sc.philips.com> <slrn7jjn6g.m02.davis@aluche.mit.edu>
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!not-for-mail
X-Deja-AN: 477367689
X-Trace: amsnews.chello.com 926595689 195.75.224.131 (Thu, 13 May 1999 12:41:29 WET DST)
User-Agent: slrn/0.9.5.5 (UNIX)
X-Inktomi-Trace: ns02 926592023 406 212.83.76.153 (13 May 1999 10:40:23 GMT)
NNTP-Posting-Date: Thu, 13 May 1999 12:41:29 WET DST
Newsgroups: news.software.readers