diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-08 17:22:04 +0100 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-11-08 17:22:04 +0100 |
| commit | 866590521609ba35606e53990e381bdc2adf742f (patch) | |
| tree | d824f01ff2b994c3a6ca73be1b52198e433542ce | |
| parent | 27468403cc436cf8197c886158e6e61f24ae5b8d (diff) | |
| download | st-866590521609ba35606e53990e381bdc2adf742f.tar.gz st-866590521609ba35606e53990e381bdc2adf742f.zip | |
Move unsupported sequences to ignored.
These sequences will be never implemented and in this moment they are
generating a lot of noise.
---
st.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
| -rw-r--r-- | st.c | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -1480,8 +1480,14 @@ tsetmode(bool priv, bool set, int *args, int narg) { | |||
| 1480 | case 7: /* DECAWM -- Auto wrap */ | 1480 | case 7: /* DECAWM -- Auto wrap */ |
| 1481 | MODBIT(term.mode, set, MODE_WRAP); | 1481 | MODBIT(term.mode, set, MODE_WRAP); |
| 1482 | break; | 1482 | break; |
| 1483 | case 8: /* DECARM -- Auto repeat (IGNORED) */ | ||
| 1484 | case 0: /* Error (IGNORED) */ | 1483 | case 0: /* Error (IGNORED) */ |
| 1484 | case 2: /* DECANM -- ANSI/VT52 (IGNORED) */ | ||
| 1485 | case 3: /* DECCOLM -- Column (IGNORED) */ | ||
| 1486 | case 4: /* DECSCLM -- Scroll (IGNORED) */ | ||
| 1487 | case 8: /* DECARM -- Auto repeat (IGNORED) */ | ||
| 1488 | case 18: /* DECPFF -- Printer feed (IGNORED) */ | ||
| 1489 | case 19: /* DECPEX -- Printer extent (IGNORED) */ | ||
| 1490 | case 42: /* DECNRCM -- National characters (IGNORED) */ | ||
| 1485 | case 12: /* att610 -- Start blinking cursor (IGNORED) */ | 1491 | case 12: /* att610 -- Start blinking cursor (IGNORED) */ |
| 1486 | break; | 1492 | break; |
| 1487 | case 25: /* DECTCEM -- Text Cursor Enable Mode */ | 1493 | case 25: /* DECTCEM -- Text Cursor Enable Mode */ |
| @@ -1509,12 +1515,6 @@ tsetmode(bool priv, bool set, int *args, int narg) { | |||
| 1509 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); | 1515 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); |
| 1510 | break; | 1516 | break; |
| 1511 | default: | 1517 | default: |
| 1512 | /* case 2: DECANM -- ANSI/VT52 (NOT SUPPOURTED) */ | ||
| 1513 | /* case 3: DECCOLM -- Column (NOT SUPPORTED) */ | ||
| 1514 | /* case 4: DECSCLM -- Scroll (NOT SUPPORTED) */ | ||
| 1515 | /* case 18: DECPFF -- Printer feed (NOT SUPPORTED) */ | ||
| 1516 | /* case 19: DECPEX -- Printer extent (NOT SUPPORTED) */ | ||
| 1517 | /* case 42: DECNRCM -- National characters (NOT SUPPORTED) */ | ||
| 1518 | fprintf(stderr, | 1518 | fprintf(stderr, |
| 1519 | "erresc: unknown private set/reset mode %d\n", | 1519 | "erresc: unknown private set/reset mode %d\n", |
| 1520 | *args); | 1520 | *args); |
