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.333 by ayin, Tue Jun 26 09:55:22 2007 UTC vs.
Revision 1.336 by root, Sat Jun 30 18:10:41 2007 UTC

1435 } 1435 }
1436#endif 1436#endif
1437 } 1437 }
1438 break; 1438 break;
1439 1439
1440 case MappingNotify:
1441 XRefreshKeyboardMapping (&ev.xmapping);
1442 break;
1443
1444 /* 1440 /*
1445 * XXX: this is not the _current_ arrangement 1441 * XXX: this is not the _current_ arrangement
1446 * Here's my conclusion: 1442 * Here's my conclusion:
1447 * If the window is completely unobscured, use bitblt's 1443 * If the window is completely unobscured, use bitblt's
1448 * to scroll. Even then, they're only used when doing partial 1444 * to scroll. Even then, they're only used when doing partial
2812 unicode_t ch, priv, i; 2808 unicode_t ch, priv, i;
2813 unsigned int nargs, p; 2809 unsigned int nargs, p;
2814 int n, ndef; 2810 int n, ndef;
2815 int arg[ESC_ARGS]; 2811 int arg[ESC_ARGS];
2816 2812
2817 for (nargs = ESC_ARGS; nargs > 0;) 2813 memset (arg, 0, sizeof (arg));
2818 arg[--nargs] = 0; 2814 nargs = 0;
2819 2815
2820 priv = 0; 2816 priv = 0;
2821 ch = cmd_getc (); 2817 ch = cmd_getc ();
2822 if (ch >= '<' && ch <= '?') 2818 if (ch >= '<' && ch <= '?')
2823 { /* '<' '=' '>' '?' */ 2819 { /* '<' '=' '>' '?' */
2867 switch (priv) 2863 switch (priv)
2868 { 2864 {
2869 case '>': 2865 case '>':
2870 if (ch == CSI_DA) /* secondary device attributes */ 2866 if (ch == CSI_DA) /* secondary device attributes */
2871 { 2867 {
2872 // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt, 2868 // first parameter is normally 0 for vt100, 1 for vt220, 'R' for rxvt,
2873 // 'U' for rxvt-unicode != 7.[34] (where it was broken). 2869 // 'U' for rxvt-unicode != 7.[34] (where it was broken).
2874 // 2870 //
2875 // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt 2871 // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt
2876 // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify 2872 // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify
2877 // that we do not support xterm mouse reporting (should be 95 when we do). 2873 // that we do not support xterm mouse reporting (should be 95 when we do).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines