Mail Archives: djgpp/1992/08/18/10:04:27
I thknk Ctrl-C trapping is available in recent versions of DJGPP,
though I'm not sure what your options are, it doesn't seem to be
documented anywhere (hint!).
You can always solve your problem, however by simply reading the
keyboard each time you would have polled your flag and checking for
control-C. If you can't process all input at this time then you can
copy the characters you read into a buffer and get them out later
(thus implementing enhanced type-ahead at the same time).
Steve Linton
- Raw text -