Andres K. Foerster wrote:
Am Sunday, dem 18. Sep 2005 schrieb Frank Heckenbach:
Under GNU/Linux the second program without CRTInit outputs strange characters, even with some normal ascii-letter keys like l, k, j. There are even strange characters in the nummerical output. That's surely not just BP compatible. ;-) Using CRTInit helps.
Then something is really strange ...
CRTInit basically does two things, the equivalents (almost) of:
SetCRTUpdate (UpdateRegularly);
no change
SetPCCharSet (True);
also no change. But with SetPCCharset(False) it works correctly.
Sorry, I got it the wrong way. What I wrote are the settings without CRTInit.
Can you check if adding either or both of them instead of CRTInit makes a difference?
Seems to be a bug with SetPCCharset (true) ?
Oh yeah. I suppose it's this change, necessary with newer ncurses versions. (Afftects only Linux, so your mingw problems are probably unrelated.)
Touch crt.pas after applying to force recompilation.
Frank