Set non-blocking mode.
Set non-blocking mode.Puts the terminal into non-blocking mode. In this mode, read operations return immediately, regardless of whether there is data to be read or not. This is absolutely useless (dangerous, actually) for most conventional input operations, but it allows you to set up real-time operations, like key combinations to break out of lists, or for MUDs.
Don't forget to set blocking mode as soon as you're done! At any rate, the low-level input operations always switch you back to blocking mode.