🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by root Sun, 25 Jan 1998 00:00
Escape sequence patch for slw32tty.c/slrn and cygwin.dll
#38279
Author: root
Date: Sun, 25 Jan 1998 00:00
23 lines
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.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads