In a Linux system, how would you go about capturing Control-C (or any other control sequence)? Is it possible with C++ or would I need to make C function calls?
I found something like this for Win32, but I couldn't find anything for Linux. I'm assuming it's going to be a headache, but I'd like to see how much of a headache it will be. And no ncurses, please.