In this zoo of discussion on "getch", i'd like to add a shot in support of "kbhit()". In particular, I'd like kbhit to return ture if input is waiting (i.e. getchar will NOT block) and false otherwise. This has the advantage of working with file streams, as well as with "keyboards". Also, the sematics cover such block-oriented devices as 3270.