delorie.com/archives/browse.cgi | search |
From: | apsh AT ecr DOT mu DOT oz DOT au (Alistair_P SHILTON) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: keyboard int 9 and djgpp |
Date: | 24 Sep 2000 05:30:23 GMT |
Organization: | Computer Science, University of Melbourne |
Lines: | 28 |
Message-ID: | <8qk3hf$pi5$1@mulga.cs.mu.OZ.AU> |
References: | <8ps0im$f84$1 AT mulga DOT cs DOT mu DOT OZ DOT AU> <20000923224032 DOT 8C0E023142 AT titan DOT progiciels-bpi DOT ca> |
NNTP-Posting-Host: | gromit.ecr.mu.oz.au |
X-Trace: | mulga.cs.mu.OZ.AU 969773423 26181 128.250.61.61 (24 Sep 2000 05:30:23 GMT) |
X-Complaints-To: | usenet AT cs DOT mu DOT OZ DOT AU |
NNTP-Posting-Date: | 24 Sep 2000 05:30:23 GMT |
X-Newsreader: | TIN [version 1.2 PL2] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Yes (but thanks anyway). My handler is installed via spawn from the djgpp program, so it installs after the djgpp one. It can control what gets passed to the djgpp handler. Turns out that there was an error in my code (as usual :-) making it pass on some keys that shouldn't have been passed on. It's fixed ok now, but thanks for the suggestion. Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote: : > From: apsh AT ecr DOT mu DOT oz DOT au (Alistair_P SHILTON) : > Newsgroups: comp.os.msdos.djgpp : > Date: 15 Sep 2000 02:12:38 GMT : > : > What I don't understand is how come control-c still works (ie. stops the : > program!). : Did you consider the possibility that the DJGPP startup code installs : its own handler for the keyboard? Because that's what happens (it is : needed for generating SIGINT from Ctrl-C). -- ---------------------------------------------------- Regards Alistair Shilton http://www.ee.mu.oz.au/pgrad/apsh
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |