blob: 60d309b7f4dbd8f857a48612c23b6ba24c21226e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/* $Id: terms.h,v 1.3 2001/11/20 17:49:23 ukai Exp $ */
#ifndef TERMS_H
#define TERMS_H
extern int LINES, COLS;
#define CODE_ASCII '\0'
#define CODE_EUC 'E'
#define CODE_SJIS 'S'
#define CODE_JIS_n 'n'
#define CODE_JIS_m 'm'
#define CODE_JIS_N 'N'
#define CODE_JIS_j 'j'
#define CODE_JIS_J 'J'
#define CODE_INNER_EUC 'I'
#define STR_ASCII "US_ASCII"
#define STR_EUC "EUC-JP"
#define STR_SJIS "Shift_JIS"
#define STR_JIS_n "ISO-2022-JP (JIS X 0208 + US_ASCII)"
#define STR_JIS_m "ISO-2022-JP (JIS C 6226 + US_ASCII)"
#define STR_JIS_N "ISO-2022-JP (JIS X 0208 + JIS X 0201)"
#define STR_JIS_j "ISO-2022-JP (JIS C 6226 + JIS X 0201)"
#define STR_JIS_J "ISO-2022-JP (JIS C 6226 + '\033(H')"
#define STR_INNER_EUC "EUC-JP (internal)"
#define CODE_JIS(x) ((x)==CODE_JIS_n||(x)==CODE_JIS_m||(x)==CODE_JIS_N||(x)==CODE_JIS_j||(x)==CODE_JIS_J)
#endif /* not TERMS_H */
|