Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!swrinde!pipex!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Subject: catching interrupts in Sicstus Prolog
Message-ID: <9504218.16381@mulga.cs.mu.OZ.AU>
Summary: I want ^C to just exit
Sender: news@cs.mu.OZ.AU (CS-Usenet)
Organization: Computer Science, University of Melbourne, Australia
Date: Sat, 11 Feb 1995 07:37:32 GMT
Lines: 13

I've got a Sicstus Prolog program, and I've used save/2 to create an
executable for it.  When the user types control-C, I want the program
to exit, but instead it comes up with a message

	Prolog interrupted (press h for help):

How can I disable that?

I have RTFM'ed without luck.  I'm using SICstus 2.1#9 on sparc-sun-solaris2.3.

-- 
Fergus Henderson - fjh@munta.cs.mu.oz.au
all [L] (programming_language(L), L \= "Mercury") => better("Mercury", L) ;-)
