This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin select() issues and improvements


I hadn't checked UTF-8 input before, but yes, it's the same problem.  Your test program and mine are very similar.

Regards,

  --jh

> On Feb 14, 2016, at 7:29 AM, Thomas Wolff <towo@towo.net> wrote:
> 
>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]