Re: the events, assuming you are running this from a terminal, you can still use the terminal for input however you see fit. For example: #include <unistd.h> #include <termios.h> #include <fcntl.h> int main () { struct termios old_terminal_settings, new_terminal_settings; //Disable line buffering, r...