[Mono-list] how to receive console event signal in mono?

Sam Jost monolist@radeldudel.de
Wed, 28 Jul 2004 16:38:28 +0200


I'd like to know how I would receive a console event signal in a console
program written in mono (running on linux)

On windows I would use interop and kernel32 "SetConsoleCtrlHandler" function
to capture a ctrl+break, but somehow I don't except this to work with linux.

How would one capture signals with a mono console program in linux?

regards,
Sam