*** empty log message ***
authorroot <root>
Tue, 24 Jan 2006 18:57:33 +0000 (18:57 +0000)
committerroot <root>
Tue, 24 Jan 2006 18:57:33 +0000 (18:57 +0000)
Changes
src/command.C

diff --git a/Changes b/Changes
index aada2edb551a98b45e8593952537b66eb5df5ebc..bfd5322ee469178f0ed94ed6dafde171a7737ea7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -21,6 +21,8 @@ TODO: ctrl - mouse button2 in vim makes X freeze (unreproducable with cvs)
         - moved Shift-Button2 paste combination to Meta-Button2.
         - removed (unused) arabic presentation form composing sequences.
         - correctly ask XIM for events it needs to have enabled on the window.
+        - changed version sos (ESC [ > c) response to be more compatible with
+          xterm.
 
 7.2  Sun Jan 22 21:58:16 CET 2006
         - bugfix: urxvt (not urxvtd) did not correctly handle multiple
index 638737eb09d8399ced264bc219ea6bdaa3efc97d..3dbbaf883719b6b91d3810325a085a939d40658f 100644 (file)
@@ -3310,7 +3310,16 @@ rxvt_term::process_csi_seq ()
         {
           case '>':
             if (ch == CSI_DA)  /* secondary device attributes */
-              tt_printf ("\033[>%d;%c%c;0c", 'U', VERSION[0], VERSION[2]);
+              {
+                // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt,
+                // 'U' for rxvt-unicode <= 7.2, and Mm85 (e.g. 7385 for 7.3) for later versions.
+                //
+                // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt
+                // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify
+                // that we do not support xterm mouse reporting (should be 95 when we do).
+                //
+                tt_printf ("\033[>%c%c85;94;0c", VERSION[0], VERSION[1]);
+              }
             break;
           case '?':
             if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't')