This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Escape sequence patch for libslangw32
- To: gnu-win32 at cygnus dot com
- Subject: Escape sequence patch for libslangw32
- From: vischne at ibm dot net
- Date: Sun, 25 Jan 1998 14:21:17 GMT
If you add the following line to SLsys_getkey in slw32tty.c,
case VK_ESCAPE: escape_sequence = (char *)NULL; break;
you stand a chance of tuning in to the `extra' escape sequences generated
by the b18 version of cygwin.dll in response to, e. g., mouse clicks in
the console window.
You then discover that the mouse-click reporting appears to be queued. I.
e., the "\eMbxy" returns from a mouse click appear to come a number of
keystrokes after the click occurs instead of immediately. In fact, you
can see the `<-Mabc' echoes on the Dos window in which slrn.exe is running.
BTW, from experience compiling Linux kernels with gcc, it seems evident that
large libraries need the `-fno-strength-reduce' flag to prevent errors in
the compiled code, even with the latest gcc, and probably with egcs as well.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".