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]

console: new mouse modes, request/response attempt


This patch includes 2 things (to be fixed and separated anyway; change log still missing) for discussion:
* mouse modes 6 and 15 (numeric mouse coordinates)
* semi-fix for missing terminal status responses
The fix tries to detect the proper fhandler for CONIO, which is then used to queue the response.
Problem 1: I am not sure whether this detection is proper in all cases, what e.g. if /dev/tty is reopened etc. I don't know where else a relation between the handles for CONIN and CONOUT might be established.
Problem 2: While the response reaches the application with this patch, only the first byte is read right-away. Further bytes are delayed until other input is becoming present (typing a key). This may (or may not) be related to other issues with select(), so maybe it's worth analyzing it.


Thomas

Attachment: cygwin-console-patch
Description: Text document


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