🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Tavis Ormandy Wed, 13 Jan 2021 19:50
[slrn] article status bug
#264602
Author: 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
----------------------------------------------
Re: [slrn] article status bug
#264632
Author: Tavis Ormandy
Date: Thu, 21 Jan 2021 01:23
15 lines
1043 bytes
On 2021-01-13, Tavis Ormandy <taviso@gmail.com> wrote:
> Hello, I think the documentation suggests that something like this
> should work:
>
> set art_status_line "%?Q?Quotes Visible&Quotes Hidden?"
>

This got fixed in slrn pre1.0.4-5, the first commit in nearly 4 years!

Tavis.

-- 
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso
Re: [slrn] article status bug
#264625
Author: andrew
Date: Thu, 21 Jan 2021 06:23
38 lines
1929 bytes
On 2021-01-21, Tavis Ormandy <taviso@gmail.com> wrote:

> This got fixed in slrn pre1.0.4-5, the first commit in nearly 4 years!

That is indeed exciting! Exciting enough that I have broken out a
compiler under Windows 10 and built the newer version:

#v+
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\andrew> slrn --version
slrn pre1.0.4-5
        * Note: This version is a developer preview.
S-Lang Library Version: 2.3.2
Operating System: Win32

COMPILE TIME OPTIONS:
 Backends: +nntp +slrnpull +spool
 External programs / libs: -canlock -inews +ssl -uudeview +iconv
 Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
    -grouplens +msgid_cache +piping +rnlock +spoilers -strict_from
 Using 64 bit integers for article numbers.

DEFAULTS:
 Default server object:     nntp
 Default posting mechanism: nntp
PS C:\Users\andrew>
#v-

JED is perhaps a little like the old Chuck Norris joke: he doesn't
sleep... he waits.... :)

Andrew
-- 
You think that's air you're breathing now?
Re: [slrn] article status bug
#264630
Author: Lewis
Date: Thu, 21 Jan 2021 22:00
16 lines
1426 bytes
In message <i6s3cfFm7l7U1@mid.individual.net> Tavis Ormandy <taviso@gmail.com> wrote:
> On 2021-01-13, Tavis Ormandy <taviso@gmail.com> wrote:
>> Hello, I think the documentation suggests that something like this
>> should work:
>>
>> set art_status_line "%?Q?Quotes Visible&Quotes Hidden?"
>>

> This got fixed in slrn pre1.0.4-5, the first commit in nearly 4 years!

Hope it makes it to homebrew soon.

Yes yes, I could just compile it myself...

-- 
This isn't Middle Earth, Quentin. There aren't enough noble quests to go around.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads