delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/27/00:35:50

From: vischne AT ibm DOT net (Victor Schneider)
Subject: Speeding up the Cygwin console keyboard response
27 Oct 1997 00:35:50 -0800 :
Message-ID: <1.5.4.16.19971027025153.0c5f6250.cygnus.gnu-win32@pop1.ibm.net>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Somewhere in the implementation of the getch() and fread(stdin, &ch, n) code,
there is a callback function with a WM_KEYDOWN case.

Whatever is responding when a key is pressed is _not_ looking at the count
field of the returned message.  Which explains why the arrow keys can't
move fast.  Since I can call up a Dos window under Windows 95 and run the
DJGPP version of pico.exe and the programmer's workshop version of micro-
emacs.exe in that Dos window, I can easily convince you that the arrow
keys are much more responsive in those ported Unix apps, and in the Borland
version of lynx.exe than under Cygwin.

-
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