Message-Id: <199603041319.IAA01083@delorie.com> Date: Mon, 04 Mar 96 14:04:07 LIT From: Martynas Kunigelis Subject: mkkbd1.zip.. bugs? :( To: DJGPP mailing list After my announcement of `mkkbd1.zip', my keyboard interrupt handler, I have received a bug (actually, a crash) report. I have no idea why it happens. I feel extremely ashamed and dumb. I have tested it multiple times under CWSDPMI OS/2 and Windows and it worked. I am now asking someone from DJGPP team to remove the buggy(?) zip from SimTel, or maybe C. Sandmann (who is I think a DPMI expert after all) could have a look at the code (please??!!). I apologize possibly] incorrect information. Now I have a question: Eli Zaretskii stated, that once I hook the keyboard interrupt and do not chain, keyboard is mine forever, even if the key is pressed while CPU is in real mode. However, while testing my above mentioned handler, I made a loop of fread()s, which implied, I think, switching to real mode, and *even with no chaining I was able to break the loop with crtl-c*! Why on earth? (whoops, I meant PM interrupt at the beginning of this paragrph.) P.S. I think crashes in example.c from mkkbd1.zip could be caused by as's bug- well, there is *some* possibility ] ashamed] Martynas Kunigelis