On 15 feb 2006, at 20:30, Bob Richards wrote:
Do you use units or libraries that might put the terminal in raw
mode?
Ncurses,crt, video?
I am using "crt" for the readkey function in one of my procedures.
No ncurses, no video. I
am also smart-linking, so the only function compiled in from crt
SHOULD be readkey.
No, because the crt unit contains initialisation code, and
initialisation code of a unit is obviously always linked in and
executed. This initialisation code puts the terminal in raw mode,
because it's required for crt's functionality. The crt unit does not
contain an exported procedure to disable it, since that would also
break all crt's functionality.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal