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.495 by sf-exg, Sun Aug 28 18:48:41 2011 UTC vs.
Revision 1.496 by sf-exg, Wed Aug 31 22:39:49 2011 UTC

2590 break; 2590 break;
2591 case 'Z': /* identify the terminal type */ 2591 case 'Z': /* identify the terminal type */
2592 tt_printf ("\033/Z"); /* I am a VT100 emulating a VT52 */ 2592 tt_printf ("\033/Z"); /* I am a VT100 emulating a VT52 */
2593 break; 2593 break;
2594 case '<': /* turn off VT52 mode */ 2594 case '<': /* turn off VT52 mode */
2595 set_privmode (PrivMode_vt52, 0); 2595 priv_modes &= ~PrivMode_vt52;
2596 break; 2596 break;
2597 case 'F': /* use special graphics character set */ 2597 case 'F': /* use special graphics character set */
2598 case 'G': /* use regular character set */ 2598 case 'G': /* use regular character set */
2599 /* unimplemented */ 2599 /* unimplemented */
2600 break; 2600 break;
2653 scr_forwardindex (); 2653 scr_forwardindex ();
2654 break; 2654 break;
2655#endif 2655#endif
2656 // DECPAM/DECPNM 2656 // DECPAM/DECPNM
2657 case '=': 2657 case '=':
2658 priv_modes |= PrivMode_aplKP;
2659 break;
2658 case '>': 2660 case '>':
2659 set_privmode (PrivMode_aplKP, ch == '='); 2661 priv_modes &= ~PrivMode_aplKP;
2660 break; 2662 break;
2661 2663
2662 case C1_40: 2664 case C1_40:
2663 cmd_getc (); 2665 cmd_getc ();
2664 break; 2666 break;
3585 if (mode == 'r') 3587 if (mode == 'r')
3586 state = (SavedModes & bit) ? 1 : 0; /* no overlapping */ 3588 state = (SavedModes & bit) ? 1 : 0; /* no overlapping */
3587 else 3589 else
3588 state = (mode == 't') ? ! (priv_modes & bit) : mode; 3590 state = (mode == 't') ? ! (priv_modes & bit) : mode;
3589 3591
3590 set_privmode (bit, state); 3592 if (state)
3593 priv_modes |= bit;
3594 else
3595 priv_modes &= ~bit;
3591 } 3596 }
3592 3597
3593 return state; 3598 return state;
3594} 3599}
3595 3600
3700 case 2: /* VT52 mode */ 3705 case 2: /* VT52 mode */
3701 /* oddball mode. should be set regardless of set/reset 3706 /* oddball mode. should be set regardless of set/reset
3702 * parameter. Return from VT52 mode with an ESC < from 3707 * parameter. Return from VT52 mode with an ESC < from
3703 * within VT52 mode 3708 * within VT52 mode
3704 */ 3709 */
3705 set_privmode (PrivMode_vt52, 1); 3710 priv_modes |= PrivMode_vt52;
3706 break; 3711 break;
3707 case 3: /* 80/132 */ 3712 case 3: /* 80/132 */
3708 if (priv_modes & PrivMode_132OK) 3713 if (priv_modes & PrivMode_132OK)
3709 set_widthheight ((state ? 132 : 80) * fwidth, 24 * fheight); 3714 set_widthheight ((state ? 132 : 80) * fwidth, 24 * fheight);
3710 break; 3715 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines