1 /*
2  */
3 /*
4 WNN7 CLIENT LIBRARY--SOFTWARE LICENSE TERMS AND CONDITIONS
5 
6 
7 Wnn7 Client Library :
8 (C) Copyright OMRON Corporation.       1995,1998,2000,2001 all rights reserved.
9 (C) Copyright OMRON Software Co., Ltd. 1995,1998,2000,2001 all rights reserved.
10 
11 Wnn Software :
12 (C) Copyright Kyoto University Research Institute for Mathematical Sciences
13      1987, 1988, 1989, 1990, 1991, 1992, 1993
14 (C) Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1993
15 (C) Copyright ASCTEC, Inc.  1987, 1988, 1989, 1990, 1991, 1992, 1993
16 
17 Preamble
18 
19 These Wnn7 Client Library--Software License Terms and Conditions
20  (the "License Agreement") shall state the conditions under which you are
21  permitted to copy, distribute or modify the software which can be used
22  to create Wnn7 Client Library (the "Wnn7 Client Library").  The License
23  Agreement can be freely copied and distributed verbatim, however, you
24  shall NOT add, delete or change anything on the License Agreement.
25 
26 OMRON Corporation and OMRON Software Co., Ltd. (collectively referred to
27  as "OMRON") jointly developed the Wnn7 Software (development code name
28  is FI-Wnn), based on the Wnn Software.  Starting from November, 1st, 1998,
29  OMRON publishes the source code of the Wnn7 Client Library, and OMRON
30  permits anyone to copy, distribute or change the Wnn7 Client Library under
31  the License Agreement.
32 
33 Wnn7 Client Library is based on the original version of Wnn developed by
34  Kyoto University Research Institute for Mathematical Sciences (KURIMS),
35  OMRON Corporation and ASTEC Inc.
36 
37 Article 1.  Definition.
38 
39 "Source Code" means the embodiment of the computer code, readable and
40  understandable by a programmer of ordinary skills.  It includes related
41  source code level system documentation, comments and procedural code.
42 
43 "Object File" means a file, in substantially binary form, which is directly
44  executable by a computer after linking applicable files.
45 
46 "Library" means a file, composed of several Object Files, which is directly
47  executable by a computer after linking applicable files.
48 
49 "Software" means a set of Source Code including information on its use.
50 
51 "Wnn7 Client Library" the computer program, originally supplied by OMRON,
52  which can be used to create Wnn7 Client Library.
53 
54 "Executable Module" means a file, created after linking Object Files or
55  Library, which is directly executable by a computer.
56 
57 "User" means anyone who uses the Wnn7 Client Library under the License
58  Agreement.
59 
60 Article 2.  Copyright
61 
62 2.1  OMRON Corporation and OMRON Software Co., Ltd. jointly own the Wnn7
63  Client Library, including, without limitation, its copyright.
64 
65 2.2  Following words followed by the above copyright notices appear
66  in all supporting documentation of software based on Wnn7 Client Library:
67 
68   This software is based on the original version of Wnn7 Client Library
69   developed by OMRON Corporation and OMRON Software Co., Ltd. and also based on
70   the original version of Wnn developed by Kyoto University Research Institute
71   for Mathematical Sciences (KURIMS), OMRON Corporation and ASTEC Inc.
72 
73 Article 3.  Grant
74 
75 3.1  A User is permitted to make and distribute verbatim copies of
76  the Wnn7 Client Library, including verbatim of copies of the License
77  Agreement, under the License Agreement.
78 
79 3.2  A User is permitted to modify the Wnn7 Client Library to create
80  Software ("Modified Software") under the License Agreement.  A User
81  is also permitted to make or distribute copies of Modified Software,
82  including verbatim copies of the License Agreement with the following
83  information.  Upon modifying the Wnn7 Client Library, a User MUST insert
84  comments--stating the name of the User, the reason for the modifications,
85  the date of the modifications, additional terms and conditions on the
86  part of the modifications if there is any, and potential risks of using
87  the Modified Software if they are known--right after the end of the
88  License Agreement (or the last comment, if comments are inserted already).
89 
90 3.3  A User is permitted to create Library or Executable Modules by
91  modifying the Wnn7 Client Library in whole or in part under the License
92  Agreement.  A User is also permitted to make or distribute copies of
93  Library or Executable Modules with verbatim copies of the License
94  Agreement under the License Agreement.  Upon modifying the Wnn7 Client
95  Library for creating Library or Executable Modules, except for porting
96  a computer, a User MUST add a text file to a package of the Wnn7 Client
97  Library, providing information on the name of the User, the reason for
98  the modifications, the date of the modifications, additional terms and
99  conditions on the part of the modifications if there is any, and potential
100  risks associated with using the modified Wnn7 Client Library, Library or
101  Executable Modules if they are known.
102 
103 3.4  A User is permitted to incorporate the Wnn7 Client Library in whole
104  or in part into another Software, although its license terms and
105  conditions may be different from the License Agreement, if such
106  incorporation or use associated with the incorporation does NOT violate
107  the License Agreement.
108 
109 Article 4. Warranty
110 
111 THE WNN7 CLIENT LIBRARY IS PROVIDED BY OMRON ON AN "AS IS" BAISIS.
112   OMRON EXPRESSLY DISLCIAMS ANY AND ALL WRRANTIES, EXPRESS OR IMPLIED,
113  INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY AND FITNESS
114  FOR A PARTICULAR PURPOSE, IN CONNECTION WITH THE WNN7 CLIENT LIBRARY
115  OR THE USE OR OTHER DEALING IN THE WNN7 CLIENT LIBRARY.  IN NO EVENT
116  SHALL OMRON BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE
117  OR CONSEQUENTIAL DAMAGES OF ANY KIND WHATSOEVER IN CONNECTION WITH THE
118  WNN7 CLIENT LIBRARY OR THE USE OR OTHER DEALING IN THE WNN7 CLIENT
119 LIBRARY.
120 
121 ***************************************************************************
122 Wnn7 Client Library :
123 (C) Copyright OMRON Corporation.       1995,1998,2000,2001 all rights reserved.
124 (C) Copyright OMRON Software Co., Ltd. 1995,1998,2000,2001 all rights reserved.
125 
126 Wnn Software :
127 (C) Copyright Kyoto University Research Institute for Mathematical Sciences
128      1987, 1988, 1989, 1990, 1991, 1992, 1993
129 (C) Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1993
130 (C) Copyright ASCTEC, Inc.  1987, 1988, 1989, 1990, 1991, 1992, 1993
131 ***************************************************************************
132 
133 Comments on Modifications:
134 */
135 
136 /*	Version 4.0
137  */
138 #ifndef _CONFIG_H_
139 #define _CONFIG_H_
140 
141 #define WNN_USERNAME_ENV	"WNNUSER"
142 #define WNN_JSERVER_ENV		"JSERVER"
143 #define WNN_J_LANG		"ja_JP"
144 #define WNN_DEFAULT_LANG	WNN_J_LANG
145 #define WNN_DEF_SERVER_ENV	WNN_JSERVER_ENV
146 
147 #define PATHNAMELEN	256
148 
149 /* for jserver */
150 #ifndef	SERVER_INIT_FILE
151 #  define SERVER_INIT_FILE	"/ja_JP/jserverrc"
152 #endif
153 #define JSERVER_DIR		"/var/lib/wnn7/dic"
154 #define WNN_ACCESS_FILE		"wnnhosts"
155 
156 /* for uum */
157 #define RCFILE			"/uumrc"	/* LIBDIR/@LANG/RCFILE */
158 #define USR_UUMRC		"/.uumrc"
159 #define RKFILE			"/rk/mode"	/* LIBDIR/@LANG/RKFILE */
160 #define CPFILE			"/uumkey"	/* LIBDIR/@LANG/CPFILE */
161 #define MESSAGEFILE		"/message_file"
162 
163 
164 #define RKFILE_ATOK8		"/rk/mode.atok8"
165 #define CPFILE_ATOK8		"/uumkey.atok8"
166 #define RKFILE_EGBRIDGE		"/rk/mode.egbridge"
167 #define CPFILE_EGBRIDGE		"/uumkey.egbridge"
168 #if 0
169 #define RKFILE_WNN6		"/rk/mode.eitango"
170 #define CPFILE_WNN6		"/uumkey.wnn6"
171 #endif /* 0 */
172 #define RKFILE_WNN7		"/rk/mode.wnn7"
173 #define CPFILE_WNN7		"/uumkey.wnn7"
174 #define RKFILE_VJEDELTA		"/rk/mode.vjedelta"
175 #define CPFILE_VJEDELTA		"/uumkey.vjedelta"
176 #define RKFILE_MSIME		"/rk/mode.msime"
177 #define CPFILE_MSIME		"/uumkey.msime"
178 #define RKFILE_EGG		"/rk/mode.egg"
179 #define CPFILE_EGG		"/uumkey.egg"
180 /* ���޻��������롡JIS����ɲ� */
181 #define RKFILE_JIS		"/rk/mode.jis"
182 
183 #define ENVRCFILE		"/wnnenvrc"
184 #ifndef	HINSIDATA_FILE
185 # define HINSIDATA_FILE		"/ja_JP/hinsi.data"
186 #endif	/* HINSIDATA_FILE */
187 
188 #define USR_DIC_DIR_VAR "@USR"
189 
190 #define FIWNN_DIR "/.Wnn7"	/* Path under the home directory of user */
191 #define DEFAULT_RC_NAME "@DEFAULT"
192 
193 #define MANPATHNAME	"/man"	/* Manual & Onlinehelp file PATH */
194 #define MSGPATHNAME	"/msg"	/* Message file PATH */
195 
196 #define C_LOCAL '!'
197 /* For Local File Name.
198    Local File Name is send as "Hostname!Filename" when C_LOCAL is '!'.
199    It is also used in jl_library to specify local file-name, that is,
200    file-names which start with this character are considered to be local.
201    */
202 
203 
204 /*
205   define default kanji code system for your 'tty' side.
206   'tty' side (TTY_KCODE) means 'your terminal's code'.
207  */
208 #define TTY_KCODE J_EUJIS
209 
210 #define	WNN_TIMEOUT	5	/* connect �κݤˣ����Ԥ� */
211 
212 #endif /* _CONFIG_H_ */
213