home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 2360 
 Vitaliy Aksyonov to Wilfred van Velzen 
 Re: Need volonteers to test another patc 
 25 Mar 24 11:09:34 
 
REPLY: 2:280/464 6601867c
MSGID: 1:104/117 6601c966
CHRS: KOI8-R 2
TZUTC: -0600
TID: hpt/lnx 1.9 2022-07-03
Hello Wilfred.

25 Mar 24 15:13, you wrote to me:

 WvV>>> locale: en_US.cp850     directory: /usr/lib/locale/en_US.cp850
 VA>> This is what you need. Good.
 WvV>>> But golded output is borked now, in my current utf-8 configured
 WvV>>> putty
 WvV>>> terminal:
 WvV>>> https://paste.opensuse.org/pastes/2a5c7f2fbdc4
 VA>> This is exactly how I saw it on my computer, when was using
 VA>> pseudo-graphics with wrong or missing locale.
 WvV> The locale is there, so is it wrong?

I have no idea. It looks correct. But output looks like ncurses uses incorrect
locale.

 WvV>>> It doesn't matter if I use luit or not, they are displayed the
 WvV>>> same. Also the ~A characters for messages with CHRS: CP437 in
 WvV>>> the german areas are still there.

Remind me. Do you have XLAT conversion table from cp437 to cp850?

 WvV>>> And this is still the same:

 WvV>>> https://paste.opensuse.org/pastes/f3961b7ea085

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

 VA>> Do you use latest GoldEd build?

 WvV> Almost. I'm using this one:

 WvV> commit 4b6c754756d0fa96c0c3210d6ed0b63d49ec8e6a
 WvV> Author: Vitaliy Aksyonov
 WvV> <18148062+vitaliy-aksyonov@users.noreply.github.com>
 WvV> Date:   Wed Mar 6 13:38:52 2024 -0700

 WvV>     call setlocale() before initscr() (#86)

 WvV>     See section Initialization in man 3 ncurses.
 WvV>     https://www.man7.org/linux/man-pages/man3/ncurses.3x.html
 WvV>     Locale shall be initialized before ncurses initialization.

 WvV> The latest one doesn't seem so change anything regarding screen
 WvV> output.

Looks like incorrect locale to me again.

 VA>> Do you still run it with LANG=en_US.cp850?
 WvV> Yes.

 VA>> In some message I saw en_EN.CP850.

 WvV> The localdef command, created the directory with lowercase 'cp850'
 WvV> although I specified it with uppercase 'CP850'. It also shows it with
 WvV> lowercase 'cp' when locale -a is executed. So I switched to specifying
 WvV> it as lowercase in my golded start script. But case probably doesn't
 WvV> matter.

No, I mean that i saw you using en_*EN*.cp850, not en_*US*.cp850. That is
important.

 VA>> Could you also run:
 VA>> LANG=en_US.cp850 locale

 WvV> Here are some tries:

 WvV> wilnux5:/home/fido/log # locale
 WvV> LANG=POSIX
 WvV> LC_CTYPE=en_US.UTF-8
                     ^^^^^
This is not correct

 WvV> LC_NUMERIC="POSIX"
 WvV> LC_TIME="POSIX"
 WvV> LC_COLLATE="POSIX"
 WvV> LC_MONETARY="POSIX"
 WvV> LC_MESSAGES="POSIX"
 WvV> LC_PAPER="POSIX"
 WvV> LC_NAME="POSIX"
 WvV> LC_ADDRESS="POSIX"
 WvV> LC_TELEPHONE="POSIX"
 WvV> LC_MEASUREMENT="POSIX"
 WvV> LC_IDENTIFICATION="POSIX"
                        ^^^^^^^
These guys too.
 WvV> LC_ALL=

[...skipped...]

Make sure that all LC_-s are en_US.cp850. Especially LC_CTYPE.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
 * Origin: Aurora, Colorado (1:104/117)
SEEN-BY: 10/0 1 15/0 18/200 50/109 80/1 90/1 102/401 103/1 705 104/117
SEEN-BY: 105/81 106/201 128/260 129/305 135/225 153/7715 154/10 214/22
SEEN-BY: 218/0 1 215 601 700 720 840 860 870 880 930 221/1 6 226/30
SEEN-BY: 227/114 229/110 112 113 206 307 317 400 426 428 470 664 700
SEEN-BY: 240/1120 266/512 280/464 5555 282/1038 291/111 292/854 301/1
SEEN-BY: 301/113 123 812 320/219 322/757 335/364 341/66 342/200 396/45
SEEN-BY: 460/58 463/68 467/888 633/280 712/848 3634/12 5000/111 5005/49
SEEN-BY: 5015/46 5020/828 846 1042 4441 5025/121 5030/49 5054/8 5061/133
SEEN-BY: 5075/128 5083/444 5090/958
PATH: 104/117 5020/1042 301/1 218/700 229/426


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

(c) 1994,  bbs@darkrealms.ca