Article View: news.software.readers
Article #38279Escape sequence patch for slw32tty.c/slrn and cygwin.dll
From: root
Date: Sun, 25 Jan 1998 00:00
Date: Sun, 25 Jan 1998 00:00
23 lines
1489 bytes
1489 bytes
This patch is for compiling slrn under the b18 and soon-to-be-released b19 versions of the cygnus.com gcc compiler: 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.
Technical Details
Message-ID:
<34cb4ae9.0@news3.ibm.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <34cb4ae9.0@news3.ibm.net> Subject: Escape sequence patch for slw32tty.c/slrn and cygwin.dll Date: Sun, 25 Jan 1998 00:00:00 +0000 From: root@tailor.aleim.net (root) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 319111460 Reply-To: vischne@ibm.net-nospam Organization: The Light Newsgroups: news.software.readers