🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41244

Re: Yet another slrn oddity

#41244
From: Dawn Owens-Nicholson
Date: Sat, 30 May 1998 00:00
78 lines
3751 bytes
E. <erisson@sw-tech.com> wrote:
> While using the <ESC>p command, "get parent article", I noticed that it
> will not show the article if it is scored below kill_score.

Using the following version of slrn and S-Lang:

   Slrn Version: 0.9.5.2 (May 21 1998 20:09:05)
   S-Lang Library Version: 1.2.2
   OS-Type: Unix
   
   slrn compiled with support for:
           character set mapping
           nntp (SLtcp socket code)
           inews
           GroupLens
           S-Lang Macros
   
   Default server object: nntp
   Default posting mechanism: nntp
   Supported character sets include:
           ISOLatin
           ibm850
           NeXT
   Default character set: isolatin

(I am not running any patches to slrn other than those posted publicly
by JED) I could not reproduce this behavior.  Here's what I did, in
case I misunderstood the problem: I entered the following score into
my scorefile and scored on full headers: (note the score is -99,999,
well below my kill threshold of -9,999)

  [news.software.readers]
  Score: =-99999
        Message-ID: <19980529194718\.432\$Dw_-_@newsreader\.com>

I used this score so I could kill a specific article (this article
exists and had one child article when I tried this).  I marked the
article unread, quit to group mode, slrn re-read my scorefile then I
re-entered news.software.readers.  The article was killed and its only
child article remained in that thread.  I ran
call("get_parent_article") and
<19980529194718.432$Dw_-_@newsreader.com> came up marked as read.

> It will not, however, flag a high-scoring article with "!".

To test this, I altered the score to assign (positive) 99,999 points
to the same article (again, well above my high score threshold).  When
I quit and re-entered the group the article came up marked high.  I
deleted and expunged the article, but I could still use
get_parent_article to retrieve it.  When I did so, it did not come up
marked high with "!".

Both times the article came up with a score of 0 points.  It appears
slrn isn't scoring the article if you get it with get_parent_article.
I also tried fetching these articles with a prefix argument of 1.
Same result in both kill and high score tests.

> I do not, however, know what happens if you try this while "show
> score" is on.

For me, nothing special happened when I displayed scores.  I think the
slrnrc setting display_score is obsolete now; I believe the way to
display scores is to switch to a header_display_format that matches
the regex "%-?\d*S" (i.e., a format that has %S in it including the
optional width or right justification items in it).

> Is there any way to turn this off?  If I explicitly fetch an certain
> article, can I get it (through use of a slrn macro or otherwise) to show
> up regardless of its score?

If the locate_header_by_msgid intrinsic will fetch and display all
articles for you, you could make your own get_parent_header with a
S-Lang macro.  Since get_parent_header worked for me, you might want
to check that you're not running a macro instead of calling the
intrinsic.

Technical Details
Message-ID: <slrn6muq5p.t53.bluemoon@ux6.cso.uiuc.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
References: <slrn6mtlck.cj0.erisson@kallisti.sw-tech.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6muq5p.t53.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: Yet another slrn oddity
Date: Sat, 30 May 1998 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn6mtlck.cj0.erisson@kallisti.sw-tech.com>
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: 357832023
Organization: University of Illinois at Urbana-Champaign
Newsgroups: news.software.readers