Mail Archives: djgpp/1992/01/30/14:02:11
Hi,
I am working on a program which I do not wish to interrupt -- NEVER!
I guess I should say that I want to remove the trapping of the control-C
signal in go32.
I haven't looked at the source for go32 recently, but would assume that
control-C is being trapped so that go32 and return to real mode and free
memory, etc... Can anyone tell me if I am on track or is there some other
reason that go32 must exit... Can I was also wondering if I can turn the
control-C off at the DOS level [BREAK=OFF]? or does go32 go beyond this....
One last point on all of this... I am checking KBHIT before getting
characters from the keyboard buffer... then using getkey() to take a character
out of the keyboard buffer... Has anyoneelse noticed that you have to hit
control-C about 4 or five times to get go32 to exit, then other times it
works the first time... I haven't really studied this, but perhaps I could
capture it there ... (I think that this is wrong since CONTROL-C is a signal)
So has anyone else altered go32 to not exit on control-c?
================================================================================
Thank you, || "Sol est invisiblis in hominibus, in terra vero
Michael Thomas || visibilis, tamen ex uno et eodem sole sunt ambo"
(..uunet!ckgp!thomas) || -- Theatrum Chemicum (Ursel, 1602)
================================================================================
- Raw text -