delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/26/21:41:10

From: <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp> (Stephen Turnbull)
Subject: suppressing ctrl-c
Organization: Kaleida Labs, Inc.
References: <9401262243 DOT AA25341 AT cuba DOT Cayman DOT COM>
Originator: daemon AT talisman DOT kaleida DOT com
Date: 27 Jan 94 01:24:52 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: djgpp AT sun DOT soe DOT clarkson DOT edu

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                        |
+-----------------------------------------------------------------------+

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019