On 4/20/05, Daishi Kato <[EMAIL PROTECTED]> 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 _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users