Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[slrn] article status bug

1 view
Skip to first unread message

Tavis Ormandy

unread,
Jan 13, 2021, 2:50:08 PM1/13/21
to
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 tav...@sdf.org
----------------------------------------------

Tavis Ormandy

unread,
Jan 20, 2021, 8:23:29 PM1/20/21
to
On 2021-01-13, Tavis Ormandy <tav...@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 tav...@sdf.org
_\_V _( ) _( ) @taviso

andrew

unread,
Jan 21, 2021, 1:23:11 AM1/21/21
to
On 2021-01-21, Tavis Ormandy <tav...@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?

Lewis

unread,
Jan 21, 2021, 5:00:05 PM1/21/21
to
In message <i6s3cf...@mid.individual.net> Tavis Ormandy <tav...@gmail.com> wrote:
> On 2021-01-13, Tavis Ormandy <tav...@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.
0 new messages