From owner-freebsd-ports Sun Apr 27 09:12:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA17164 for ports-outgoing; Sun, 27 Apr 1997 09:12:13 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.dialix.com [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA17159 for ; Sun, 27 Apr 1997 09:12:08 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM with ESMTP id AAA08661; Mon, 28 Apr 1997 00:11:06 +0800 (WST) Message-Id: <199704271611.AAA08661@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 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 In-reply-to: Your message of "Sun, 27 Apr 1997 17:44:49 +0200." <9704271544.AA26620@wavehh.hanse.de> Date: Mon, 28 Apr 1997 00:11:05 +0800 From: Peter Wemm Sender: owner-ports@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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