File: kinit.h

package info (click to toggle)
ng 1.5~beta1-13
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,160 kB
  • sloc: ansic: 44,018; asm: 3,150; sh: 2,539; cpp: 1,234; makefile: 578
file content (77 lines) | stat: -rw-r--r-- 2,497 bytes parent folder | download | duplicates (4)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* $Id: kinit.h,v 1.3 2001/01/20 15:49:36 amura Exp $ */
/*
 *	Initial KANJI code setting. (Like site-init.el in Nemacs)
 *
 *		Coded by Shigeki Yoshida (shige@csk.CO.JP)
 */

/*
 * $Log: kinit.h,v $
 * Revision 1.3  2001/01/20 15:49:36  amura
 * move TOUFU charactor to kinit.h
 *
 * Revision 1.2  2000/09/21 17:28:30  amura
 * replace macro _WIN32 to WIN32 for Cygwin
 *
 * Revision 1.1.1.1  2000/06/27 01:47:56  amura
 * import to CVS
 *
 */
/* 90.01.29	Created by S.Yoshida */

/*	NOCONV	No KANJI code conversion.	*/
/*	SJIS	KANJI code is Shift-JIS.	*/
/*	JIS	KANJI code is JIS.		*/
/*	EUC	KANJI code is EUC.		*/
/*	UTF8	KANJI code is UTF8.		*/
/*	NIL	Not decided.			*/
/*	T	Guess.				*/
#ifdef	MSDOS	/* 90.02.11  by S.Yoshida */
#define	KFIO		SJIS		/* default-kanji-fileio-code	*/
#define	KEXPECT		T		/* kanji-expected-code		*/
#define	KINPUT		SJIS		/* kanji-input-code		*/
#define	KDISPLAY	SJIS		/* kanji-display-code		*/
#else	/* NOT MSDOS */
#ifdef	HUMAN68K	/* 90.11.09    Sawayanagi Yosirou */
#define	KFIO		SJIS		/* default-kanji-fileio-code	*/
#define	KEXPECT		T		/* kanji-expected-code		*/
#define	KINPUT		SJIS		/* kanji-input-code		*/
#define	KDISPLAY	SJIS		/* kanji-display-code		*/
#else	/* NOT HUMAN68K */
#ifdef	WIN32
#define	KFIO		SJIS	/* default-kanji-fileio-code	*/
#define	KEXPECT		T		/* kanji-expected-code		*/
#define	KINPUT		SJIS	/* kanji-input-code		*/
#define	KDISPLAY	SJIS	/* kanji-display-code		*/
#else	/* WIN32 */
#define	KFIO		UTF8		/* default-kanji-fileio-code	*/
#define	KEXPECT		T		/* kanji-expected-code		*/
#define	KINPUT		UTF8		/* kanji-input-code		*/
#define	KDISPLAY	UTF8		/* kanji-display-code		*/
#endif	/* WIN32 */
#endif	/* HUMAN68K */
#endif	/* MSDOS */

/*	'@'	Select JIS-78 [ESC-$-@].	*/
/*	'B'	Select JIS-83 [ESC-$-B].	*/
#define	TO_KFIO		'B'		/* to-kanji-fileio		*/
#define	TO_KDISPLAY	'B'		/* to-kanji-display		*/

/*	'B'	Select ASCII		     [ESC-(-B].	*/
/*	'J'	Select JIS-ROMAJI	     [ESC-(-J].	*/
/*	'H'	Illegal selection, but used. [ESC-(-H].	*/
#define	TO_AFIO		'B'		/* to-ascii-fileio		*/
#define	TO_ADISPLAY	'B'		/* to-ascii-display		*/

#ifdef  HANKANA  /* 92.11.21  by S.Sasaki */
/*	'7'	Use SI/SO for KATAKANA	     [SI / SO]	*/
/*	'8'	Through KATAKANA code	     Through.	*/
/*	'I'	Select JIS-KATAKANA	     [ESC-(-I].	*/
#define TO_KANAFIO	'7'		/* to-kana-fileio		*/
#define TO_KANADISPLAY	'7'		/* to-kana-display		*/
#endif  /* HANKANA */

#ifdef HOJO_KANJI
#define TOUFU1ST	(0x22|0x80)	/* EUC igeta */
#define TOUFU2ND	(0x2E|0x80)
#endif