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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8