Date: Thu, 27 Jan 94 10:24:52 JST From: Stephen Turnbull To: pgf AT Cayman DOT COM Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: suppressing ctrl-c This can't be that hard---DEmacs (and other GNU-Emacs implementations using DJGPP, such as OEmacs) actually permits you to rebind Ctrl-C to editor functions. In fact, the normal quit command for GNU Emacs is Ctrl-X Ctrl-C! Try looking at the code for DEmacs (which may not be much help, since DEmacs was originally written for a hacked GO32, although the original DEmacs executable works without modification with the latest version of GO32), or OEmacs. Obviously you want to look at the diffs for the C code in the keyboard handler first. I got your message twice, with different return paths. Did you do this on purpose? +-----------------------------------------------------------------------+ | Stephen Turnbull | | University of Tsukuba, Institute of Socio-Economic Planning | | Tennodai 1-chome 1--1, Tsukuba, Ibaraki 305 JAPAN | | Phone: +81 (298) 53-5091 Fax: +81 (298) 55-3849 | | Email: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp | | | | Founder and CEO, Skinny Boy Associates | | Mechanism Design and Social Engineering | | REAL solutions to REAL problems of REAL people in REAL time! REALLY. | | Phone: +81 (298) 56-2703 | +-----------------------------------------------------------------------+