Cygwin select() issues and improvements

Thomas Wolff towo@towo.net
Sun Feb 14 12:29:00 GMT 2016


Am 14.02.2016 um 09:09 schrieb john hood:
> [I Originally sent this last week, but it bounced.]
>
> Various issues with Cygwin's select() annoyed me, and I've spent some
> time gnawing on them.
>
> * With 1-byte reads, select() on Windows Console input would forget
> about unread input data stored in the fhandler's readahead buffer.
> Hitting F1 would send only the first ESC character, until you released
> the key and another Windows event was generated.  (one-line fix, though
> I'm not sure it's appropriate/correct)
>
> * ...
If that also solves the UTF-8 byte splitting problem 
https://cygwin.com/ml/cygwin/2014-12/msg00118.html that would be great, 
see test program attached there.
Thomas



More information about the Cygwin-patches mailing list