-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
87 lines (81 loc) · 2.95 KB
/
config.h
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
78
79
80
81
82
83
84
85
86
87
/*
* ari -- Japanese fat ae with mock SKK
* Copyright (C) 1991 Yuji Nimura (nimura@isl.melco.co.jp)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*----------------------------------------------------------------------------*
* config.h -- configration file for ari editor
* NOTICE: machine dependet configration is defined in makefile
*
* version 1.00, 04.12.1992
*/
/*
*----------------------------------------------------------------------------*
* value
*/
#define MODE 0666 /* mode at creating file to write */
#define BUF 16383 /* maximum text size; *
* BUF < (maximum postive value of int)/2 */
/*
*----------------------------------------------------------------------------*
* flag
*/
#define H_KANA /* assert -- support roman-kana and hankaku-kana *
* negate -- only roman-kana */
#define UPDATE_DIC /* assert when enable to enter new entries *
* and update local jisyo */
/*
* NOTICE:
* When you make merged ari on the systems such as MINIX for IBM/PC, on which
* data + stack < 64KB, you should define SMALL_POOL and reduce FRAME_POOL
* size to save internal work area.
* However you need not change the following if SMALL_REG is defined in
* makefile; when SMALL_REG, UPDATE_DIC and MERGE are defined, it is
* automatically done to define SMALL_POOL and reduce FRAME_POOL size.
*/
#undef SMALL_POOL /* assert to save work area when not enough memory; *
* it is not available to resort word order in each *
* entries of local jisyo when SMALL_POOL is asserted.*/
#define FRAME_POOL 16000 /* size of internal work area */
/*
*----------------------------------------------------------------------------*
* the following is reguration to define SMALL_POOL and to adjust
* FRAME_POOL size -- don't change
*
*/
#ifdef UPDATE_DIC
# ifdef SMALL_REG
# ifdef MERGE
# ifdef FRAME_POOL
# if FRAME_POOL > 256
# undef FRAME_POOL
# define FRAME_POOL 256
# endif
# endif
# endif
# endif
# ifndef FRAME_POOL
# define FRAME_POOL 64
# endif
# if FRAME_POOL < 1024
# ifndef SMALL_POOL
# define SMALL_POOL
# endif
# endif
#endif
/*
*- end of config.h ----------------------------------------------------------*
*/