GOLDED------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 33 из 100
 От   : Vitaliy Aksyonov                    1:104/117         09 мар 24 12:49:34
 К    : Wilfred van Velzen                                    09 мар 24 22:57:02
 Тема : Re: Need volonteers to test another patch
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1:104/117 65ecbeb4
@REPLY: 2:280/464 65ec8a14
@CHRS: KOI8-R 2
@TZUTC: -0700
@TID: hpt/lnx 1.9 2022-07-03
Hello Wilfred.

09 Mar 24 16:57, you wrote to me:

 VA>>> OK. Your terminal works in IBM850, but you run golded may try to
 VA>>> run in UTF-8. That won`t work and it worked before just because
 VA>>> golded was not initializing correctly!

 WvV>> Ok, so how do I fix it? ;)

 WvV> Yesterday I did some experimenting with the latest golded (commit:
 WvV> "call setlocale() before initscr() (#86)"), trying different ways to
 WvV> start golded and different golded xlat configurations. I found 2
 WvV> setups that work for me, so the messages with pseudo graphics in the
 WvV> STATS area look ok:

 WvV> My golded.cfg for both:

 WvV> include charsets.cfg

 WvV> XLATIMPORT CP437
 WvV> XLATLOCALSET CP850
 WvV> XLATEXPORT CP850

 Do not use xlatexport cp850. This parameter is used to select
charset which will be used when you write messages to message base. Unless
you really want cp850. I assume you want to have cp437 there.

XlatImport on other side will use cp437 if message has no CHRS kludge.

 WvV> And starting golded in a local Konsole terminal "TERM=xterm" with the
 WvV> default charset set to utf-8:

 WvV> # sudo -u fido LANG=en_EN.CP850 luit -encoding `CP850`
 WvV> /usr/local/bin/golded -f

If you use luit - than having xterm in UTF-8 is correct.

 WvV> And in the same kind of terminal but with the default charset set to
 WvV> cp850, this one works:

 WvV> # sudo -u fido LANG=en_US.CP850 /usr/local/bin/golded -f

 This is correct commandline to if you have your terminal in cp850.
Just choose what works better for you. Probably luit and terminal in
UTF-8 is most convenient.

 WvV> I will still have to test these in a putty terminal later during the
 WvV> coming week.

 Putty will work fine. Only I suggest you to change terminal type
in putty from xterm (they use if by default) to putty or
putty-256color. It`s in Connection->Data section.

 WvV> And messages which have utf-8 characters, like the ones from Michiel
 WvV> in the UTF area, don`t display properly (of course). I did try adding:

 WvV> XLATCHARSET UTF-8 CP850 utf8_850.chs

 WvV> But that didn`t help. Of course only a small subset of utf-8
 WvV> characters can be displayed with cp850...

 Golded cannot read from UTF-8. There is no Unicode support. You
must use another editor or GoldEd with external editor to work with
Unicode.

It may convert from one-byte charsets to UTF-8, but not vise versa.

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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх