how can u check to see if there is anything in the keyboard buffer before u do a read on it which would block the program till something is enterd??