curses ncurses Examples Hello world printw printw newline printw twice printw newline screen height clear Check key pressed Canonical. TODO. http://www.gnu.org/software/libc/manual/html_node/Canonical-or-Not.html tcgetattr_dump.c