Hi, I need to check for ^C in an endless loop that doesn't do any stdio. How can I do that? Back in DOS days, I used to use kbhit() from CONIO.H, which checks for currently available keystrokes. Is there similar things under Linux gcc? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/