On Fri, 2 Jan 2004, Alan Mead wrote:
> > --- Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > This is a 'known issue'. It's normal behaviour. AFAIK, CTRL-C and > > CTRL-Z > > are normally handled by the shell. The CRT unit takes over the > > terminal, > > preventing the shell from catching these keys. There is no > > work-around > > except catching these keys yourself. > > 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. > Also, does this mean that I won't have this > trouble on Windows? I want to run it on a Windows XP machine as > well. On windows, I don't know how it will behave. Normally the same way, but it's of course Windows... Michael. _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal