1 /* 2 * $Id: rk_header.h,v 1.2 2001/06/14 18:16:09 ura Exp $ 3 */ 4 5 /* 6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system. 7 * This file is part of FreeWnn. 8 * 9 * Copyright Kyoto University Research Institute for Mathematical Sciences 10 * 1987, 1988, 1989, 1990, 1991, 1992 11 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 12 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 13 * 14 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp> 15 * 16 * This program is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by 18 * the Free Software Foundation; either version 2, or (at your option) 19 * any later version. 20 * 21 * This program is distributed in the hope that it will be useful, 22 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 * GNU General Public License for more details. 25 * 26 * You should have received a copy of the GNU General Public License 27 * along with GNU Emacs; see the file COPYING. If not, write to the 28 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29 * 30 * Commentary: 31 * 32 * Change log: 33 * 34 * Last modified date: 8,Feb.1999 35 * 36 * Code: 37 * 38 */ 39 /*********************************************************************** 40 rk_header.h 41 87.11.17 �� �� 42 43 rk_main.c rk_read.c rk_modread.c rk_bltinfn.c�ζ��̥إå��� 44 ��Ǽ�äƤ���������礭���ʤɤ������ 45 ***********************************************************************/ 46 /* Version 3.1 88/06/14 H.HASHIMOTO 47 */ 48 /* make����ɬ�פ�define 49 50 BSD42 BSD�ˤ�strings.h����ѡ�string.h��Ȥ��������ס� 51 SYSVR2 System V�ˤ����������¤��줿toupper��tolower����� 52 �ʤʤ��Ƥ�ư���� 53 MVUX ECLIPSE MV�Ǥα�ž����define IKIS����ưdefine����� 54 55 RKMODPATH="ʸ����" 56 ����ʸ�����⡼�����ɽ�Υ������ѥ��δĶ��ѿ��� 57 ̾���ˤ��� 58 WNNDEFAULT ��@LIBDIR�פ�ɸ������ɽ�Τ���ǥ��쥯�ȥ��ɽ���� 59 �褦�ˤ��� 60 IKIS Ⱦ�Ѳ�̾�Σ��Х����ܤ�0xA8�ʥǥե���Ȥ�0x8E�ˤˤ��� 61 62 ����¾ �ǥХå�����ɬ�פ˱����� KDSP��CHMDSP��define 63 */ 64 65 #ifdef MVUX 66 # define IKIS 67 #endif 68 69 #include <stdio.h> 70 #include <X11/Xos.h> 71 #include "rk_macros.h" 72 73 #define fast register /* V3.1 */ 74 75 #define ESCCHR '\033' 76 #define BASEMX (26 + 10) 77 78 #define LINSIZ 512 /* �б�ɽ�ΰ�Ԥκ��祵���� */ /* V3.1 1000 --> 512 */ 79 #define TRMSIZ 256 /* �б�ɽ�ΰ���ܤκ��祵������ 80 �⡼��̾�κ�Ĺ�Ȥ��Ƥ�ȤäƤ� */ /* V3.1 500 --> 256 */ 81 #define KBFSIZ 100 /* �ܽ����Хåե��Υ����� */ /* V3.1 100 --> 128 */ 82 #ifdef KDSP 83 #define DSPLIN 256 /* �ǥХå��� */ 84 #endif 85 #define OUTSIZ 200 /* ���ϥХåե��Υ����� */ /* V3.1 200 --> 256 */ 86 #define RSLMAX 10 /* �ؿ����ͤȤ����֤�ʸ����κ�Ĺ */ 87 88 /* rk_modread.c�ǻȤ�define */ 89 90 #define REALFN 256 /* ɽ�Υե�͡���κ���Ĺ */ /* V3.1 200 --> 256 */ 91 92 #define MDT1LN 256 /* �⡼������ꥹ��1�Ĥκ���Ĺ */ /* V3.1 200 -->256 */ 93 94 #define ARGMAX 2 /* ���Ƚ�Ǵؿ��ΰ����κ���Ŀ� */ 95 96 /* �ǥ��쥯�ȥ�̾�ζ��ڤ��define��UNIX�ѡˡ�UNIX�ʳ��δĶ��ǻȤ��ˤ� 97 ����ȡ�fixednamep()���ѹ���ɬ�פ������readmode()��getenv�ط��������ˡ� */ 98 #define KUGIRI '/' 99 100 /* 88/06/07 V3.1 */ 101 #define RK_DEFMODE_MAX_DEF 16 /* */ 102 #define RK_DEFMODE_MAX_LOT 16 /* */ 103 #define RK_DEFMODE_MEM_DEF 128 /* */ 104 #define RK_DEFMODE_MEM_LOT 128 /* */ 105 106 #define RK_DSPMODE_MAX_DEF 16 /* */ 107 #define RK_DSPMODE_MAX_LOT 16 /* */ 108 #define RK_DSPMODE_MEM_DEF 128 /* */ 109 #define RK_DSPMODE_MEM_LOT 128 /* */ 110 111 #define RK_PATH_MAX_DEF 16 /* */ 112 #define RK_PATH_MAX_LOT 16 /* */ 113 #define RK_PATH_MEM_DEF 256 /* */ 114 #define RK_PATH_MEM_LOT 256 /* */ 115 116 #define RK_TAIOUHYO_MAX_DEF 16 /* */ 117 #define RK_TAIOUHYO_MAX_LOT 16 /* */ 118 #define RK_TAIOUHYO_MEM_DEF 128 /* */ 119 #define RK_TAIOUHYO_MEM_LOT 128 /* */ 120 121 #define RK_HENSUU_MAX_DEF 32 /* */ 122 #define RK_HENSUU_MAX_LOT 32 /* */ 123 #define RK_HENSUU_MEM_DEF 256 /* */ 124 #define RK_HENSUU_MEM_LOT 256 /* */ 125 #define RK_HENSUUDEF_MAX_DEF 64 /* */ 126 #define RK_HENSUUDEF_MAX_LOT 64 /* */ 127 128 #define RK_HYO_SIZE_DEF 4096 /* */ 129 130 /* ���顼������ */ 131 #ifndef _WNN_SETJMP 132 # define _WNN_SETJMP 133 #include <setjmp.h> 134 #endif /* _WNN_SETJMP */ 135