diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-31 14:59:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-31 14:59:41 +0000 |
commit | 424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 (patch) | |
tree | 2841d6e3702a563627a400fa10a284b73a817436 /src/ex_cmds.c | |
parent | eb6c2765959c91ddbb527f96f91ba5be199b8d41 (diff) | |
download | vim-git-424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7.tar.gz |
patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 9d99571f7..d9d532c91 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -61,23 +61,17 @@ do_ascii(exarg_T *eap UNUSED) cval = NL; // NL is stored as CR else cval = c; - if (vim_isprintc_strict(c) && (c < ' ' -#ifndef EBCDIC - || c > '~' -#endif - )) + if (vim_isprintc_strict(c) && (c < ' ' || c > '~')) { transchar_nonprint(curbuf, buf3, c); vim_snprintf(buf1, sizeof(buf1), " <%s>", (char *)buf3); } else buf1[0] = NUL; -#ifndef EBCDIC if (c >= 0x80) vim_snprintf(buf2, sizeof(buf2), " <M-%s>", (char *)transchar(c & 0x7f)); else -#endif buf2[0] = NUL; #ifdef FEAT_DIGRAPHS dig = get_digraph_for_char(cval); @@ -1506,7 +1500,7 @@ do_shell( } else if (term_console) { - OUT_STR(IF_EB("\033[0 q", ESC_STR "[0 q")); // get window size + OUT_STR("\033[0 q"); // get window size if (got_int && msg_silent == 0) redraw_later_clear(); // if got_int is TRUE, redraw needed else |