Subj : Re: Latest sources..
To : Karel Kral
From : Vitaliy Aksyonov
Date : Thu Mar 07 2024 05:08 pm
Hello Karel.
07 Mar 24 18:40, you wrote to Nicholas Boel:
NB>> If that is the case, and you have the sources, try including
NB>> 'golded-plus/cfgs/config/charsets.cfg' in your golded.conf and
NB>> see if that helps or not.
KK> Already have that since ever.
KK> For that group I have:
KK> GROUP B
KK> XLATPATH /home/fido/golded/xlat
KK> XLATCHARSET CP437 LATIN-2 asc_il2.chs
KK> XLATCHARSET LATIN-2 CP437 il2_asc.chs
KK> XLATIMPORT CP437
KK> XLATIMPORT CP437
KK> XLATLOCALSET LATIN-2
KK> MSGLISTWIDESUBJ YES
KK> ENDGROUP
KK> Using UTF-8 in putty, having LANG=cs_CZ.utf8 in bash, startin golded:
KK> luit -encoding 'ISO-8859-2' ./gedlnx -f
KK> (because GROUP A we have ISO-8859-2 as agreed coding)
KK> As I wrote, I have issue in GROUP B, GOLDED here...
OK. Your case is actually simpler than I thought. You should have zero issues with pseudo-graphics.
Try to set LANG to cs_CZ.ISO8859-2 and that will solve your issue! No need to set it for the whole system. Just for golded session.
$ LANG=cs_CZ.ISO8859-2 luit -encoding 'ISO-8859-2' ./gedlnx -f
Your problem is that luit converts symbols from 8859-2 to UTF, but ncurses tries to work in UTF-8 mode because you have LANG=cs_CZ.utf8.
In my case I have separate session in Putty with KOI8-R. And run golded like this:
LANG=ru_RU.koi8r gedlnx -C<myconfig>
And have no issues with pseudo-graphics. But luit works too, just tried it.
Vitaliy
... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
* Origin: Aurora, Colorado (1:104/117)