ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.287 by root, Sat Jan 28 20:08:05 2006 UTC vs.
Revision 1.288 by root, Sat Jan 28 20:33:31 2006 UTC

3278 { 3278 {
3279 case '>': 3279 case '>':
3280 if (ch == CSI_DA) /* secondary device attributes */ 3280 if (ch == CSI_DA) /* secondary device attributes */
3281 { 3281 {
3282 // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt, 3282 // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt,
3283 // 'U' for rxvt-unicode <= 7.2, and Mm85 (e.g. 7385 for 7.3) for later versions. 3283 // 'U' for rxvt-unicode <= 7.2.
3284 // 3284 //
3285 // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt 3285 // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt
3286 // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify 3286 // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify
3287 // that we do not support xterm mouse reporting (should be 95 when we do). 3287 // that we do not support xterm mouse reporting (should be 95 when we do).
3288 // 3288 //
3289 tt_printf ("\033[>%c%c85;94;0c", VERSION[0], VERSION[2]); 3289 tt_printf ("\033[>0;94;0c");
3290 } 3290 }
3291 break; 3291 break;
3292 case '?': 3292 case '?':
3293 if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't') 3293 if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't')
3294 process_terminal_mode (ch, priv, nargs, arg); 3294 process_terminal_mode (ch, priv, nargs, arg);
3928 3928
3929 res = strdup (str); 3929 res = strdup (str);
3930 allocated.push_back ((void *)res); 3930 allocated.push_back ((void *)res);
3931 set_fonts (); 3931 set_fonts ();
3932 } 3932 }
3933 break;
3934
3935 case URxvt_version:
3936 if (query)
3937 tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c",
3938 URxvt_version,
3939 rs[Rs_name],
3940 VERSION[0], VERSION[2],
3941 resp);
3933 break; 3942 break;
3934 3943
3935#if ENABLE_FRILLS 3944#if ENABLE_FRILLS
3936 case URxvt_locale: 3945 case URxvt_locale:
3937 if (query) 3946 if (query)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines