Subj : Re: Need volonteers to test another patch To : Wilfred van Velzen From : Vitaliy Aksyonov Date : Mon Mar 25 2024 11:09:34 Hello Wilfred. 25 Mar 24 15:13, you wrote to me: 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 WvV>>> putty WvV>>> terminal: WvV>>> https://paste.opensuse.org/pastes/2a5c7f2fbdc4 VA>> This is exactly how I saw it on my computer, when was using VA>> pseudo-graphics with wrong or missing locale. WvV> The locale is there, so is it wrong? I have no idea. It looks correct. But output looks like ncurses uses incorrect locale. WvV>>> It doesn't matter if I use luit or not, they are displayed the WvV>>> same. Also the ~A characters for messages with CHRS: CP437 in WvV>>> the german areas are still there. Remind me. Do you have XLAT conversion table from cp437 to cp850? 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 VA>> Strange. VA>> Do you use latest GoldEd build? WvV> Almost. I'm using this one: WvV> commit 4b6c754756d0fa96c0c3210d6ed0b63d49ec8e6a WvV> Author: Vitaliy Aksyonov WvV> <18148062+vitaliy-aksyonov@users.noreply.github.com> WvV> Date: Wed Mar 6 13:38:52 2024 -0700 WvV> call setlocale() before initscr() (#86) WvV> See section Initialization in man 3 ncurses. WvV> https://www.man7.org/linux/man-pages/man3/ncurses.3x.html WvV> Locale shall be initialized before ncurses initialization. WvV> The latest one doesn't seem so change anything regarding screen WvV> output. Looks like incorrect locale to me again. VA>> Do you still run it with LANG=en_US.cp850? WvV> Yes. VA>> In some message I saw en_EN.CP850. WvV> The localdef command, created the directory with lowercase 'cp850' WvV> although I specified it with uppercase 'CP850'. It also shows it with WvV> lowercase 'cp' when locale -a is executed. So I switched to specifying WvV> it as lowercase in my golded start script. But case probably doesn't WvV> matter. No, I mean that i saw you using en_*EN*.cp850, not en_*US*.cp850. That is important. VA>> Could you also run: VA>> LANG=en_US.cp850 locale WvV> Here are some tries: WvV> wilnux5:/home/fido/log # locale WvV> LANG=POSIX WvV> LC_CTYPE=en_US.UTF-8 ^^^^^ This is not correct 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" ^^^^^^^ These guys too. WvV> LC_ALL= [...skipped...] Make sure that all LC_-s are en_US.cp850. Especially LC_CTYPE. Vitaliy .... 640K ought to be enough for anybody --- GoldED+/LNX 1.1.5-b20240305-beta * Origin: Aurora, Colorado (1:104/117) .