--- rxvt-unicode/src/command.C 2006/01/28 20:08:05 1.287 +++ rxvt-unicode/src/command.C 2006/01/28 20:33:31 1.288 @@ -3280,13 +3280,13 @@ if (ch == CSI_DA) /* secondary device attributes */ { // 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. + // 'U' for rxvt-unicode <= 7.2. // // 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[2]); + tt_printf ("\033[>0;94;0c"); } break; case '?': @@ -3932,6 +3932,15 @@ } break; + case URxvt_version: + if (query) + tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c", + URxvt_version, + rs[Rs_name], + VERSION[0], VERSION[2], + resp); + break; + #if ENABLE_FRILLS case URxvt_locale: if (query)