Subj : Re: Linux / 5D To : Oli From : Wilfred van Velzen Date : Thu Feb 23 2023 04:18 pm Hi Oli, On 2023-02-23 16:07:09, I wrote to you: 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 - ' Ol>> 0 - 00 - ' 97 - 61 - 'a' + 41 Ol>> 98 - 62 - 'b' + 42 Ol>> (line breaks after 'a' and 'b' only) WvV> Ok strange how the wine console reponds differently when a 0x00 character WvV> is printed. But I changed that to printing a space char now, so please try WvV> again (it's in the same .zip)... In reactos I get the same output as on my windows machines, so this looks promissing! Bye, Wilfred. --- FMail-lnx64 2.2.0.0 * Origin: FMail development HQ (2:280/464) .