From jan@swi.psy.uva.nl  Mon Jun  5 10:28:07 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA28058;
	Mon, 5 Jun 2000 10:28:07 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA27325;
	Mon, 5 Jun 2000 10:28:42 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: VIOLLET Frederic <viollet@ensicaen.ismra.fr>, prolog@swi.psy.uva.nl
Subject: Re: SIGINT?
Date: Mon, 5 Jun 2000 10:26:46 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
References: <Pine.A41.4.05.10006051009140.30484-100000@ibm580.ensicaen.ismra.fr>
In-Reply-To: <Pine.A41.4.05.10006051009140.30484-100000@ibm580.ensicaen.ismra.fr>
MIME-Version: 1.0
Message-Id: <00060510284205.27098@gollem>
Content-Transfer-Encoding: 8bit

On Mon, 05 Jun 2000, VIOLLET Frederic wrote:
>Hello,
>Is it possible to intercept and handle the SIGINT signal?
>I want to execute the halt() predicate when a sigint occurs...
>Thank you for your help.

In recent releases, see on_signal/3.  On older ones, you can
do the same from C, but handling signals is not safe in these
versions.

	Regards

