Mail Archives: djgpp-workers/1999/05/23/18:03:19
The code in tminit.c that converts ctrl+space to ascii 0 for
termios doesn't seem to be completely reliable.
__direct_ctrlsense() returns the state of the ctrl key at the time of the
interrupt call. However, since the keyboard is buffered, it's possible the
key returned from __direct_keyinput() was typed long enough ago so
that the ctrl-key is longer pressed once __direct_ctrlsense() is called
and so the space will be left as-is or worse if a regular space is typed
before the ctrl+space then the regular space will be converted to ascii
0.
Perhaps this feature should be removed?
Mark
---
Mark Elbrecht, snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/
- Raw text -