chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] C-c in csi


From: felix winkelmann
Subject: Re: [Chicken-users] C-c in csi
Date: Thu, 21 Apr 2005 00:20:32 -0700

On 4/20/05, Daishi Kato <address@hidden> wrote:
> Hi,
> 
> This may be a FAQ, but I was not able to
> find an answer in the ML archive.
> 
> In the csi launched from the shell in linux,
> when I send an interrupt signal by pressing C-c,
> it exits from the csi back to the shell.
> What I want is to stop an infinite loop or a long task.
> Is there any other way for it?
> 

You can set a handler for SIGINT using the `set-signal-handler!'
form (available in the posix library unit). In fact the posix unit
sets up the handler itself, so all you have to do is

(require-extension posix)


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]