This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
console: new mouse modes, request/response attempt
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 02 Apr 2012 20:46:31 +0200
- Subject: 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