From: htoaster@yabbs To: xenon@yabbs Subject: re: Loop until keypress Date: Fri Oct 29 08:57:23 1993 Read the man page on select. It tells the kernel to wake up your program when there is a key for you. You have to remember that key-loops in unix are bad, because it means that the computer is spending so much time computing your loop that it (which it doesn't know is just waiting for a keypress) that it has less time to go and do work for other people. In fact this is one of the primary problems with multitasking dos, is that everything is so used to doing keyboard input loops that the multitaskers end up switching to programs that aren't doing anything but sitting in a busy loop. htoaster