🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264602

[slrn] article status bug

#264602
From: Tavis Ormandy
Date: Wed, 13 Jan 2021 19:50
24 lines
1398 bytes
Hello, I think the documentation suggests that something like this
should work:

set art_status_line "%?Q?Quotes Visible&Quotes Hidden?"

Unfortunately that just crashes slrn 1.0.3 whenever you try to view an
article. I sent a bug report to jed@, I don't know if that's the right
place.

I came up with a funny workaround, I thought I'd post it here in case
anyone else runs into it and searches for a solution. The crash only
happens if the "false" branch is taken, so this avoids using it:

set art_status_line "Quotes %?Q?Visible%-0g?Hidden%?Q?%14g?"

You'll need to adjust the %14g number if you want different text or in a
different position on the line, but you get the idea.

Tavis.

-- 
----------------------------
$ finger taviso@sdf.org
----------------------------------------------
Technical Details
Message-ID: <i6917eFuoU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <i6917eFuoU1@mid.individual.net>
Subject: [slrn] article status bug
Date: Wed, 13 Jan 2021 19:50:06 +0000
From: Tavis Ormandy <taviso@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Lines: 24
X-Trace: individual.net DdPdfpJvpLES5A4TQFce/wOCSF7GZ/GL2g1Fm/taG16LDHAyrs
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:TaH8+oS40YQ/DVQ7T80qRISHGMo=