summaryrefslogtreecommitdiff
blob: 2afe3537361ea650510c1f9bd0bc8c2dfc2b1f5d (plain)
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
--- a/Makefile
+++ b/Makefile
@@ -2,16 +2,16 @@
 # Makefile for skkfep
 #
 all: genMakefile
-	make -f genMakefile all
+	$(MAKE) -f genMakefile all
 
 skkfep: genMakefile
-	make -f genMakefile skkfep
+	$(MAKE) -f genMakefile skkfep
 
 simpledic: genMakefile
-	make -f genMakefile simpledic
+	$(MAKE) -f genMakefile simpledic
 
 clean: genMakefile
-	make -f genMakefile clean
+	$(MAKE) -f genMakefile clean
 	rm -f genMakefile
 
 genMakefile: protoMakefile config.h
--- a/config.h
+++ b/config.h
@@ -14,7 +14,7 @@
 #define DEFAULT_KANAKEY "^j"
 
 /* By Y. Kaneko */
-/*#define KUTOUTEN        /* "."->maru, ","->ten */
+#define KUTOUTEN        /* "."->maru, ","->ten */
 
 #define KANJIBS			/* do/don't shuft-out BS code in JIS mode */
 #define KANJIBS_DEFAULT	0	/* 0 -> shift out / 1 -> don't shift out  */
@@ -28,4 +28,4 @@
 
 #define NATIVECODE	euc	/* EUC Kanji code */
 
-#define SKK_SERVER_HOST	"ei5nazha"	/* SKK server host */
+#define SKK_SERVER_HOST	"localhost"	/* SKK server host */
--- a/configs/linux.h
+++ b/configs/linux.h
@@ -10,3 +10,12 @@
 #define NO_VFORK
 
 #define HAVE_SETREUID
+#define HAVE_BSD_OPENPTY
+
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#if makefile_parameter
+SYSLIBS=-lutil
+#endif
--- a/protoMakefile
+++ b/protoMakefile
@@ -1,5 +1,5 @@
 CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE)
-LIBS  =$(SYSLIBS) $(EXTRALIBS) -ltermcap
+LIBS  =$(SYSLIBS) $(EXTRALIBS) $(LDFLAGS) -lncurses
 
 OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\
 	kkconv.o keymap.o version.o
--- a/stty.c
+++ b/stty.c
@@ -306,7 +306,7 @@
 {
 	int cpid;
 /* #ifdef _AIX */
-#if defined(_AIX) || defined(NECEWS) || defined(SOLARIS2)
+#if defined(_AIX) || defined(NECEWS) || defined(SOLARIS2) || defined(LINUX)
 	int statusp;
 	reset_tty_without_close();
 	cpid = wait(&statusp);