1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: command.c |
2 | * File: command.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: command.C,v 1.31 2004/01/29 23:26:01 pcg Exp $ |
4 | * $Id: command.C,v 1.32 2004/01/29 23:31:45 pcg Exp $ |
5 | * |
5 | * |
6 | * All portions of code are copyright by their respective author/s. |
6 | * All portions of code are copyright by their respective author/s. |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
8 | * - original version |
8 | * - original version |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
… | |
… | |
3085 | #endif |
3085 | #endif |
3086 | { 1000, PrivMode_MouseX11 }, |
3086 | { 1000, PrivMode_MouseX11 }, |
3087 | { 1010, PrivMode_TtyOutputInh }, |
3087 | { 1010, PrivMode_TtyOutputInh }, |
3088 | { 1011, PrivMode_Keypress }, |
3088 | { 1011, PrivMode_Keypress }, |
3089 | { 1047, PrivMode_Screen }, |
3089 | { 1047, PrivMode_Screen }, |
|
|
3090 | { 1049, PrivMode_Screen }, /* xterm extension, not fully implemented */ |
3090 | }; |
3091 | }; |
3091 | |
3092 | |
3092 | if (nargs == 0) |
3093 | if (nargs == 0) |
3093 | return; |
3094 | return; |
3094 | |
3095 | |
… | |
… | |
3201 | R->Options |= Opt_scrollTtyKeypress; |
3202 | R->Options |= Opt_scrollTtyKeypress; |
3202 | else |
3203 | else |
3203 | R->Options &= ~Opt_scrollTtyKeypress; |
3204 | R->Options &= ~Opt_scrollTtyKeypress; |
3204 | break; |
3205 | break; |
3205 | case 1047: /* secondary screen w/ clearing */ |
3206 | case 1047: /* secondary screen w/ clearing */ |
|
|
3207 | case 1049: /* better secondary screen w/ clearing, but not fully implemented */ |
3206 | if (R->current_screen != PRIMARY) |
3208 | if (R->current_screen != PRIMARY) |
3207 | R->scr_erase_screen (2); |
3209 | R->scr_erase_screen (2); |
3208 | rxvt_scr_change_screen(aR_ state); |
3210 | rxvt_scr_change_screen(aR_ state); |
3209 | /* FALLTHROUGH */ |
3211 | /* FALLTHROUGH */ |
3210 | default: |
3212 | default: |