From: root Date: Tue, 24 Jan 2006 18:57:33 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=012e929cb5efcecfeae0b1aa02fbc8a967d0b174;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index aada2edb..bfd5322e 100644 --- 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 diff --git a/src/command.C b/src/command.C index 638737eb..3dbbaf88 100644 --- a/src/command.C +++ b/src/command.C @@ -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')