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.248 by root, Sun Jan 8 00:07:18 2006 UTC vs.
Revision 1.249 by root, Sun Jan 8 01:02:15 2006 UTC

4155 /* extra handling for values with state unkept */ 4155 /* extra handling for values with state unkept */
4156 switch (arg[i]) 4156 switch (arg[i])
4157 { 4157 {
4158#if ENABLE_STYLES 4158#if ENABLE_STYLES
4159 case 1021: 4159 case 1021:
4160 if (mode) 4160 set_option (Opt_intensityStyles, mode);
4161 SET_OPTION (Opt_intensityStyles);
4162 else
4163 CLR_OPTION (Opt_intensityStyles);
4164 4161
4165 scr_touch (true); 4162 scr_touch (true);
4166 break; 4163 break;
4167#endif 4164#endif
4168 case 1048: /* alternative cursor save */ 4165 case 1048: /* alternative cursor save */
4190 case 3: /* 80/132 */ 4187 case 3: /* 80/132 */
4191 if (priv_modes & PrivMode_132OK) 4188 if (priv_modes & PrivMode_132OK)
4192 set_widthheight (((state ? 132 : 80) * fwidth), height); 4189 set_widthheight (((state ? 132 : 80) * fwidth), height);
4193 break; 4190 break;
4194 case 4: /* smooth scrolling */ 4191 case 4: /* smooth scrolling */
4195 if (!state) 4192 set_option (Opt_jumpScroll, !state);
4196 SET_OPTION (Opt_jumpScroll);
4197 else
4198 CLR_OPTION (Opt_jumpScroll);
4199 break; 4193 break;
4200 case 5: /* reverse video */ 4194 case 5: /* reverse video */
4201 scr_rvideo_mode (state); 4195 scr_rvideo_mode (state);
4202 break; 4196 break;
4203 case 6: /* relative/absolute origins */ 4197 case 6: /* relative/absolute origins */
4244#if 0 4238#if 0
4245 case 1001: 4239 case 1001:
4246 break; /* X11 mouse highlighting */ 4240 break; /* X11 mouse highlighting */
4247#endif 4241#endif
4248 case 1010: /* scroll to bottom on TTY output inhibit */ 4242 case 1010: /* scroll to bottom on TTY output inhibit */
4249 if (!state) 4243 set_option (Opt_scrollTtyOutput, !state);
4250 SET_OPTION (Opt_scrollTtyOutput);
4251 else
4252 CLR_OPTION (Opt_scrollTtyOutput);
4253 break; 4244 break;
4254 case 1011: /* scroll to bottom on key press */ 4245 case 1011: /* scroll to bottom on key press */
4255 if (state) 4246 set_option (Opt_scrollTtyKeypress, state);
4256 SET_OPTION (Opt_scrollTtyKeypress);
4257 else
4258 CLR_OPTION (Opt_scrollTtyKeypress);
4259 break; 4247 break;
4260 case 1047: /* secondary screen w/ clearing last */ 4248 case 1047: /* secondary screen w/ clearing last */
4261 if (OPTION (Opt_secondaryScreen)) 4249 if (OPTION (Opt_secondaryScreen))
4262 if (current_screen != PRIMARY) 4250 if (current_screen != PRIMARY)
4263 scr_erase_screen (2); 4251 scr_erase_screen (2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines