diff options
Diffstat (limited to 'atables.c')
-rw-r--r-- | atables.c | 396 |
1 files changed, 396 insertions, 0 deletions
diff --git a/atables.c b/atables.c new file mode 100644 index 0000000..fd086b4 --- /dev/null +++ b/atables.c @@ -0,0 +1,396 @@ +/* ATASCII to UTF-8 tables. Generated by mkatables.pl. + Do not edit this file; edit mkatables.pl instead. */ + +const char *ata2utf[] = { + "♥", /* 0 $00 ^@ */ + "┣", /* 1 $01 ^A */ + "┃", /* 2 $02 ^B */ + "┛", /* 3 $03 ^C */ + "┫", /* 4 $04 ^D */ + "┓", /* 5 $05 ^E */ + "╱", /* 6 $06 ^F */ + "╲", /* 7 $07 ^G */ + "◢", /* 8 $08 ^H */ + "▗", /* 9 $09 ^I */ + "◣", /* 10 $0a ^J */ + "▝", /* 11 $0b ^K */ + "▘", /* 12 $0c ^L */ + "▔", /* 13 $0d ^M */ + "▁", /* 14 $0e ^N */ + "▖", /* 15 $0f ^O */ + "♣", /* 16 $10 ^P */ + "┏", /* 17 $11 ^Q */ + "━", /* 18 $12 ^R */ + "╋", /* 19 $13 ^S */ + "●", /* 20 $14 ^T */ + "▄", /* 21 $15 ^U */ + "▎", /* 22 $16 ^V */ + "┳", /* 23 $17 ^W */ + "┻", /* 24 $18 ^X */ + "▌", /* 25 $19 ^Y */ + "┗", /* 26 $1a ^Z */ + "Ę", /* 27 $1b ^[ */ + "↑", /* 28 $1c ^\ */ + "↓", /* 29 $1d ^] */ + "←", /* 30 $1e ^^ */ + "→", /* 31 $1f ^_ */ + " ", /* 32 $20 */ + "!", /* 33 $21 ! */ + "\"", /* 34 $22 " */ + "#", /* 35 $23 # */ + "$", /* 36 $24 $ */ + "%", /* 37 $25 % */ + "&", /* 38 $26 & */ + "'", /* 39 $27 ' */ + "(", /* 40 $28 ( */ + ")", /* 41 $29 ) */ + "*", /* 42 $2a * */ + "+", /* 43 $2b + */ + ",", /* 44 $2c , */ + "-", /* 45 $2d - */ + ".", /* 46 $2e . */ + "/", /* 47 $2f / */ + "0", /* 48 $30 0 */ + "1", /* 49 $31 1 */ + "2", /* 50 $32 2 */ + "3", /* 51 $33 3 */ + "4", /* 52 $34 4 */ + "5", /* 53 $35 5 */ + "6", /* 54 $36 6 */ + "7", /* 55 $37 7 */ + "8", /* 56 $38 8 */ + "9", /* 57 $39 9 */ + ":", /* 58 $3a : */ + ";", /* 59 $3b ; */ + "<", /* 60 $3c < */ + "=", /* 61 $3d = */ + ">", /* 62 $3e > */ + "?", /* 63 $3f ? */ + "@", /* 64 $40 @ */ + "A", /* 65 $41 A */ + "B", /* 66 $42 B */ + "C", /* 67 $43 C */ + "D", /* 68 $44 D */ + "E", /* 69 $45 E */ + "F", /* 70 $46 F */ + "G", /* 71 $47 G */ + "H", /* 72 $48 H */ + "I", /* 73 $49 I */ + "J", /* 74 $4a J */ + "K", /* 75 $4b K */ + "L", /* 76 $4c L */ + "M", /* 77 $4d M */ + "N", /* 78 $4e N */ + "O", /* 79 $4f O */ + "P", /* 80 $50 P */ + "Q", /* 81 $51 Q */ + "R", /* 82 $52 R */ + "S", /* 83 $53 S */ + "T", /* 84 $54 T */ + "U", /* 85 $55 U */ + "V", /* 86 $56 V */ + "W", /* 87 $57 W */ + "X", /* 88 $58 X */ + "Y", /* 89 $59 Y */ + "Z", /* 90 $5a Z */ + "[", /* 91 $5b [ */ + "\\", /* 92 $5c \ */ + "]", /* 93 $5d ] */ + "^", /* 94 $5e ^ */ + "_", /* 95 $5f _ */ + "◆", /* 96 $60 ` */ + "a", /* 97 $61 a */ + "b", /* 98 $62 b */ + "c", /* 99 $63 c */ + "d", /* 100 $64 d */ + "e", /* 101 $65 e */ + "f", /* 102 $66 f */ + "g", /* 103 $67 g */ + "h", /* 104 $68 h */ + "i", /* 105 $69 i */ + "j", /* 106 $6a j */ + "k", /* 107 $6b k */ + "l", /* 108 $6c l */ + "m", /* 109 $6d m */ + "n", /* 110 $6e n */ + "o", /* 111 $6f o */ + "p", /* 112 $70 p */ + "q", /* 113 $71 q */ + "r", /* 114 $72 r */ + "s", /* 115 $73 s */ + "t", /* 116 $74 t */ + "u", /* 117 $75 u */ + "v", /* 118 $76 v */ + "w", /* 119 $77 w */ + "x", /* 120 $78 x */ + "y", /* 121 $79 y */ + "z", /* 122 $7a z */ + "♠", /* 123 $7b { */ + "|", /* 124 $7c | */ + "↰", /* 125 $7d } */ + "◀", /* 126 $7e ~ */ + "▶", /* 127 $7f [del] */ +}; + +const char *ics2utf[] = { + "á", /* 0 $00 ^@ */ + "ù", /* 1 $01 ^A */ + "Ñ", /* 2 $02 ^B */ + "É", /* 3 $03 ^C */ + "ç", /* 4 $04 ^D */ + "ô", /* 5 $05 ^E */ + "ò", /* 6 $06 ^F */ + "ì", /* 7 $07 ^G */ + "£", /* 8 $08 ^H */ + "ï", /* 9 $09 ^I */ + "ü", /* 10 $0a ^J */ + "ä", /* 11 $0b ^K */ + "Ö", /* 12 $0c ^L */ + "ú", /* 13 $0d ^M */ + "ó", /* 14 $0e ^N */ + "ö", /* 15 $0f ^O */ + "Ü", /* 16 $10 ^P */ + "â", /* 17 $11 ^Q */ + "û", /* 18 $12 ^R */ + "î", /* 19 $13 ^S */ + "é", /* 20 $14 ^T */ + "è", /* 21 $15 ^U */ + "ñ", /* 22 $16 ^V */ + "ê", /* 23 $17 ^W */ + "ȧ", /* 24 $18 ^X */ + "à", /* 25 $19 ^Y */ + "Ȧ", /* 26 $1a ^Z */ + "Ę", /* 27 $1b ^[ */ + "↑", /* 28 $1c ^\ */ + "↓", /* 29 $1d ^] */ + "←", /* 30 $1e ^^ */ + "→", /* 31 $1f ^_ */ + " ", /* 32 $20 */ + "!", /* 33 $21 ! */ + "\"", /* 34 $22 " */ + "#", /* 35 $23 # */ + "$", /* 36 $24 $ */ + "%", /* 37 $25 % */ + "&", /* 38 $26 & */ + "'", /* 39 $27 ' */ + "(", /* 40 $28 ( */ + ")", /* 41 $29 ) */ + "*", /* 42 $2a * */ + "+", /* 43 $2b + */ + ",", /* 44 $2c , */ + "-", /* 45 $2d - */ + ".", /* 46 $2e . */ + "/", /* 47 $2f / */ + "0", /* 48 $30 0 */ + "1", /* 49 $31 1 */ + "2", /* 50 $32 2 */ + "3", /* 51 $33 3 */ + "4", /* 52 $34 4 */ + "5", /* 53 $35 5 */ + "6", /* 54 $36 6 */ + "7", /* 55 $37 7 */ + "8", /* 56 $38 8 */ + "9", /* 57 $39 9 */ + ":", /* 58 $3a : */ + ";", /* 59 $3b ; */ + "<", /* 60 $3c < */ + "=", /* 61 $3d = */ + ">", /* 62 $3e > */ + "?", /* 63 $3f ? */ + "@", /* 64 $40 @ */ + "A", /* 65 $41 A */ + "B", /* 66 $42 B */ + "C", /* 67 $43 C */ + "D", /* 68 $44 D */ + "E", /* 69 $45 E */ + "F", /* 70 $46 F */ + "G", /* 71 $47 G */ + "H", /* 72 $48 H */ + "I", /* 73 $49 I */ + "J", /* 74 $4a J */ + "K", /* 75 $4b K */ + "L", /* 76 $4c L */ + "M", /* 77 $4d M */ + "N", /* 78 $4e N */ + "O", /* 79 $4f O */ + "P", /* 80 $50 P */ + "Q", /* 81 $51 Q */ + "R", /* 82 $52 R */ + "S", /* 83 $53 S */ + "T", /* 84 $54 T */ + "U", /* 85 $55 U */ + "V", /* 86 $56 V */ + "W", /* 87 $57 W */ + "X", /* 88 $58 X */ + "Y", /* 89 $59 Y */ + "Z", /* 90 $5a Z */ + "[", /* 91 $5b [ */ + "\\", /* 92 $5c \ */ + "]", /* 93 $5d ] */ + "^", /* 94 $5e ^ */ + "_", /* 95 $5f _ */ + "¡", /* 96 $60 ` */ + "a", /* 97 $61 a */ + "b", /* 98 $62 b */ + "c", /* 99 $63 c */ + "d", /* 100 $64 d */ + "e", /* 101 $65 e */ + "f", /* 102 $66 f */ + "g", /* 103 $67 g */ + "h", /* 104 $68 h */ + "i", /* 105 $69 i */ + "j", /* 106 $6a j */ + "k", /* 107 $6b k */ + "l", /* 108 $6c l */ + "m", /* 109 $6d m */ + "n", /* 110 $6e n */ + "o", /* 111 $6f o */ + "p", /* 112 $70 p */ + "q", /* 113 $71 q */ + "r", /* 114 $72 r */ + "s", /* 115 $73 s */ + "t", /* 116 $74 t */ + "u", /* 117 $75 u */ + "v", /* 118 $76 v */ + "w", /* 119 $77 w */ + "x", /* 120 $78 x */ + "y", /* 121 $79 y */ + "z", /* 122 $7a z */ + "Ä", /* 123 $7b { */ + "|", /* 124 $7c | */ + "↰", /* 125 $7d } */ + "◀", /* 126 $7e ~ */ + "▶", /* 127 $7f [del] */ +}; + +const char *ata2mag[] = { + "{ctrl-,}", /* 0 $00 ^@ */ + "{ctrl-A}", /* 1 $01 ^A */ + "{ctrl-B}", /* 2 $02 ^B */ + "{ctrl-C}", /* 3 $03 ^C */ + "{ctrl-D}", /* 4 $04 ^D */ + "{ctrl-E}", /* 5 $05 ^E */ + "{ctrl-F}", /* 6 $06 ^F */ + "{ctrl-G}", /* 7 $07 ^G */ + "{ctrl-H}", /* 8 $08 ^H */ + "{ctrl-I}", /* 9 $09 ^I */ + "{ctrl-J}", /* 10 $0a ^J */ + "{ctrl-K}", /* 11 $0b ^K */ + "{ctrl-L}", /* 12 $0c ^L */ + "{ctrl-M}", /* 13 $0d ^M */ + "{ctrl-N}", /* 14 $0e ^N */ + "{ctrl-O}", /* 15 $0f ^O */ + "{ctrl-P}", /* 16 $10 ^P */ + "{ctrl-Q}", /* 17 $11 ^Q */ + "{ctrl-R}", /* 18 $12 ^R */ + "{ctrl-S}", /* 19 $13 ^S */ + "{ctrl-T}", /* 20 $14 ^T */ + "{ctrl-U}", /* 21 $15 ^U */ + "{ctrl-V}", /* 22 $16 ^V */ + "{ctrl-W}", /* 23 $17 ^W */ + "{ctrl-X}", /* 24 $18 ^X */ + "{ctrl-Y}", /* 25 $19 ^Y */ + "{ctrl-Z}", /* 26 $1a ^Z */ + "{esc}", /* 27 $1b ^[ */ + "{up}", /* 28 $1c ^\ */ + "{down}", /* 29 $1d ^] */ + "{left}", /* 30 $1e ^^ */ + "{right}", /* 31 $1f ^_ */ + " ", /* 32 $20 */ + "!", /* 33 $21 ! */ + "\"", /* 34 $22 " */ + "#", /* 35 $23 # */ + "$", /* 36 $24 $ */ + "%", /* 37 $25 % */ + "&", /* 38 $26 & */ + "'", /* 39 $27 ' */ + "(", /* 40 $28 ( */ + ")", /* 41 $29 ) */ + "*", /* 42 $2a * */ + "+", /* 43 $2b + */ + ",", /* 44 $2c , */ + "-", /* 45 $2d - */ + ".", /* 46 $2e . */ + "/", /* 47 $2f / */ + "0", /* 48 $30 0 */ + "1", /* 49 $31 1 */ + "2", /* 50 $32 2 */ + "3", /* 51 $33 3 */ + "4", /* 52 $34 4 */ + "5", /* 53 $35 5 */ + "6", /* 54 $36 6 */ + "7", /* 55 $37 7 */ + "8", /* 56 $38 8 */ + "9", /* 57 $39 9 */ + ":", /* 58 $3a : */ + ";", /* 59 $3b ; */ + "<", /* 60 $3c < */ + "=", /* 61 $3d = */ + ">", /* 62 $3e > */ + "?", /* 63 $3f ? */ + "@", /* 64 $40 @ */ + "A", /* 65 $41 A */ + "B", /* 66 $42 B */ + "C", /* 67 $43 C */ + "D", /* 68 $44 D */ + "E", /* 69 $45 E */ + "F", /* 70 $46 F */ + "G", /* 71 $47 G */ + "H", /* 72 $48 H */ + "I", /* 73 $49 I */ + "J", /* 74 $4a J */ + "K", /* 75 $4b K */ + "L", /* 76 $4c L */ + "M", /* 77 $4d M */ + "N", /* 78 $4e N */ + "O", /* 79 $4f O */ + "P", /* 80 $50 P */ + "Q", /* 81 $51 Q */ + "R", /* 82 $52 R */ + "S", /* 83 $53 S */ + "T", /* 84 $54 T */ + "U", /* 85 $55 U */ + "V", /* 86 $56 V */ + "W", /* 87 $57 W */ + "X", /* 88 $58 X */ + "Y", /* 89 $59 Y */ + "Z", /* 90 $5a Z */ + "[", /* 91 $5b [ */ + "\\", /* 92 $5c \ */ + "]", /* 93 $5d ] */ + "^", /* 94 $5e ^ */ + "_", /* 95 $5f _ */ + "{ctrl-.}", /* 96 $60 ` */ + "a", /* 97 $61 a */ + "b", /* 98 $62 b */ + "c", /* 99 $63 c */ + "d", /* 100 $64 d */ + "e", /* 101 $65 e */ + "f", /* 102 $66 f */ + "g", /* 103 $67 g */ + "h", /* 104 $68 h */ + "i", /* 105 $69 i */ + "j", /* 106 $6a j */ + "k", /* 107 $6b k */ + "l", /* 108 $6c l */ + "m", /* 109 $6d m */ + "n", /* 110 $6e n */ + "o", /* 111 $6f o */ + "p", /* 112 $70 p */ + "q", /* 113 $71 q */ + "r", /* 114 $72 r */ + "s", /* 115 $73 s */ + "t", /* 116 $74 t */ + "u", /* 117 $75 u */ + "v", /* 118 $76 v */ + "w", /* 119 $77 w */ + "x", /* 120 $78 x */ + "y", /* 121 $79 y */ + "z", /* 122 $7a z */ + "{ctrl-;}", /* 123 $7b { */ + "|", /* 124 $7c | */ + "{clear}", /* 125 $7d } */ + "{bksp}", /* 126 $7e ~ */ + "{tab}", /* 127 $7f [del] */ +}; + |