Subj : Re: Need volonteers to test another patch
To   : Wilfred van Velzen
From : Vitaliy Aksyonov
Date : Thu Mar 07 2024 05:30 pm

Hello Wilfred.

07 Mar 24 18:55, you wrote to me:

VA>>>> If you may try to add one line of code to latest master and try
VA>>>> it - that would be helpful.

VA>>>> goldlib/gcui/gkbdbase.cpp
VA>>>> line 149, right before initscr add this:

VA>>>> setlocale(LC_ALL, "");

WvV>>> I pulled in the latest code with this change, and this breaks
WvV>>> my configuration again. :-(

WvV>>> So I reverted that change, and everything is back to normal...

VA>> One of the changes is very similar to that one which was reverted
VA>> previously.

VA>> Remind me your setup please. Do you use UTF-8 locale?

WvV> # sudo -u fido locale
WvV> LANG=POSIX
WvV> LC_CTYPE=en_US.UTF-8
WvV> LC_NUMERIC="POSIX"
WvV> LC_TIME="POSIX"
WvV> LC_COLLATE="POSIX"
WvV> LC_MONETARY="POSIX"
WvV> LC_MESSAGES="POSIX"
WvV> LC_PAPER="POSIX"
WvV> LC_NAME="POSIX"
WvV> LC_ADDRESS="POSIX"
WvV> LC_TELEPHONE="POSIX"
WvV> LC_MEASUREMENT="POSIX"
WvV> LC_IDENTIFICATION="POSIX"
WvV> LC_ALL=

WvV> (I also start golded with 'sudo -u fido')

WvV> But for my golded terminal in Konsole, I have the "Default character
WvV> encoding" set to IBM850.

OK. Your terminal works in IBM850, but you run golded may try to run in UTF-8. That won't work and it worked before just because golded was not initializing correctly!

Question. What is your XLatLocalSet in GoldEd?

VA>> What terminal do you use? TERM variable.

WvV> # sudo -u fido echo $TERM
WvV> xterm

VA>> Do you use local console or remote/ssh?

WvV> Both, but this test I only did in my local console.

I don't expect any difference, but it may be some.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
* Origin: Aurora, Colorado (1:104/117)