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.478 by root, Thu Feb 24 12:42:41 2011 UTC vs.
Revision 1.479 by root, Fri Feb 25 07:07:41 2011 UTC

2688 } 2688 }
2689 break; 2689 break;
2690 2690
2691 /* kidnapped escape sequence: Should be 8.3.48 */ 2691 /* kidnapped escape sequence: Should be 8.3.48 */
2692 case C1_ESA: /* ESC G */ 2692 case C1_ESA: /* ESC G */
2693 process_graphics (); 2693 // used by original rxvt for rob nations own graphics mode
2694 if (cmd_getc () == 'Q')
2695 tt_printf ("\033G0\012"); /* query graphics - no graphics */
2694 break; 2696 break;
2695 2697
2696 /* 8.3.63: CHARACTER TABULATION SET */ 2698 /* 8.3.63: CHARACTER TABULATION SET */
2697 case C1_HTS: /* ESC H */ 2699 case C1_HTS: /* ESC H */
2698 scr_set_tab (1); 2700 scr_set_tab (1);
3969 } 3971 }
3970 } 3972 }
3971} 3973}
3972/*}}} */ 3974/*}}} */
3973 3975
3974/*{{{ (do not) process Rob Nation's own graphics mode sequences */
3975void
3976rxvt_term::process_graphics ()
3977{
3978 unicode_t ch, cmd = cmd_getc ();
3979
3980 if (cmd == 'Q')
3981 {
3982 /* query graphics */
3983 tt_printf ("\033G0\012"); /* no graphics */
3984 return;
3985 }
3986 /* swallow other graphics sequences until terminating ':' */
3987 do
3988 ch = cmd_getc ();
3989 while (ch != ':');
3990}
3991/*}}} */
3992
3993/* ------------------------------------------------------------------------- */ 3976/* ------------------------------------------------------------------------- */
3994 3977
3995/* 3978/*
3996 * Send printf () formatted output to the command. 3979 * Send printf () formatted output to the command.
3997 * Only use for small amounts of data. 3980 * Only use for small amounts of data.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines