This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Escape sequence patch for libslangw32


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".


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