Hello, I have a program reading multiple bytes one by one after a select from a serial port opened in non-blocking mode. If I send one byte to that port, the first read delivers it, and the second one returns zero. The program treats this as the end of file and exits. Is this behavior of the default line discipline intended? I would expect it to return -EAGAIN if there is no more data in the receive queue. I'm attaching a sample program. Please CC to me, I'm not subscribed. Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/