GOLDED------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 82 из 100
 От   : Wilfred van Velzen                  2:280/464         25 мар 24 21:18:06
 К    : Vitaliy Aksyonov                                      25 мар 24 23:22:02
 Тема : Re: Need volonteers to test another patch
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:280/464 6601dbfe
@REPLY: 1:104/117 6601c966
@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
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: 50/109 103/705 104/117 124/5016 153/757
154/10 30 203/0 221/0 1 6
SEEN-BY: 240/1120 5832 280/464 5003 5555 292/854
8125 301/1 113 123 812
SEEN-BY: 310/31 335/364 341/66 234 396/45 423/120
452/166 460/58 463/68
SEEN-BY: 467/888 633/280 712/848 770/1 3634/12
5000/111 5005/49 5015/46
SEEN-BY: 5020/400 715 736 828 846 848 1042 4441
12000 5025/121 5030/49 1081
SEEN-BY: 5054/8 5060/900 5061/133 5075/128 5083/444
5090/958
@PATH: 280/464 301/1 5020/1042 4441



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

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