[Haskell-cafe] Re: syscall, sigpause and EINTR on Mac OSX

Joel Reymont joelr1 at gmail.com
Sun Dec 11 18:45:23 EST 2005


^C seems to be '\ETX' so ignoring SIGINT and using getChar should  
probably do it.

On Dec 11, 2005, at 11:31 PM, Joel Reymont wrote:

> Allright, I _am_ convinced. How do I ready ^C from the keyboard???
>
> On Dec 11, 2005, at 10:02 PM, Branimir Maksimovic wrote:
>
>> This should be enough reason to scan  for keyboard events instead.
>> There is no guarantee that SIGINT would be sent only by keyboard.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list