0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4273: the EBCDIC support is outdated

Problem:    The EBCDIC support is outdated.
Solution:   Remove the EBCDIC support.
This commit is contained in:
Bram Moolenaar
2022-01-31 14:59:41 +00:00
parent eb6c276595
commit 424bcae1fb
43 changed files with 429 additions and 1302 deletions

View File

@@ -138,119 +138,7 @@ static digr_T digraphdefault[] =
};
#else // !HPUX_DIGRAPHS
# ifdef EBCDIC
/*
* EBCDIC - ISO digraphs
* TODO: EBCDIC Table is Code-Page 1047
*/
{{'a', '^', 66}, // â
{'a', '"', 67}, // ä
{'a', '`', 68}, // à
{'a', '\'', 69}, // á
{'a', '~', 70}, // ã
{'a', '@', 71}, // å
{'a', 'a', 71}, // å
{'c', ',', 72}, // ç
{'n', '~', 73}, // ñ
{'c', '|', 74}, // ¢
{'e', '\'', 81}, // é
{'e', '^', 82}, // ê
{'e', '"', 83}, // ë
{'e', '`', 84}, // è
{'i', '\'', 85}, // í
{'i', '^', 86}, // î
{'i', '"', 87}, // ï
{'i', '`', 88}, // ì
{'s', 's', 89}, // ß
{'A', '^', 98}, // Â
{'A', '"', 99}, // Ä
{'A', '`', 100}, // À
{'A', '\'', 101}, // Á
{'A', '~', 102}, // Ã
{'A', '@', 103}, // Å
{'A', 'A', 103}, // Å
{'C', ',', 104}, // Ç
{'N', '~', 105}, // Ñ
{'|', '|', 106}, // ¦
{'o', '/', 112}, // ø
{'E', '\'', 113}, // É
{'E', '^', 114}, // Ê
{'E', '"', 115}, // Ë
{'E', '`', 116}, // È
{'I', '\'', 117}, // Í
{'I', '^', 118}, // Î
{'I', '"', 119}, // Ï
{'I', '`', 120}, // Ì
{'O', '/', 128}, // 0/ XX
{'<', '<', 138}, // «
{'>', '>', 139}, // »
{'d', '-', 140}, // ð
{'y', '\'', 141}, // ý
{'i', 'p', 142}, // þ
{'+', '-', 143}, // ±
{'~', 'o', 144}, // °
{'a', '-', 154}, // ª
{'o', '-', 155}, // º
{'a', 'e', 156}, // æ
{',', ',', 157}, // , XX
{'A', 'E', 158}, // Æ
{'o', 'x', 159}, // ¤ - currency symbol in ISO 8859-1
{'e', '=', 159}, // ¤ - euro symbol in ISO 8859-15
{'E', 'u', 159}, // ¤ - euro symbol in ISO 8859-15
{'j', 'u', 160}, // µ
{'y', '"', 167}, // x XX
{'~', '!', 170}, // ¡
{'~', '?', 171}, // ¿
{'D', '-', 172}, // Ð
{'I', 'p', 174}, // Þ
{'r', 'O', 175}, // ®
{'-', ',', 176}, // ¬
{'$', '$', 177}, // £
{'Y', '-', 178}, // ¥
{'~', '.', 179}, // ·
{'c', 'O', 180}, // ©
{'p', 'a', 181}, // §
{'p', 'p', 182}, // ¶
{'1', '4', 183}, // ¼
{'1', '2', 184}, // ½
{'3', '4', 185}, // ¾
{'Y', '\'', 186}, // Ý
{'"', '"', 187}, // ¨
{'-', '=', 188}, // ¯
{'\'', '\'', 190}, // ´
{'O', 'E', 191}, // × - OE in ISO 8859-15
{'/', '\\', 191}, // × - multiplication symbol in ISO 8859-1
{'-', '-', 202}, // ­
{'o', '^', 203}, // ô
{'o', '"', 204}, // ö
{'o', '`', 205}, // ò
{'o', '\'', 206}, // ó
{'o', '~', 207}, // õ
{'1', '1', 218}, // ¹
{'u', '^', 219}, // û
{'u', '"', 220}, // ü
{'u', '`', 221}, // ù
{'u', '\'', 222}, // ú
{':', '-', 225}, // ÷ - division symbol in ISO 8859-1
{'o', 'e', 225}, // ÷ - oe in ISO 8859-15
{'2', '2', 234}, // ²
{'O', '^', 235}, // Ô
{'O', '"', 236}, // Ö
{'O', '`', 237}, // Ò
{'O', '\'', 238}, // Ó
{'O', '~', 239}, // Õ
{'3', '3', 250}, // ³
{'U', '^', 251}, // Û
{'U', '"', 252}, // Ü
{'U', '`', 253}, // Ù
{'U', '\'', 254}, // Ú
{NUL, NUL, NUL}
};
# else // EBCDIC
# ifdef OLD_DIGRAPHS
# ifdef OLD_DIGRAPHS
/*
* digraphs compatible with Vim 5.x
@@ -357,7 +245,7 @@ static digr_T digraphdefault[] =
{'y', '"', 255}, // x XX
{NUL, NUL, NUL}
};
# else // OLD_DIGRAPHS
# else // OLD_DIGRAPHS
/*
* digraphs for Unicode from RFC1345
@@ -1761,8 +1649,7 @@ static digr_T digraphdefault[] =
{NUL, NUL, NUL}
};
# endif // OLD_DIGRAPHS
# endif // EBCDIC
# endif // OLD_DIGRAPHS
#endif // !HPUX_DIGRAPHS
/*