Subj : Re: Linux / 5D
To   : Oli
From : Wilfred van Velzen
Date : Thu Feb 23 2023 04:07 pm

Hi Oli,

On 2023-02-23 15:56:52, you wrote to me:

WvV>> I found another way that gives consistent codes on XP and W10x64:

WvV>> http://www.vlzn.nl/fmail/files/getchtest_win2.zip

WvV>> Can you test it in wine?

WvV>> For:

WvV>> UP
WvV>> DOWN
WvV>> F1
WvV>> F2
WvV>> INSERT
WvV>> DELETE
WvV>> a
WvV>> b

WvV>> I get:

WvV>>      0 - 00 - ' ' + 26
WvV>>      0 - 00 - ' ' + 28
WvV>>      0 - 00 - ' ' + 70
WvV>>      0 - 00 - ' ' + 71
WvV>>      0 - 00 - ' ' + 2D
WvV>>      0 - 00 - ' ' + 2E
WvV>>     97 - 61 - 'a' + 41
WvV>>     98 - 62 - 'b' + 42

Ol> $ wine getchtest_win2-mingw32.exe
Ol>     0 - 00 - '    0 - 00 - '    0 - 00 - '    0 - 00 - '    0 - 00 - '    0
Ol> - 00 - '   97 - 61 - 'a' + 41
Ol>    98 - 62 - 'b' + 42

Ol> (line breaks after 'a' and 'b' only)

Ok strange how the wine console reponds differently when a 0x00 character is printed. But I changed that to printing a space char now, so please try again (it's in the same .zip)...

Bye, Wilfred.

--- FMail-lnx64 2.2.0.0
* Origin: FMail development HQ (2:280/464)