freebsd-ports/japanese/dserver/files/patch-ab
1999-01-05 05:25:36 +00:00

644 lines
18 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

patches for server2.2-pl2
--- server2.2-pl2/daemon.c.orig Sat Jan 31 09:53:47 1998
+++ server2.2-pl2/daemon.c Sat Jan 31 09:53:20 1998
@@ -13,6 +13,11 @@
#include <sys/time.h>
#include <ctype.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#include <string.h>
+#endif
+
#ifdef linux
#include <string.h>
#include <stdlib.h>
@@ -34,7 +39,6 @@
#include "ndtp.h"
#include "misc.h"
-
#ifdef DEBUG
extern int debug;
#endif
@@ -104,8 +108,11 @@
#endif
exit(1);
}
-
+#ifdef __FreeBSD__
+ if( bind(ls, (struct sockaddr *)&myaddr_in, sizeof(struct sockaddr_in)) == -1) {
+#else
if( bind(ls, &myaddr_in, sizeof(struct sockaddr_in)) == -1) {
+#endif
#ifdef SYSLOG
syslog(LOG_ERR,"Unable to bind address /iserver_init\n");
#endif
--- server2.2-pl2/lookup.c.orig Fri Aug 9 19:10:32 1996
+++ server2.2-pl2/lookup.c Sat Jan 31 11:29:09 1998
@@ -267,13 +267,25 @@
}
}
-dict_read(dict,ptr,size,count)
+static int
+dict_read_new(Dict *dict,char *ptr,int size,int count)
+/* dict_read only for showhonmon function */
+{
+ int i;
+ size *= count;
+ for( i=0; i<size; i++,ptr++ ) {
+ *ptr = dic_getc(dict);
+ }
+}
+
+static int
+dict_read_old(dict,ptr,size,count)
Dict *dict;
char *ptr;
{
int s;
#ifdef DEBUG
- printf( "dict_read size[%d] mode[%d]\n", size, dict->compress_type );
+ printf( "dict_read_old size[%d] mode[%d]\n", size, dict->compress_type );
#endif
if (dict->compress_type == COMPRESS_TYPE_EDIC) {
size *= count;
@@ -374,12 +386,12 @@
} else {
dict_seekframe(dict,1);
- if(dict_read(dict,index[0],BS,1)!=1) return -1;
+ if(dict_read_old(dict,index[0],BS,1)!=1) return -1;
e = TWOBYTEUINT(index[0]);
dict->index = NULL;
for(; e>0; e--) {
- if(dict_read(dict,index[0],BS,1)!=1) return -1;
+ if(dict_read_old(dict,index[0],BS,1)!=1) return -1;
if(!bcmp(index[0],null,BS)) break;
new = (Index *)calloc(1,sizeof(Index));
@@ -501,6 +513,55 @@
else return q+6;
}
+#ifdef HALF
+reg_jisstrnsub_(s,t,r,n,CODE)
+unsigned char *s, *t;
+int r,n;
+int CODE;
+{
+ unsigned int ss,tt;
+ if (CODE == FULL) {
+ for(; ; s+=2,t+=2,n-=2) {
+ ss = (*s&0x7f)<<8|*(s+1)&0x7f;
+ tt = (*t&0x7f)<<8|*(t+1)&0x7f;
+ if (n <= 0) tt = 0; /* string terminate 95.2.8 by T.Motoda */
+
+ if(r==SHORT && (ss=='*' || ss=='?')) {
+ return 0;
+ }
+ if(r==WHOLE && (ss=='*')) {
+ return 0;
+ }
+ if(!ss || !tt) break;
+ if(r==WHOLE && (ss=='?')) {
+ continue;
+ }
+ if(ss!=tt) break;
+ }
+ } else {
+ for(; ; s++,t++,n--) {
+ ss = (*s);
+ tt = (*t);
+ if (n <= 0) tt = 0; /* string terminate 95.2.8 by T.Motoda */
+ if(tt==0x20 && *(t+1)==0)tt=0; /* Delete last ' ' */
+
+ if(r==SHORT && (ss=='*' || ss=='?')) {
+ return 0;
+ }
+ if(r==WHOLE && (ss=='*')) {
+ return 0;
+ }
+ if(!ss || !tt) break;
+ if(r==WHOLE && (ss=='?')) {
+ continue;
+ }
+ if(ss!=tt) break;
+ }
+ }
+ return ss-tt;
+}
+#endif
+
findentry_int(key,realkey,frm,env_p)
unsigned char *key,*realkey;
ENV *env_p;
@@ -509,6 +570,9 @@
unsigned char frame[FRAMESIZE+2];
static char msg[32];
Dict *dict;
+#ifdef HALF
+ int CODE=dict_set[env_p->dict_num].code; /* FULL or HALF */
+#endif
dict=env_p->dict;
@@ -542,12 +606,21 @@
putnstr(q,s);
printf("\n");
#endif
+#ifdef HALF
+ if(reg_jisstrnsub_(key,q,SHORT,s,CODE)<=0) {
+ findentry_int(key,realkey,FOURBYTEUINT(q+s),env_p);
+ }
+ if(reg_jisstrnsub_(key,q,SHORT,s,CODE)<0) {
+ return;
+ }
+#else
if(reg_jisstrnsub(key,q,SHORT,s)<=0) {
findentry_int(key,realkey,FOURBYTEUINT(q+s),env_p);
}
if(reg_jisstrnsub(key,q,SHORT,s)<0) {
return;
}
+#endif
}
}
else if(frame[1]==0) {
@@ -625,7 +698,11 @@
putnstr(q,s);
#endif
if(!match) {
+#ifdef HALF
+ match=!reg_jisstrnsub_(realkey,q,WHOLE,s,CODE);
+#else
match=!reg_jisstrnsub(realkey,q,WHOLE,s);
+#endif
}
q+=s;
#ifdef DEBUG
@@ -644,7 +721,11 @@
putnstr(q,s);
#endif
if(!match) {
+#ifdef HALF
+ match=!reg_jisstrnsub_(realkey,q,WHOLE,s,CODE);
+#else
match=!reg_jisstrnsub(realkey,q,WHOLE,s);
+#endif
}
#ifdef DEBUG
putchar('\n');
@@ -722,6 +803,28 @@
#endif
}
+static void myGetHiLo( dict, env_p, hi, lo )
+Dict *dict;
+ENV *env_p;
+int *hi; /*(out)*/
+int *lo; /*(out)*/
+{
+ int c;
+
+ c = dic_getc(dict);
+ if( c == 0x1f ||
+ dict_set[env_p->dict_num].code == FULL) {
+ *hi = c;
+ *lo = dic_getc(dict);
+ } else {
+ *lo = c;
+ if ( *lo < 32) {
+ *hi = *lo;
+ *lo = dic_getc(dict);
+ } else *hi = 0x23;
+ }
+}
+
showhonmon(frm,ofs,raw,env_p)
ENV *env_p;
{
@@ -742,7 +845,6 @@
int half, height,width ,ref, count, fig,size;
int i,j;
char c;
-
fig = FALSE;
half= dict_set[env_p->dict_num].code ? 1 : 0;
dict=env_p->dict;
@@ -774,17 +876,20 @@
if( dic_seek(dict,frm,ofs) ) return;
- hi = dic_getc(dict); /* Fetch */
- lo = dic_getc(dict);
+ /*hi = dic_getc(dict); ** Fetch */
+ /*lo = dic_getc(dict);*/
+ myGetHiLo( dict, env_p, &hi, &lo );
while(!(hi==0x1f && lo==0x02) && /* if Doc start */
!(hi==0x1f && lo==0x41) && /* if Key start */
!(hi==0x1f && lo==0x45)) { /* if Fig start */
+ if( hi!=0x1f ) { goto loop1; }
if(hi==0x1f && lo==0x09){ /* if not /* if TAB skip 2byte */
hi = dic_getc(dict);
lo = dic_getc(dict);
}
- hi = dic_getc(dict);
- lo = dic_getc(dict);
+ /*hi = dic_getc(dict);*/
+ /*lo = dic_getc(dict);*/
+ myGetHiLo( dict, env_p, &hi, &lo );
}
/* Doc ,Key or Fig start */
/* if Key start */
@@ -799,7 +904,7 @@
fig=TRUE;
}
- if (dict_set[env_p->dict_num].code == FULL) {
+ /*if (dict_set[env_p->dict_num].code == FULL) {
hi = dic_getc(dict);
lo = dic_getc(dict);
} else {
@@ -808,8 +913,9 @@
hi = lo;
lo = dic_getc(dict);
} else hi = 0x23;
- }
-
+ }*/
+ myGetHiLo( dict, env_p, &hi, &lo );
+loop1:
while(!(hi==0x00 &&
lo==dict_set[env_p->dict_num].endcode &&
TAB ) /* 1f09(tab)+0001 -> end */
@@ -867,7 +973,7 @@
case 0x31: /* fig start */
hi = dic_getc(dict);
lo = dic_getc(dict);
- dict_read(dict,rbuf,4,1);
+ dict_read_new(dict,rbuf,4,1);
/* fread(rbuf,4,1,dict->stream); */
height = TWOBCDUINT(rbuf);
width = TWOBCDUINT(rbuf+2);
@@ -877,7 +983,7 @@
hi = dic_getc(dict);
lo = dic_getc(dict);
} while(!(hi==0x1f && lo==0x51 ));
- dict_read(dict,rbuf,6,1);
+ dict_read_new(dict,rbuf,6,1);
/*fread(rbuf,6,1,dict->stream); */
frmtmp = FOURBCDUINT(rbuf);
ofstmp = TWOBCDUINT(rbuf+4);
@@ -903,7 +1009,7 @@
case 0x44: /* fig start */
hi = dic_getc(dict);
lo = dic_getc(dict);
- dict_read(dict,rbuf,8,1);
+ dict_read_new(dict,rbuf,8,1);
/* fread(rbuf,8,1,dict->stream); */
height = FOURBCDUINT(rbuf);
width = FOURBCDUINT(rbuf+4);
@@ -916,21 +1022,21 @@
lo = dic_getc(dict);
break;
case 0x48: /* music ref start */
- dict_read(dict,rbuf,10,1);
+ dict_read_new(dict,rbuf,10,1);
/*fread(rbuf,10,1,dict->stream); */
frmtmp=(unsigned long int)SIXBCDUINT(rbuf);
ofstmp=FOURBCDUINT(rbuf+6);
write(cur_s,buf,strlen(buf));
break;
case 0x51: /* pointer to fig page:offset(BCD)*/
- dict_read(dict,rbuf,6,1);
+ dict_read_new(dict,rbuf,6,1);
frmtmp=FOURBCDUINT(rbuf);
ofstmp=TWOBCDUINT(rbuf+4);
sprintf(buf,"<%x:%x>",frmtmp,ofstmp);
write(cur_s,buf,strlen(buf));
break;
case 0x52: /* picture end with page:offset(BCD)*/
- dict_read(dict,rbuf,6,1);
+ dict_read_new(dict,rbuf,6,1);
frmtmp=FOURBCDUINT(rbuf);
ofstmp=TWOBCDUINT(rbuf+4);
sprintf(buf,"<%x:%x>",frmtmp,ofstmp);
@@ -939,7 +1045,7 @@
case 0x53: /* end with page:offset(BCD)*/
ref = FALSE;
if(fig==FALSE){
- dict_read(dict,rbuf,8,1);
+ dict_read_new(dict,rbuf,8,1);
frmtmp=FOURBCDUINT(rbuf);
ofstmp=FOURBCDUINT(rbuf+4);
sprintf(buf,"<%x:%x>",frmtmp,ofstmp);
@@ -958,7 +1064,7 @@
case 0x62: /* refrence end with page:offset(BCD) */
case 0x63: /* menu end with page:offset(BCD) */
ref = FALSE;
- dict_read(dict,rbuf,6,1);
+ dict_read_new(dict,rbuf,6,1);
frmtmp=FOURBCDUINT(rbuf);
ofstmp=TWOBCDUINT(rbuf+4);
sprintf(buf,"<%x:%x>",frmtmp,ofstmp);
@@ -966,7 +1072,7 @@
break;
case 0x64: /* fig ref end with page:offset(BCD) */
honmon = TRUE;
- dict_read(dict,rbuf,6,1);
+ dict_read_new(dict,rbuf,6,1);
frmtmp=FOURBCDUINT(rbuf);
ofstmp=TWOBCDUINT(rbuf+4);
sprintf(buf,"<%x:%x>",frmtmp,ofstmp);
@@ -998,7 +1104,7 @@
puteucz2h(cur_s,hi,lo,env_p->dict_num);
}
- if (dict_set[env_p->dict_num].code == FULL) {
+ /*if (dict_set[env_p->dict_num].code == FULL) {
hi = dic_getc(dict);
lo = dic_getc(dict);
} else {
@@ -1007,7 +1113,8 @@
hi = lo;
lo = dic_getc(dict);
} else hi = 0x23;
- }
+ }*/
+ myGetHiLo( dict, env_p, &hi, &lo );
}
}
write(cur_s,"\n",1);
@@ -1108,7 +1215,7 @@
}
} else {
dict_seekframe(dict,frm);
- dict_read(dict, buff, FRAMESIZE, 1);
+ dict_read_old(dict, buff, FRAMESIZE, 1);
}
return 1;
--- server2.2-pl2/Makefile.orig Sat Jan 31 09:53:35 1998
+++ server2.2-pl2/Makefile Sat Jan 31 09:53:20 1998
@@ -2,33 +2,39 @@
#CC=cc
CC=gcc
-DSERVERTOPDIR=/usr/local/etc/dserverdir
+DSERVERTOPDIR=${PREFIX}/lib/dserver
#DSERVERTOPDIR=/nfs/home40/usui/dserver/server2.2-current/table
-DICTROOT=/usr/local/dict
+DICTROOT=${PREFIX}/share/dict
ACCESSFILE=${DSERVERTOPDIR}/dserver_access
-BINDIR=/usr/local/lib
+BINDIR=${PREFIX}/lib/dserver
+DOCDIR=${DSERVERTOPDIR}/doc
+LISPLIB=${PREFIX}/lib/mule/site-lisp
#LISPLIB=/usr/local/lib/Nemacs/lisp #usui
DEFS=-D'ACCESSFILE="$(ACCESSFILE)"' \
--D'DSERVERTOPDIR="$(DSERVERTOPDIR)"'
+-D'DSERVERTOPDIR="$(DSERVERTOPDIR)"' -DHALF
# define AUTH for auth
# define DICLOOKUPMULE for mule
-OFLAG=
-CFLAGS= $(OFLAG) -DSTANDALONE $(DEFS) -DDEBUG -DSYSLOG
-CFLAGS=-Dsparc $(OFLAG) -DSYSLOG -DSTANDALONE $(DEFS)
+OFLAG= -O2
+#CFLAGS= $(OFLAG) -DSTANDALONE $(DEFS) -DDEBUG -DSYSLOG
+#CFLAGS=-Dsparc $(OFLAG) -DSYSLOG -DSTANDALONE $(DEFS)
#CFLAGS=-Dsparc $(OFLAG) -DSYSLOG -DAUTH -DDICLOOKUPMULE -DSTANDALONE $(DEFS)
-CFLAGS=-Dsparc $(OFLAG) -DSYSLOG -DSTANDALONE $(DEFS) -DDEBUG
+#CFLAGS=-Dsparc $(OFLAG) -DSYSLOG -DSTANDALONE $(DEFS) -DDEBUG
+CFLAGS= $(OFLAG) -DSTANDALONE -DSYSLOG $(DEFS)
#for solaris
#CFLAGS=-Dsolaris -Dsparc $(OFLAG) -DSYSLOG -DSTANDALONE $(DEFS)
#DFLAGS =-lsocket -lnsl -R/usr/ucblib -L/usr/ucblib -lucb
-all: dserver
+all: dserver compress/makedic
dserver: $(OBJ)
$(CC) $(CFLAGS) -o dserver $(OBJ)
+compress/makedic:
+ (cd compress ; ${MAKE} all)
+
#dserver: $(OBJ)
# $(CC) $(CFLAGS) -o dserver $(OBJ) $(DFLAGS)
@@ -39,4 +45,12 @@
lint -Dsparc -DSTANDALONE -DSYSLOG $(DEFS) *.c
install:
- install -m 755 dserver $(BINDIR)
+ if [ ! -d ${DOCDIR} ] ; then mkdir -p ${DOCDIR} ; fi
+ if [ ! -d ${DICTROOT}/cdrom ] ; then mkdir -p ${DICTROOT}/cdrom ; fi
+ install -c -s -m 755 dserver $(BINDIR)
+ (cd compress ; ${MAKE} install)
+ cp table/*.tbl table/dserver_access ${DSERVERTOPDIR}
+ cat table/dserver_access | sed -e 's!PREFIX_DIR!${PREFIX}!g' > ${DSERVERTOPDIR}/dserver_access
+ cp CHANGES newfeature.doc ${DOCDIR}
+ cp README ${DOCDIR}/README.dserver
+ cp table/README ${DOCDIR}/README.table
--- server2.2-pl2/subnet.c.orig Sat Aug 10 02:10:30 1996
+++ server2.2-pl2/subnet.c Tue Jan 28 08:22:43 1997
@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <sys/time.h>
#include <net/if.h>
#include <sys/ioctl.h>
--- server2.2-pl2/table/dserver_access.orig Sat Jan 31 09:53:59 1998
+++ server2.2-pl2/table/dserver_access Sat Jan 31 09:53:20 1998
@@ -1,14 +1,22 @@
-#DICT kojien /usr/local/etc/CDdict/yrrs096/koujien/start. "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A3B4>" 1 600
-##DICT eiwa /usr/local/etc/CDdict/yrrs118/chujiten/start. "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
-##DICT eiwa /usr/local/etc/CDdict/yrrs118/chujiten/start.comp "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
-##DICT eiwa /usr/local/etc/CDdict/yrrs009/eiwa/start.comp "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
-##DICT waei /usr/local/etc/CDdict/yrrs118/chujiten/start.comp "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
-#DICT waei /usr/local/etc/CDdict/cdchujiten/chujiten/data/honmon. "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
-#DICT eiwa /usr/local/etc/CDdict/cdchujiten/chujiten/data/honmon. "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
-#DICT CDkojien /usr/local/etc/CDdict/cdkouji/koujien/data/honmon. "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>" 1 600
-#DICT readers /usr/local/etc/CDdict/yrrs172/readers/start. "<22><EFBFBD><EAA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 1 600
-#DICTROOT /usr/local/etc/CDdict 2 500
+#DICT kojien PREFIX_DIR/share/dict/cdrom/yrrs096/koujien/start "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A3B4>" 1 600
+##DICT kojien-furoku PREFIX_DIR/share/dict/cdrom/yrrs096/furoku/start "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8A3B4><EFBFBD><EFBFBD>Ͽ" 1 600
+##DICT waei PREFIX_DIR/share/dict/cdrom/cdchujiten/chujiten/data/honmon "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
+##DICT eiwa PREFIX_DIR/share/dict/cdrom/cdchujiten/chujiten/data/honmon "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
+##DICT readers PREFIX_DIR/share/dict/cdrom/yrrs172/readers/start "<22><EFBFBD><EAA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 1 600
+##DICT crfre PREFIX_DIR/share/dict/cdrom/yrrs091/crfre/start "<22><><EFBFBD><EFBFBD>Ʋ<EFBFBD><C6B2><EFBFBD><EFBFBD><E9A5A6>ʩ<EFBFBD><CAA9>" 1 600
+##DICT crger PREFIX_DIR/share/dict/cdrom/yrrs092/crger/start "<22><><EFBFBD><EFBFBD>Ʋ<EFBFBD><C6B2><EFBFBD><EFBFBD><E9A5A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 1 600
+##DICT italian /usr/local/share/dict/cdrom/yrrs214/jiten/start "<22><><EFBFBD><EFBFBD><E5A5A4><EFBFBD><EFBFBD><EAA5A2>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>ŵ" 1 600
+##DICT italian-j /usr/local/share/dict/cdrom/yrrs214/jiten/start "<22><><EFBFBD><EFBFBD><E5A5A4><EFBFBD><EFBFBD><EAA5A2>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD>ŵ" 1 600
+##DICT oxford /usr/local/share/dict/cdrom/san042/oxford/start "OxfordEnglishDictionary" 1 600
+##DICT CDkojien PREFIX_DIR/share/dict/cdrom/cdkouji/koujien/data/honmon "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>" 1 600
+##DICT eiwa PREFIX_DIR/share/dict/cdrom/yrrs118/chujiten/start "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
+##DICT waei PREFIX_DIR/share/dict/cdrom/yrrs118/chujiten/start "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
+##DICT eiwa PREFIX_DIR/share/dict/cdrom/yrrs118/chujiten/start.comp "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" 25 600
+##DICT waei PREFIX_DIR/share/dict/cdrom/yrrs118/chujiten/start.comp "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD>" 25 600
+##DICT daijirin PREFIX_DIR/share/dict/cdrom/yrrs082/dgx01/start "<22><EFBFBD><E7BCAD>" 1 600
+#
+#DICTROOT PREFIX_DIR/share/dict/cdrom 2 500
## access controle
#
-topics
+localhost
#
--- server2.2-pl2/compress/Makefile.orig Sat Aug 10 02:10:29 1996
+++ server2.2-pl2/compress/Makefile Tue Jan 28 08:22:43 1997
@@ -11,11 +11,15 @@
CFLAGS = -O -Wall
LFLAGS =
+
OBJ1 = main.o compress.o
OBJS = $(OBJ1)
PROG = makedic
+BINDIR = ${PREFIX}/bin
+
+all: $(PROG)
$(PROG) : $(OBJS)
$(CC) $(OBJS) $(LFLAGS) -o $(PROG)
@@ -26,5 +30,8 @@
main.o : defs.h
comp.o : defs.h
+install: $(PROG)
+ install -s $(PROG) $(BINDIR)
+
clean:
- rm -f *.o core makedic *~
+ rm -f *.o core makedic *~
--- server2.2-pl2/compress/main.c.orig Sat Aug 10 02:10:30 1996
+++ server2.2-pl2/compress/main.c Tue Jan 28 08:22:43 1997
@@ -3,6 +3,21 @@
by toshioji@darkover.iijnet.or.jp
dic version 0.24 cdio.c by kmiya <20><><EFBFBD><EFBFBD><EFBFBD>򸵤˺<F2B8B5A4><CBBA><EFBFBD>
+
+========== dic.man <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѳ<EFBFBD><D1B3><EFBFBD> ==========
+DIC(1) Dic Users Manual DIC(1)
+
+
+DISTRIBUTION
+ <20><><EFBFBD>Υץ<CEA5><D7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><CEB2><EFBFBD> <20>ܿ<EFBFBD> ž<><C5BE> <20>ʤɤϡ<C9A4> <20><>ͳ<EFBFBD>˹ԤäƤ<C3A4> <20><><EFBFBD><EFBFBD>
+ <20>Ʒ<C6B7>Ǥ<EFBFBD><C7A4><EFBFBD> <20>ޤ<EFBFBD><DEA4><EFBFBD> <20><><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>𤹤<EFBFBD>ɬ<EFBFBD>פ⤢<D7A4><E2A4A2><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>
+
+ <20><> <20><> <20><><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>Ѥ<EFBFBD><D1A4>줿ʪ<ECA4BF>Ǥ<EFBFBD><C7A4><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤɤΥСݥ<D0A1><DDA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ Dic <20><><EFBFBD>ɤΤ<CEA4><E8A4A6><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ򤷤Ƥ<F2A4B7A4><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>й<EFBFBD><D0B9><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
+
+ <20><><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5>ݥ<EFBFBD><DDA5><EFBFBD><EFBFBD>ݥɤ<DDA5>Ʊ<EFBFBD><C6B1><EFBFBD>˸<EFBFBD><CBB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ʤ<EFBFBD><CAA4><EFBFBD><EFBFBD><EFBFBD> <20><>
+ <20><>ͳ<EFBFBD><CDB3> <20>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>˾<EFBFBD><CBBE><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
+========== dic.man <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѽ<EFBFBD>λ ==========
*/
#include "defs.h"
@@ -36,10 +51,95 @@
return 0;
}
+char ok(char *string)
+{
+ char key_buf[2];
+
+ fputs( string, stdout );
+ fgets( key_buf, 2, stdin );
+ return key_buf[0];
+}
+
+void caution(void)
+{
+
+ puts("<<<<<<<<< makedic <20><><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD>ɬ<EFBFBD><C9AC><EFBFBD><EFBFBD><EFBFBD>ʲ<EFBFBD><CAB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD>ǧ<EFBFBD><C7A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>>>>>>>>>>
+
+<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> dserver/server2.1/README<4D>ּ<EFBFBD>ɮ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD><C5A1>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥฦ<C6A5><E0B8A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+<2B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9A5A4><EFBFBD>󥹴ط<F3A5B9B4><D8B7>ε<EFBFBD><CEB5>Ҥ<EFBFBD>ȴ<EFBFBD><C8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΤǤ<CEA4><C7A4><EFBFBD>
+
+==================== dserver/server2.1/README ====================
+
+ <20><EFBFBD><E9A5A4><EFBFBD>󥹤Ϥ<F3A5B9A4><CFA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD><C8BC>äƲ<C3A4><C6B2><EFBFBD><EFBFBD><EFBFBD>,<2C>ʲ<EFBFBD><CAB2>˻<EFBFBD><CBBB>ĵ<EFBFBD>Ϻ<mita@jp.FreeBSD.org>
+ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD>٤Ʋ<D9A4><C6B2><EFBFBD><EFBFBD>ä<EFBFBD>ʸ<EFBFBD>Ϥ<EFBFBD>ź<EFBFBD>դ<EFBFBD><D5A4>ޤ<EFBFBD>.
+
+------------------------------------------------------------------------
+" );
+ ok( "<<3C><><EFBFBD>ԥ<EFBFBD><D4A5><EFBFBD><EFBFBD>򲡤<EFBFBD><F2B2A1A4>Ʋ<EFBFBD><C6B2><EFBFBD><EFBFBD><EFBFBD>>" );
+
+ puts("
+ <20><EFBFBD><E9A5A4><EFBFBD>󥹤ˤĤ<CBA4><C4A4><EFBFBD> <20><><EFBFBD>ĵ<EFBFBD>Ϻ <mita@jp.FreeBSD.org>
+
+ dserver<65>ϡ<EFBFBD>8cmCDROM<4F>Ǹ<EFBFBD><C7B8><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD>¡<EFBFBD><C2A1>±<EFBFBD><C2B1>漭ŵ<E6BCAD><C5B5><EFBFBD><EFBFBD><EFBFBD>Ƚ<EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20>Ϥ<EFBFBD><CFA4>Ȥ<EFBFBD><C8A4><EFBFBD>Żҥ֥å<D6A5><C3A5><EFBFBD><EFBFBD>ɤळ<C9A4>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѤΤ<D1A4><CEA4>Ӥ<EFBFBD>CDROM<4F><4D>
+ <20>ޥ<EFBFBD><DEA5><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD>Ф褤<D0A4>ΤǤ<CEA4><C7A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E3A4A8>CDROMʬΥ<CAAC><CEA5><EFBFBD>ΥΡ<CEA5><CEA1>ȥѥ<C8A5><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<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5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5>ԡ<EFBFBD><D4A1><EFBFBD><EFBFBD><EFBFBD>Ȥϲ<C8A4>ǽ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˴ؤ<CBB4><D8A4>Ƥ<EFBFBD>LAN<41><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ <20><><EFBFBD>Фʤ<D0A4><CAA4>¤<EFBFBD><C2A4>ϡ<EFBFBD><CFA1>ɥǥ<C9A5><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؤΥ<D8A4><CEA5>ԡ<EFBFBD><D4A1>򤵤<EFBFBD><F2A4B5A4><EFBFBD><EFBFBD>Τ<EFBFBD><CEA4>ɤ<EFBFBD><C9A4><EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
+");
+ puts("------------------------------------------------------------------------
+<2B>ʾ<EFBFBD>
+");
+ switch( ok( "<22><><EFBFBD><EFBFBD><EFBFBD>򰵽̤<F2B0B5BD><CCA4>ƥϡ<C6A5><CFA1>ɥǥ<C9A5><C7A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><CBA5>ԡ<EFBFBD><D4A1><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>
+<2B><EFBFBD><E9A5A4><EFBFBD>󥹾<EFBFBD><F3A5B9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϥ<EFBFBD><CFA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>[y/n] " ) ) {
+ case 'y':
+ case 'Y':
+ puts( "\n<><6E><EFBFBD>̤򳫻Ϥ<F2B3ABBB><CFA4>ޤ<EFBFBD><DEA4><EFBFBD>\n" );
+ break;
+ default:
+ puts( "\n<><EFBFBD><E9A5A4><EFBFBD>󥹾<EFBFBD><F3A5B9BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EAA4AC><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD><CEA4><EFBFBD><EFBFBD>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>\n" );
+ exit( -1 );
+ break;
+ }
+}
+
int main(int argc, char *argv[])
{
+ caution();
+
if( argc < 3 ) {
- fprintf( stderr, "%s soce_filename dest_filename\n", argv[ 0 ] );
+ fprintf( stderr, "Usage: %s soce_filename dest_filename\n", argv[ 0 ] );
exit( -1 );
}