… | |
… | |
2656 | #if !ENABLE_MINIMAL |
2656 | #if !ENABLE_MINIMAL |
2657 | case '9': |
2657 | case '9': |
2658 | scr_forwardindex (); |
2658 | scr_forwardindex (); |
2659 | break; |
2659 | break; |
2660 | #endif |
2660 | #endif |
|
|
2661 | // DECPAM/DECPNM |
2661 | case '=': |
2662 | case '=': |
2662 | case '>': |
2663 | case '>': |
2663 | set_privmode (PrivMode_aplKP, ch == '='); |
2664 | set_privmode (PrivMode_aplKP, ch == '='); |
2664 | break; |
2665 | break; |
2665 | |
2666 | |
… | |
… | |
3615 | { |
3616 | { |
3616 | const int argval; |
3617 | const int argval; |
3617 | const unsigned long bit; |
3618 | const unsigned long bit; |
3618 | } argtopriv[] = { |
3619 | } argtopriv[] = { |
3619 | { 1, PrivMode_aplCUR }, // DECCKM |
3620 | { 1, PrivMode_aplCUR }, // DECCKM |
3620 | { 2, PrivMode_vt52 }, |
3621 | { 2, PrivMode_vt52 }, // DECANM |
3621 | { 3, PrivMode_132 }, // DECCOLM |
3622 | { 3, PrivMode_132 }, // DECCOLM |
3622 | { 4, PrivMode_smoothScroll }, // DECSCLM |
3623 | { 4, PrivMode_smoothScroll }, // DECSCLM |
3623 | { 5, PrivMode_rVideo }, // DECSCNM |
3624 | { 5, PrivMode_rVideo }, // DECSCNM |
3624 | { 6, PrivMode_relOrigin }, // DECOM |
3625 | { 6, PrivMode_relOrigin }, // DECOM |
3625 | { 7, PrivMode_Autowrap }, // DECAWM |
3626 | { 7, PrivMode_Autowrap }, // DECAWM |
3626 | // 8, auto-repeat keys // DECARM |
3627 | // 8, auto-repeat keys // DECARM |
3627 | { 9, PrivMode_MouseX10 }, |
3628 | { 9, PrivMode_MouseX10 }, |
3628 | // 18 end FF to printer after print screen |
3629 | // 18 end FF to printer after print screen |
3629 | // 19 Print screen prints full screen/scroll region |
3630 | // 19 Print screen prints full screen/scroll region |
3630 | { 25, PrivMode_VisibleCursor }, // cnorm/cvvis/civis |
3631 | { 25, PrivMode_VisibleCursor }, // DECTCEM cnorm/cvvis/civis |
3631 | #ifdef scrollBar_esc |
3632 | #ifdef scrollBar_esc |
3632 | { scrollBar_esc, PrivMode_scrollBar }, |
3633 | { scrollBar_esc, PrivMode_scrollBar }, |
3633 | #endif |
3634 | #endif |
3634 | { 35, PrivMode_ShiftKeys }, // rxvt extension |
3635 | { 35, PrivMode_ShiftKeys }, // rxvt extension |
3635 | // 38, tektronix mode // DECTEK |
3636 | // 38, tektronix mode // DECTEK |
3636 | { 40, PrivMode_132OK }, |
3637 | { 40, PrivMode_132OK }, |
3637 | // 41 xterm more fixes NYI |
3638 | // 41 xterm more fixes NYI |
3638 | // 45 margin bell NYI |
3639 | // 45 margin bell NYI |
3639 | // 46 start logging |
3640 | // 46 start logging |
3640 | { 47, PrivMode_Screen }, |
3641 | { 47, PrivMode_Screen }, |
3641 | { 66, PrivMode_aplKP }, // DECPAM/DECPNM |
3642 | { 66, PrivMode_aplKP }, // DECNKM |
3642 | #ifndef NO_BACKSPACE_KEY |
3643 | #ifndef NO_BACKSPACE_KEY |
3643 | { 67, PrivMode_BackSpace }, // DECBKM |
3644 | { 67, PrivMode_BackSpace }, // DECBKM |
3644 | #endif |
3645 | #endif |
3645 | { 1000, PrivMode_MouseX11 }, |
3646 | { 1000, PrivMode_MouseX11 }, |
3646 | { 1002, PrivMode_MouseBtnEvent }, |
3647 | { 1002, PrivMode_MouseBtnEvent }, |