Date: Tue, 14 May 1996 12:05:33 +0200 (IST) From: Eli Zaretskii To: Ralf Suessbrich Cc: djgpp AT delorie DOT com Subject: Re: Interrupt Handler In-Reply-To: <31983628.7AF2@nuernberg.netsurf.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 14 May 1996, Ralf Suessbrich wrote: > After 20 seconds it comes back to a dos prompt, but something went > wrong with restoring the old vector: the keyboard is still out of > function. As far as the restoring goes: don't restore the keyboard handler when you exit. DJGPP handles the keyboard interrupt specially, so you shouldn't (and cannot) restore the previous handler; but the DJGPP exit code will do it for you. That still doesn't explain why your program doesn't work, but that's another issue.