Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 19:22:40 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        cracauer@wavehh.hanse.de (Martin Cracauer)
Cc:        peter@spinner.DIALix.COM (Peter Wemm), bde@zeta.org.au, chris@chris.netmonger.net, ports@FreeBSD.org, sprice@hiwaay.net
Subject:   Re: C-g, emacs and 2.2/3.0
Message-ID:  <19970427192240.IE15960@uriah.heep.sax.de>
In-Reply-To: <9704271544.AA26620@wavehh.hanse.de>; from Martin Cracauer on Apr 27, 1997 17:44:49 %2B0200
References:  <199704270744.PAA04711@spinner.DIALix.COM> <9704271544.AA26620@wavehh.hanse.de>

next in thread | previous in thread | raw e-mail | index | archive | help
As Martin Cracauer wrote:

> > The biggest problem was that it interacted very badly with certain 
> > important things, eg: make.  ie: you press ^C and the jobs that make is 
> > running split off and keep running in the background.  
> 
> Sorry, I don't quite understand how these characters are to be
> processed and what the shell has to do with it. Isn't C-c a character
> that is "handled" by the system (shell, crt0 or whatever) and C-g is a
> character that is set up by the application itself?

Nope.  Emacs sets c_cc[VINTR] = c_cc[VQUIT] = CTRL('g').  This way it
gets an asynchronuous notification of the user hitting abort.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970427192240.IE15960>