Mail Archives: djgpp/1997/10/28/08:45:21
Newsgroups: | comp.os.msdos.djgpp,gnu.gcc
|
Subject: | Speeding up the arrow keys in emulated Dos console windows
|
Distribution: | world
|
From: | vischne AT ibm DOT net-nospam (root)
|
Organization: | The Light
|
MIME-Version: | 1.0
|
NNTP-Posting-Host: | 32.100.34.172
|
Message-ID: | <34544822.0@news3.ibm.net>
|
Date: | 27 Oct 97 07:52:02 GMT
|
Lines: | 11
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Somewhere in the Cygwin32 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
(or DJGPP) versions of lynx.exe than under Cygwin.
- Raw text -