title: How to handle key pressed in a Linux console in C?
body: <p>I'm using Linux console and I would like to do a program which outputs random characters until ESC is pressed. How can I make such a keyboard handler?</p>