One of the most commonly asked questions on Unix programming
newsgroups is "How do I get a single character from the keyboard
without having to hit the RETURN key?"

The usual answer is that you probably don't need to.  But, while
that is true it, sidesteps the fact that sometimes it can be
very useful.  It does happen to be relatively easy, plus
learning how it is done provides an education on how serial IO
works under Unix.

Hence, getch.c is a file that I've been posting to Usenet for
several years.  It has migrated, because it started before Linux
was around, and even before POSIX and before ANSI-C.  This
version has recently been updated and is newer than what you'll
find with google.

In addition to getch() and kbhit() functions, this example
includes a main() function with a little menu program to
demonstrate how it can be used.

$Id: README,v 1.1.0.0 2003/11/05 19:27:59 floyd Exp floyd $