*** empty log message ***
authorroot <root>
Fri, 2 Apr 2010 19:27:38 +0000 (19:27 +0000)
committerroot <root>
Fri, 2 Apr 2010 19:27:38 +0000 (19:27 +0000)
Changes
src/command.C

diff --git a/Changes b/Changes
index 8568e7e..939f159 100644 (file)
--- a/Changes
+++ b/Changes
@@ -23,13 +23,15 @@ TODO: perl-shell-window?
 TODO:        - upgrade to libev-4.00.
 
 TODO: make fontCount dependent on ENABLE_256... in an INTELLIGENT way
-       - fix numlock handling (Emanuele Giaquinta).
+       - fix numlock handling, the most longstanding bug to date (Emanuele Giaquinta).
        - searchable-scrollback no longer ignores the first line
          (Emanuele Giaquinta).
        - add support for 256 colors.
        - add support for grabbing the clipboard selection and extend
          selection{_clear,_grab,} perl bindings to optionally work
          on the clipboard selection (based on patch by Dana Jansens).
+        - fix a buffer overflow that would cause wrong key sequences to
+          be generated for numpad keys (introduced in 9.05).
        - extend ISO 14755 5.4 mode to also print the font name of the
          characters other than first one in the selected cell
          (Emanuele Giaquinta).
@@ -38,7 +40,8 @@ TODO: make fontCount dependent on ENABLE_256... in an INTELLIGENT way
        - new on_bell perl hook (Emanuele Giaquinta).
        - new iso14755 option to disable ISO 14755 at runtime
           (Emanuele Giaquinta).
-        - reduce the number of custom bits to 4.
+        - reduce the number of custom bits to 4, to make room
+          for 256 colours.
 
 9.07 Wed Dec 30 07:07:18 CET 2009
        - port to glibc-2.10 changes (strchr etc. returning const char *
index 8a4f21d..07219ab 100644 (file)
@@ -651,7 +651,10 @@ rxvt_term::key_press (XKeyEvent &ev)
 
           if (ev.state & ModNumLockMask)
             kp = false;
-          switch (translate_keypad (keysym, kp))
+
+          keysym = translate_keypad (keysym, kp);
+
+          switch (keysym)
             {
 #ifndef NO_BACKSPACE_KEY
               case XK_BackSpace: