Subj : Re: Need volonteers to test another patch
To   : Wilfred van Velzen
From : Vitaliy Aksyonov
Date : Mon Mar 25 2024 07:14 am

Hello Wilfred.

25 Mar 24 09:01, you wrote to me:

VA>> You need to install or generate this locale and GoldEd will show
VA>> those letters! What Linux distribution do you use?

WvV> wilnux5:/etc # cat os-release
WvV> NAME="openSUSE Leap"
WvV> VERSION="42.1"
WvV> VERSION_ID="42.1"
WvV> PRETTY_NAME="openSUSE Leap 42.1 (x86_64)"
WvV> ID=opensuse
WvV> ANSI_COLOR="0;32"
WvV> CPE_NAME="cpe:/o:opensuse:opensuse:42.1"
WvV> BUG_REPORT_URL="https://bugs.opensuse.org"
WvV> HOME_URL="https://opensuse.org/"
WvV> ID_LIKE="suse"

WvV> (Yes, it's old ;-))

Got it. Not too old for FidoNet. :)

VA>> Do you need help with locale generation?

WvV> I think I found out how to do this on my system.

WvV> First I used my systems package manager to install: "glibc-i18ndata -
WvV> Database Sources for 'locale'"

WvV> Afterwards this command ran without any output:

WvV> # localedef --no-archive -f IBM850 -i en_US en_US.CP850
WvV> #

WvV> And this directory was created with contents:

WvV> /usr/lib/locale/en_US.cp850

WvV> And 'locale -a -v' now shows:
WvV> ...
WvV> locale: en_US           directory: /usr/lib/locale/en_US
WvV> ----------------------------------------------------------------------
WvV> ---------
WvV>     title | English locale for the USA
WvV>    source | Free Software Foundation, Inc.
WvV>   address | http://www.gnu.org/software/libc/
WvV>     email | [email protected]
WvV>  language | English
WvV> territory | USA
WvV>  revision | 1.0
WvV>      date | 2000-06-24
WvV>   codeset | ISO-8859-1

WvV> locale: en_US.cp850     directory: /usr/lib/locale/en_US.cp850
WvV> ----------------------------------------------------------------------
WvV> ---------
WvV>     title | English locale for the USA
WvV>    source | Free Software Foundation, Inc.
WvV>   address | http://www.gnu.org/software/libc/
WvV>     email | [email protected]
WvV>  language | English
WvV> territory | USA
WvV>  revision | 1.0
WvV>      date | 2000-06-24
WvV>   codeset | IBM850
WvV> ...

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

This is exactly how I saw it on my computer, when was using pseudo-graphics with wrong or missing locale.

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

This looks like locale is not used. I saw such pictures when  Strange.

Do you use latest GoldEd build? Do you still run it with LANG=en_US.cp850? In some message I saw en_EN.CP850.

Could you also run:
LANG=en_US.cp850 locale

Vitaliy

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