Does anyone have a routine in C which will allow the program to detect a keypress without reading in the key? I am trying to avoid the use of getch() which would hang the program forever until a key is pressed. Thanks in advance, Ed Friedman ed at zaphod.uchicago.edu friedman at uchicago.bitnet