| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:1643 |
| From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: SIGINT character |
| Date: | Mon, 04 Mar 1996 18:42:54 CST |
| Organization: | Rice University, Houston, Texas |
| Lines: | 8 |
| Message-ID: | <313b8e0e.sandmann@clio.rice.edu> |
| References: | <4hf6i8$9p6 AT bambam DOT soi DOT city DOT ac DOT uk> |
| Reply-To: | sandmann AT clio DOT rice DOT edu |
| NNTP-Posting-Host: | clio.rice.edu |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> Is it possible to change the character which triggers SIGINT? Thanks. Certainly, you have the source :-) SIGINT is caused by CTRL-C or CTRL-BREAK. The code which detects these keys and causes the signal is in src/libc/go32/exceptn.S - if you know the shift mask and scan code for whatever key you want, you can change it to anything modifying the source.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |