Subj : Re: Need volonteers to test another patch
To : Vitaliy Aksyonov
From : Wilfred van Velzen
Date : Mon Mar 25 2024 03:13 pm
Hi Vitaliy,
On 2024-03-25 07:14:50, you wrote to me:
WvV>> PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"
WvV>> (Yes, it's old ;-))
VA> Got it. Not too old for FidoNet. :)
Nope. ;-)
WvV>> locale: en_US.cp850 directory: /usr/lib/locale/en_US.cp850
VA> This is what you need. Good.
WvV>> But golded output is borked now, in my current utf-8 configured putty
WvV>> terminal:
WvV>>
https://paste.opensuse.org/pastes/2a5c7f2fbdc4
VA> This is exactly how I saw it on my computer, when was using pseudo-graphics
VA> with wrong or missing locale.
The locale is there, so is it wrong?
WvV>> It doesn't matter if I use luit or not, they are displayed the same.
WvV>> Also the ~A characters for messages with CHRS: CP437 in the german
WvV>> areas are still there.
WvV>> And this is still the same:
WvV>>
https://paste.opensuse.org/pastes/f3961b7ea085
VA> This looks like locale is not used. I saw such pictures when Strange.
VA> Do you use latest GoldEd build?
Almost. I'm using this one:
commit 4b6c754756d0fa96c0c3210d6ed0b63d49ec8e6a
Author: Vitaliy Aksyonov <
[email protected]>
Date: Wed Mar 6 13:38:52 2024 -0700
call setlocale() before initscr() (#86)
See section Initialization in man 3 ncurses.
https://www.man7.org/linux/man-pages/man3/ncurses.3x.html
Locale shall be initialized before ncurses initialization.
The latest one doesn't seem so change anything regarding screen output.
VA> Do you still run it with LANG=en_US.cp850?
Yes.
VA> In some message I saw en_EN.CP850.
The localdef command, created the directory with lowercase 'cp850' although I specified it with uppercase 'CP850'. It also shows it with lowercase 'cp' when locale -a is executed. So I switched to specifying it as lowercase in my golded start script. But case probably doesn't matter.
VA> Could you also run:
VA> LANG=en_US.cp850 locale
Here are some tries:
wilnux5:/home/fido/log # locale
LANG=POSIX
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
wilnux5:/home/fido/log # LANG=en_US.cp850 locale
LANG=en_US.cp850
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.cp850"
LC_TIME="en_US.cp850"
LC_COLLATE="en_US.cp850"
LC_MONETARY="en_US.cp850"
LC_MESSAGES="en_US.cp850"
LC_PAPER="en_US.cp850"
LC_NAME="en_US.cp850"
LC_ADDRESS="en_US.cp850"
LC_TELEPHONE="en_US.cp850"
LC_MEASUREMENT="en_US.cp850"
LC_IDENTIFICATION="en_US.cp850"
LC_ALL=
wilnux5:/home/fido/log # LANG=en_US.CP850 locale
LANG=en_US.CP850
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.CP850"
LC_TIME="en_US.CP850"
LC_COLLATE="en_US.CP850"
LC_MONETARY="en_US.CP850"
LC_MESSAGES="en_US.CP850"
LC_PAPER="en_US.CP850"
LC_NAME="en_US.CP850"
LC_ADDRESS="en_US.CP850"
LC_TELEPHONE="en_US.CP850"
LC_MEASUREMENT="en_US.CP850"
LC_IDENTIFICATION="en_US.CP850"
LC_ALL=
wilnux5:/home/fido/log # sudo -u fido LANG=en_US.cp850 locale
LANG=en_US.cp850
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.cp850"
LC_TIME="en_US.cp850"
LC_COLLATE="en_US.cp850"
LC_MONETARY="en_US.cp850"
LC_MESSAGES="en_US.cp850"
LC_PAPER="en_US.cp850"
LC_NAME="en_US.cp850"
LC_ADDRESS="en_US.cp850"
LC_TELEPHONE="en_US.cp850"
LC_MEASUREMENT="en_US.cp850"
LC_IDENTIFICATION="en_US.cp850"
LC_ALL=
Bye, Wilfred.
--- FMail-lnx64 2.3.0.1-B20240319
* Origin: FMail development HQ (2:280/464)