home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2312 
 Vitaliy Aksyonov to Wilfred van Velzen 
 Re: Need volonteers to test another patc 
 09 Mar 24 12:49:34 
 
REPLY: 2:280/464 65ec8a14
MSGID: 1:104/117 65ecbeb4
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: 15/0 18/200 50/109 90/1 104/117 105/81 106/201 128/260 129/305
SEEN-BY: 135/225 153/7715 218/700 226/30 227/114 229/110 112 113 206
SEEN-BY: 229/307 317 400 426 428 470 664 700 266/512 280/464 5555
SEEN-BY: 282/1038 291/111 292/854 301/1 320/219 322/757 342/200 396/45
SEEN-BY: 460/16 58 256 1124 5858 463/68 467/888 633/280 712/848 3634/12
SEEN-BY: 5000/111 5001/100 5005/49 5015/46 5020/828 846 1042 4441
SEEN-BY: 5030/49 5054/8 30 5061/133 5075/128 5083/444 5090/958
PATH: 104/117 5020/1042 460/58 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca