delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/25/06:25:15

From: vischne AT ibm DOT net
Subject: Escape sequence patch for libslangw32
25 Jan 1998 06:25:15 -0800 :
Message-ID: <199801251421.OAA65926.cygnus.gnu-win32@out5.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019