--- [EMAIL PROTECTED] wrote: > > Thanks for the information. Can you give me a pointer to > "catching > > these keys" myself? > > Just check the result of the next key with readkey. > It should return #3 for ctrl-c, and #26 for ctrl-Z.
Ah. Now I see. It's been a while ... is ReadKey blocking? If so, is there a non-blocking function? I recall I used to access the keyring in the BIOS directly and I believe that is not proper (or possible). I would have to insert this check inside a loop doing the real work. Well, I guess I could make a non-blocking ReadKey using KeyPressed. Thanks again for your help. -Alan __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal