From: Ola Bini Date: 2006-07-17T19:31:33+09:00 Subject: Re: Catch ^c/signals? blocks? Elite Force wrote: > Ola Bini wrote: >> Elite Force wrote: >>> I'd really appreciate it if you could answer my questions, thanks. >>> >> I would recommend that you lookup either the method Kernel#trap, the >> class Signal, or maybe both? >> >> -- >> Ola Bini (http://ola-bini.blogspot.com) >> JvYAML, RbYAML, JRuby and Jatha contributor >> System Developer, Karolinska Institutet (http://www.ki.se) >> OLogix Consulting (http://www.ologix.com) >> >> "Yields falsehood when quined" yields falsehood when quined. > > does ctrl-c also send a signal to the process? (i guess so) > Yes, C-c generates a SIGINT in most common operating systems. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.