XFree86 3.9a - xterm patch #37 - 1997/5/7 - T.Dickey
This corrects a minor, but annoying error in the vt220 emulation: the DECUDK
is only supposed to be interpreted for _shifted_ function keys.
--------------------------------------------------------------------------------
input.c | 3 ++-
1 files changed, 2 insertions, 1 deletion
--------------------------------------------------------------------------------
Index: input.c
--- xterm-36+/input.c Wed Jan 8 18:18:35 1997
+++ xterm-37/input.c Wed May 7 15:09:40 1997
@@ -145,7 +145,8 @@
keysym == DXK_Remove || keysym == XK_KP_Delete ||
keysym == XK_KP_Insert) {
int dec_code = funcvalue(keysym);
- if ((string = udk_lookup(dec_code, &nbytes)) != 0) {
+ if ((event->state & ShiftMask)
+ && ((string = udk_lookup(dec_code, &nbytes)) != 0)) {
while (nbytes-- > 0)
unparseputc(*string++, pty);
}