Subj : Re: Need volonteers to test another patch To : Vitaliy Aksyonov From : Wilfred van Velzen Date : Mon Mar 25 2024 09:18 pm Hi Vitaliy, On 2024-03-25 11:09:34, you wrote to me: 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? VA> I have no idea. It looks correct. But output looks like ncurses uses incorrect VA> locale. It seems so. 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. VA> Remind me. Do you have XLAT conversion table from cp437 to cp850? 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 WvV>> 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. VA> No, I mean that i saw you using en_*EN*.cp850, not en_*US*.cp850. That is VA> important. O, sorry, I didn't notice the "_EN"... That was what I first tried, but that made no sense, since I don't have any en_EN* locales at all (there are the en_GB* locales though). WvV>> wilnux5:/home/fido/log # locale WvV>> LANG=POSIX WvV>> LC_CTYPE=en_US.UTF-8 VA> ^^^^^ VA> This is not correct Ok. VA> Make sure that all LC_-s are en_US.cp850. Especially LC_CTYPE. Ok that did the trick! Just setting LC_CTYPE=en_US.cp850 is enough. So now I have the following line for starting golded: sudo -u fido LC_CTYPE=en_US.cp850 luit -encoding 'CP850' /usr/local/bin/golded -f The linedrawing characters, and the german characters (with @CHRS: CP437) are ok too! So this: # sudo -u fido LC_CTYPE=en_US.cp850 locale LANG=POSIX LC_CTYPE=en_US.cp850 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= Seems enough to get the right output from golded!? Bye, Wilfred. --- FMail-lnx64 2.3.0.1-B20240319 * Origin: FMail development HQ (2:280/464) .