summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-31 14:59:41 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-31 14:59:41 +0000
commit424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 (patch)
tree2841d6e3702a563627a400fa10a284b73a817436 /src/ex_cmds.c
parenteb6c2765959c91ddbb527f96f91ba5be199b8d41 (diff)
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.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 9d99571f72..d9d532c919 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