Nп/п : 8 из 100
От : Vitaliy Aksyonov 1:104/117 07 мар 24 17:08:24
К : Karel Kral 07 мар 24 03:43:01
Тема : Re: Latest sources..
----------------------------------------------------------------------------------
@MSGID: 1:104/117 65ea5b6b
@REPLY: 2:423/39 65e9fd13
@CHRS: KOI8-R 2
@TZUTC: -0700
@TID: hpt/lnx 1.9 2022-07-03
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
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)
SEEN-BY: 50/109 104/117 280/5555 301/1 452/166
460/58 463/68 467/888 3634/12
SEEN-BY: 5000/111 5001/100 5005/49 5015/46 5020/715
736 828 846 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 5054/8 5060/900
5061/133 5075/128 5083/444
SEEN-BY: 5090/958
@PATH: 104/117 5020/1042 4441