Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 1997 00:11:05 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        cracauer@wavehh.hanse.de (Martin Cracauer)
Cc:        joerg_wunsch@uriah.heep.sax.de, 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:  <199704271611.AAA08661@spinner.DIALix.COM>
In-Reply-To: Your message of "Sun, 27 Apr 1997 17:44:49 %2B0200." <9704271544.AA26620@wavehh.hanse.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Cracauer wrote:
[..]
> 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?
> 
> Could someone explain? How and who is handling these and why are C-c
> and C-g related?

Because emacs changes the tty interrupt character to ^G.  So, potentially 
both the shell, emacs and perhaps the calling program (eg: crontab) see 
the SIGINT.

This is probably more a bug in system() or crontab with their signal/
process group handling.

Cheers,
-Peter





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