home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 2361 
 Wilfred van Velzen to Vitaliy Aksyonov 
 Re: Need volonteers to test another patc 
 25 Mar 24 21:18:06 
 
TID: FMail-lnx64 2.3.0.1-B20240319
RFC-X-No-Archive: Yes
TZUTC: 0100
CHRS: CP850 2
PID: GED+LNX 1.1.5-b20240306
MSGID: 2:280/464 6601dbfe
REPLY: 1:104/117 6601c966
Hi Vitaliy,

On 2024-03-25 11:09:34, you wrote to me:

 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?

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

It seems so.

 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.

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

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
 WvV>> 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.

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

O, sorry, I didn't notice the "_EN"...

That was what I first tried, but that made no sense, since I don't have any
en_EN* locales at all (there are the en_GB* locales though).

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

Ok.

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

Ok that did the trick! Just setting LC_CTYPE=en_US.cp850 is enough. So now I
have the following line for starting golded:

sudo -u fido LC_CTYPE=en_US.cp850 luit -encoding 'CP850' /usr/local/bin/golded
-f

The linedrawing characters, and the german characters (with @CHRS: CP437) are
ok too!

So this:

# sudo -u fido LC_CTYPE=en_US.cp850 locale
LANG=POSIX
LC_CTYPE=en_US.cp850
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Seems enough to get the right output from golded!?


Bye, Wilfred.

--- FMail-lnx64 2.3.0.1-B20240319
 * Origin: FMail development HQ (2:280/464)
SEEN-BY: 10/0 1 15/0 18/200 90/1 102/401 103/1 705 105/81 106/201
SEEN-BY: 124/5016 128/260 129/305 135/225 153/757 7715 154/10 30 203/0
SEEN-BY: 214/22 218/0 1 215 601 700 720 840 860 870 880 930 221/0
SEEN-BY: 226/30 227/114 229/110 112 113 206 307 317 400 426 428 470
SEEN-BY: 229/664 700 240/1120 5832 266/512 280/464 5003 5555 282/1038
SEEN-BY: 291/111 292/854 8125 301/1 310/31 320/219 322/757 341/66
SEEN-BY: 341/234 342/200 396/45 423/120 460/58 467/888 633/280 712/848
SEEN-BY: 770/1 5020/400
PATH: 280/464 103/705 218/700 229/426


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

(c) 1994,  bbs@darkrealms.ca