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.335 by ayin, Tue Jun 26 15:17:24 2007 UTC

2812 unicode_t ch, priv, i; 2812 unicode_t ch, priv, i;
2813 unsigned int nargs, p; 2813 unsigned int nargs, p;
2814 int n, ndef; 2814 int n, ndef;
2815 int arg[ESC_ARGS]; 2815 int arg[ESC_ARGS];
2816 2816
2817 for (nargs = ESC_ARGS; nargs > 0;) 2817 memset (arg, 0, sizeof (arg));
2818 arg[--nargs] = 0; 2818 nargs = 0;
2819 2819
2820 priv = 0; 2820 priv = 0;
2821 ch = cmd_getc (); 2821 ch = cmd_getc ();
2822 if (ch >= '<' && ch <= '?') 2822 if (ch >= '<' && ch <= '?')
2823 { /* '<' '=' '>' '?' */ 2823 { /* '<' '=' '>' '?' */
2867 switch (priv) 2867 switch (priv)
2868 { 2868 {
2869 case '>': 2869 case '>':
2870 if (ch == CSI_DA) /* secondary device attributes */ 2870 if (ch == CSI_DA) /* secondary device attributes */
2871 { 2871 {
2872 // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt, 2872 // first parameter is normally 0 for vt100, 1 for vt220, 'R' for rxvt,
2873 // 'U' for rxvt-unicode != 7.[34] (where it was broken). 2873 // 'U' for rxvt-unicode != 7.[34] (where it was broken).
2874 // 2874 //
2875 // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt 2875 // 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 2876 // 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). 2877 // that we do not support xterm mouse reporting (should be 95 when we do).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines