Filip wrote: > So how to write function that will wait until Handle is ready for reading ?? hWaitForInput :: Handle -> Int -> IO Bool hWaitForInput h t = ... Waits until Handle h is ready for reading or t milliseconds have elapsed. -- Glynn Clements <glynn.clements@virgin.net>