diff -arcN ../sj3-2.0.1.13.org/doc/doc/sj3lib.ms ./doc/doc/sj3lib.ms
*** ../sj3-2.0.1.13.org/doc/doc/sj3lib.ms Fri Jun 3 17:00:49 1994
--- ./doc/doc/sj3lib.ms Tue Aug 13 03:17:26 1996
***************
*** 56,62 ****
.IP ��
�ᥤ�桼�����ؽ��ե�����ϡ���³���륵���Ф�ư��Ƥ���ޥ����Τ�Τ����Ѥ���ޤ���
.br
! �����Υե�����ϡ��ǥե���ȤǤϥǥ��쥯�ȥ� \fB/usr/dict/sj3\fP �β��ˤ�����ޤ����������ФΥ��åȥ��åץե�����ˤ���ѹ�����ǽ�Ǥ���
.IP ��
�桼������ȳؽ��ե�����ϡ��ؿ� sj3_open �ǻ��ꤵ�줿�桼��̾�� USER ��
����С�\fBuser/USER/private.dic\fP �� \fBuser/USER/study.dat\fP �Ǥ���
--- 56,62 ----
.IP ��
�ᥤ�桼�����ؽ��ե�����ϡ���³���륵���Ф�ư��Ƥ���ޥ����Τ�Τ����Ѥ���ޤ���
.br
! �����Υե�����ϡ��ǥե���ȤǤϥǥ��쥯�ȥ� \fB/usr/local/lib/sj3/dict\fP �β��ˤ�����ޤ����������ФΥ��åȥ��åץե�����ˤ���ѹ�����ǽ�Ǥ���
.IP ��
�桼������ȳؽ��ե�����ϡ��ؿ� sj3_open �ǻ��ꤵ�줿�桼��̾�� USER ��
����С�\fBuser/USER/private.dic\fP �� \fBuser/USER/study.dat\fP �Ǥ���
***************
*** 91,97 ****
�����Ф��������³�Ǥ����Ȥ��ˤ� 0 �������顼�Τ��ä��Ȥ��ˤ� 0 �ʳ���
���顼���ơ��������֤��ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/include/sj3lib.h\fP ��
��������ӥåȥ������줿�ͤǡ��ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_SERVER_DEAD\fP
--- 91,97 ----
�����Ф��������³�Ǥ����Ȥ��ˤ� 0 �������顼�Τ��ä��Ȥ��ˤ� 0 �ʳ���
���顼���ơ��������֤��ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/local/include/sj3lib.h\fP ��
��������ӥåȥ������줿�ͤǡ��ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_SERVER_DEAD\fP
***************
*** 138,144 ****
�����ФȤλ��Ѥ�����˽�λ�Ǥ����Ȥ��ˤ� 0 ��
�������顼�Τ��ä��Ȥ��ˤ� 0 �ʳ��Υ��顼���ơ��������֤��ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/include/sj3lib.h\fP ��
��������ӥåȥ������줿�ͤǡ��ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_SERVER_DEAD\fP
--- 138,144 ----
�����ФȤλ��Ѥ�����˽�λ�Ǥ����Ȥ��ˤ� 0 ��
�������顼�Τ��ä��Ȥ��ˤ� 0 �ʳ��Υ��顼���ơ��������֤��ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/local/include/sj3lib.h\fP ��
��������ӥåȥ������줿�ͤǡ��ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_SERVER_DEAD\fP
***************
*** 187,193 ****
�Ѵ���̤δ���ʸ��������� \fBstruct bunsetu bun[]\fP ��
��ʸ��˴ؤ������åȤ��ޤ���
.br
! \fBstruct bunsetu\fP �ϥإå��ե����� \fB/usr/include/sj3lib.h\fP ��
�������Ƥ���ʲ��Τ褦�ʹ�¤�ΤǤ���
.sp
.RS
--- 187,193 ----
�Ѵ���̤δ���ʸ��������� \fBstruct bunsetu bun[]\fP ��
��ʸ��˴ؤ������åȤ��ޤ���
.br
! \fBstruct bunsetu\fP �ϥإå��ե����� \fB/usr/local/include/sj3lib.h\fP ��
�������Ƥ���ʲ��Τ褦�ʹ�¤�ΤǤ���
.sp
.RS
***************
*** 417,423 ****
�ʤ�ޤ���
�ޤ�����Ĺ���ϡ�����Ǥ� 32 ʸ����ۤ��ƤϤʤ�ޤ���
.sp
! �ʻ쥳���ɤϥإå��ե����� \fB/usr/include/sj3lib.h\fP ��
��������ʲ����ʻ�Τ����ΰ�ĤǤ���
.sp
.RS
--- 417,423 ----
�ʤ�ޤ���
�ޤ�����Ĺ���ϡ�����Ǥ� 32 ʸ����ۤ��ƤϤʤ�ޤ���
.sp
! �ʻ쥳���ɤϥإå��ե����� \fB/usr/local/include/sj3lib.h\fP ��
��������ʲ����ʻ�Τ����ΰ�ĤǤ���
.sp
.RS
***************
*** 445,451 ****
��Ͽ�Ǥ����Ȥ��ˤ� 0 ������Ͽ�Ǥ��ʤ��ä��Ȥ��ˤϤ���ʳ���
���顼���ơ��������֤���ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/include/sj3lib.h\fP ��
������졢�ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_DICT_ERROR\fP
--- 445,451 ----
��Ͽ�Ǥ����Ȥ��ˤ� 0 ������Ͽ�Ǥ��ʤ��ä��Ȥ��ˤϤ���ʳ���
���顼���ơ��������֤���ޤ���
.sp
! ���顼���ơ������ϥإå��ե����� \fB/usr/local/include/sj3lib.h\fP ��
������졢�ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_DICT_ERROR\fP
***************
*** 519,525 ****
�ʤ�ޤ���
�ޤ�����Ĺ���ϡ�����Ǥ� 32 ʸ����ۤ��ƤϤʤ�ޤ���
.sp
! �ʻ쥳���ɤ� \fB/usr/include/sj3lib.h\fP ����������ʲ����ʻ��
�����ΰ�ĤǤ���
.sp
.RS
--- 519,525 ----
�ʤ�ޤ���
�ޤ�����Ĺ���ϡ�����Ǥ� 32 ʸ����ۤ��ƤϤʤ�ޤ���
.sp
! �ʻ쥳���ɤ� \fB/usr/local/include/sj3lib.h\fP ����������ʲ����ʻ��
�����ΰ�ĤǤ���
.sp
.RS
***************
*** 547,553 ****
����Ǥ����Ȥ��ˤ� 0 ��������Ǥ��ʤ��ä��Ȥ��ˤϤ���ʳ���
���顼���ơ��������֤���ޤ���
.sp
! ���顼���ơ������� \fB/usr/include/sj3lib.h\fP ��������졢
�ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_DICT_ERROR\fP
--- 547,553 ----
����Ǥ����Ȥ��ˤ� 0 ��������Ǥ��ʤ��ä��Ȥ��ˤϤ���ʳ���
���顼���ơ��������֤���ޤ���
.sp
! ���顼���ơ������� \fB/usr/local/include/sj3lib.h\fP ��������졢
�ܺ٤ϰʲ��ΤȤ���Ǥ���
.sp
.IP "\fBSJ3_DICT_ERROR\fP
diff -arcN ../sj3-2.0.1.13.org/doc/doc/sj3serv.ms ./doc/doc/sj3serv.ms
*** ../sj3-2.0.1.13.org/doc/doc/sj3serv.ms Fri Jun 3 17:00:50 1994
--- ./doc/doc/sj3serv.ms Tue Aug 13 03:18:01 1996
***************
*** 111,117 ****
���Υե�����̾�����Хѥ��Ȥ��Ƽ���˥����������ޤ�����\'/\'�ʳ��ΤȤ��ˤϡ�
�����ǻ��ꤵ���ǥ��쥯�ȥ꤫������Хѥ��Ȥ��Ƽ���˥����������ޤ���
.br
! �ǥե���Ȥ� /usr/dict/sj3 �Ǥ���
.RE
.sp
.NH 3
--- 111,117 ----
���Υե�����̾�����Хѥ��Ȥ��Ƽ���˥����������ޤ�����\'/\'�ʳ��ΤȤ��ˤϡ�
�����ǻ��ꤵ���ǥ��쥯�ȥ꤫������Хѥ��Ȥ��Ƽ���˥����������ޤ���
.br
! �ǥե���Ȥ� /usr/local/lib/sj3/dict �Ǥ���
.RE
.sp
.NH 3
diff -arcN ../sj3-2.0.1.13.org/doc/man/sj3.1 ./doc/man/sj3.1
*** ../sj3-2.0.1.13.org/doc/man/sj3.1 Fri Jun 3 17:00:51 1994
--- ./doc/man/sj3.1 Tue Aug 13 03:18:59 1996
***************
*** 109,121 ****
.SH ��Ϣ�ե�����
.PD 0
.TP 15
! /usr/dict/sj3/user/$USER/private.dic
��̾�����Ѵ��桼������
.TP
! /usr/dict/sj3/user/$USER/study.dat
��̾�����Ѵ��ؽ��ե�����
.TP
! /usr/lib/sj3/sjrk
�ǥե���ȥ�������̾�Ѵ���§����ե�����
.SH ��Ϣ����
sj3serv(1), sj3lib(3)
--- 109,121 ----
.SH ��Ϣ�ե�����
.PD 0
.TP 15
! /usr/local/lib/sj3/dict/user/$USER/private.dic
��̾�����Ѵ��桼������
.TP
! /usr/local/lib/sj3/dict/user/$USER/study.dat
��̾�����Ѵ��ؽ��ե�����
.TP
! /usr/local/lib/sj3/sjrk
�ǥե���ȥ�������̾�Ѵ���§����ե�����
.SH ��Ϣ����
sj3serv(1), sj3lib(3)
diff -arcN ../sj3-2.0.1.13.org/doc/man/sj3dic.1 ./doc/man/sj3dic.1
*** ../sj3-2.0.1.13.org/doc/man/sj3dic.1 Fri Jun 3 17:00:52 1994
--- ./doc/man/sj3dic.1 Tue Aug 13 03:19:55 1996
***************
*** 105,120 ****
.SH ��Ϣ�ե�����
.PD 0
.TP \w'\ \ \ \ user/\fIusername\fP/private.dic'u+2n
! /usr/bin/sj3serv
���ʴ����Ѵ�������
.TP
! /usr/lib/sj3/serverrc
���ʴ����Ѵ������� ���åȥ��åץե�����
.TP
! /usr/bin/sj3
���ܸ����ϥե���ȥ���ɥץ����å�
.TP
! /usr/dict/sj3/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
sj3main.dic
--- 105,120 ----
.SH ��Ϣ�ե�����
.PD 0
.TP \w'\ \ \ \ user/\fIusername\fP/private.dic'u+2n
! /usr/local/bin/sj3serv
���ʴ����Ѵ�������
.TP
! /usr/local/lib/sj3/serverrc
���ʴ����Ѵ������� ���åȥ��åץե�����
.TP
! /usr/local/bin/sj3
���ܸ����ϥե���ȥ���ɥץ����å�
.TP
! /usr/local/lib/sj3/dict/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
sj3main.dic
***************
*** 126,135 ****
user/\fIusername\fP/study.dat
���ʴ����Ѵ��ؽ��ե�����
.TP
! /usr/include/sj3lib.h
���ʴ����Ѵ��饤�֥���ѥ��롼�ɥե�����
.TP
! /usr/lib/libsj3lib.a
���ʴ����Ѵ��饤�֥��
.\".TP
.\"/usr/sony/demo/sj3/*
--- 126,135 ----
user/\fIusername\fP/study.dat
���ʴ����Ѵ��ؽ��ե�����
.TP
! /usr/local/include/sj3lib.h
���ʴ����Ѵ��饤�֥���ѥ��롼�ɥե�����
.TP
! /usr/local/lib/libsj3lib.a
���ʴ����Ѵ��饤�֥��
.\".TP
.\"/usr/sony/demo/sj3/*
diff -arcN ../sj3-2.0.1.13.org/doc/man/sj3mkdic.1 ./doc/man/sj3mkdic.1
*** ../sj3-2.0.1.13.org/doc/man/sj3mkdic.1 Fri Dec 9 18:15:37 1994
--- ./doc/man/sj3mkdic.1 Tue Aug 13 03:20:17 1996
***************
*** 550,565 ****
.SH �ե�����
.PD 0
.TP \w'\ \ \ \ user/\f2username\f1/private.dic'u+2n
! .B /usr/bin/sj3serv
���ʴ����Ѵ�������
.TP
! .B /usr/lib/sj3/serverrc
���ʴ����Ѵ������� ���åȥ��åץե�����
.TP
! .B /usr/bin/sj3
���ܸ����ϥե���ȥ���ɥץ����å�
.TP
! .B /usr/dict/sj3/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
.B " sj3main.dic
--- 550,565 ----
.SH �ե�����
.PD 0
.TP \w'\ \ \ \ user/\f2username\f1/private.dic'u+2n
! .B /usr/local/bin/sj3serv
���ʴ����Ѵ�������
.TP
! .B /usr/local/lib/sj3/serverrc
���ʴ����Ѵ������� ���åȥ��åץե�����
.TP
! .B /usr/local/bin/sj3
���ܸ����ϥե���ȥ���ɥץ����å�
.TP
! .B /usr/local/lib/sj3/dict/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
.B " sj3main.dic
***************
*** 571,584 ****
.B " user/\f2username\f1/study.dat
���ʴ����Ѵ��ؽ��ե�����
.TP
! .B /usr/include/sj3lib.h
���ʴ����Ѵ��饤�֥���ѥ��롼�ɥե�����
.TP
! .B /usr/lib/libsj3lib.a
���ʴ����Ѵ��饤�֥��
! .TP
! \f3/usr/demo/sj3/ *\f1
! ���ʴ����Ѵ��饤�֥�� ����ˡ����ץ�
.PD
.SH ��Ϣ����
\f4sj3\f1 (1),
--- 571,584 ----
.B " user/\f2username\f1/study.dat
���ʴ����Ѵ��ؽ��ե�����
.TP
! .B /usr/local/include/sj3lib.h
���ʴ����Ѵ��饤�֥���ѥ��롼�ɥե�����
.TP
! .B /usr/local/lib/libsj3lib.a
���ʴ����Ѵ��饤�֥��
! .\".TP
! .\"\f3/usr/local/demo/sj3/ *\f1
! .\"���ʴ����Ѵ��饤�֥�� ����ˡ����ץ�
.PD
.SH ��Ϣ����
\f4sj3\f1 (1),
diff -arcN ../sj3-2.0.1.13.org/doc/man/sj3serv.1 ./doc/man/sj3serv.1
*** ../sj3-2.0.1.13.org/doc/man/sj3serv.1 Fri Jun 3 17:00:53 1994
--- ./doc/man/sj3serv.1 Tue Aug 13 03:20:41 1996
***************
*** 47,63 ****
���Υ��ץ����ϡ�\fIsj3serv\fP ���ɤ߹��ॻ�åȥ��åץե��������ꤷ�ޤ���
.br
\fIsj3serv\fP �ϥǥե���ȤǤϥ��åȥ��åץե�����
! ��/usr/lib/sj3/serverrc�Ǥ��ɤ߹��ߤޤ�����
���Υ��ץ�����ꤵ�줿�Ȥ��ˤϤ�����
���ޥ�ɥ饤��ǻ��ꤵ�줿���åȥ��åץե�������ɤ߹��ߤޤ���
.br
.SH ��Ϣ�ե�����
.PD 0
.TP \w'\ \ \ \ user/\fIusername\fP/private.dic'u+2n
! /usr/lib/sj3/serverrc
�ǥե���Ȳ�̾�Ѵ������� ���åȥ��åץե�����
.TP
! /usr/sony/dict/sj3/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
sj3main.dic
--- 47,63 ----
���Υ��ץ����ϡ�\fIsj3serv\fP ���ɤ߹��ॻ�åȥ��åץե��������ꤷ�ޤ���
.br
\fIsj3serv\fP �ϥǥե���ȤǤϥ��åȥ��åץե�����
! ��/usr/local/lib/sj3/serverrc�Ǥ��ɤ߹��ߤޤ�����
���Υ��ץ�����ꤵ�줿�Ȥ��ˤϤ�����
���ޥ�ɥ饤��ǻ��ꤵ�줿���åȥ��åץե�������ɤ߹��ߤޤ���
.br
.SH ��Ϣ�ե�����
.PD 0
.TP \w'\ \ \ \ user/\fIusername\fP/private.dic'u+2n
! /usr/local/lib/sj3/serverrc
�ǥե���Ȳ�̾�Ѵ������� ���åȥ��åץե�����
.TP
! /usr/local/lib/sj3/dict/
���ʴ����Ѵ������� �ǥե���ȼ���ǥ��쥯�ȥ�
.TP
sj3main.dic
diff -arcN ../sj3-2.0.1.13.org/server/setup.c ./server/setup.c
*** ../sj3-2.0.1.13.org/server/setup.c Fri Dec 9 20:27:07 1994
--- ./server/setup.c Mon Aug 12 23:58:25 1996
***************
*** 221,250 ****
u_char *(*optfunc)();
int optarg;
} option[] = {
"DebugOut", get_str, (int)&debug_file,
"DebugLevel", get_int, (int)&debug_level,
"ForkFlag", get_flag, (int)&fork_flag,
"PortName", get_str, (int)&port_name,
#ifdef TLI
"PortNumber", get_str, (int)&port_number,
! "ProtoName", get_str, (int)&proto_name,
#else
"PortNumber", get_int, (int)&port_number,
#endif
"SocketName", get_str, (int)&socket_name,
#ifdef LOCK_FILE
"LockFile", get_str, (int)&lock_file;
#endif
"maxclient", get_int, (int)&max_client,
"dictdir", get_str, (int)&dict_dir,
"readdict", get_list, (int)&read_dict,
"opendict", get_list, (int)&open_dict,
"errorout", get_str, (int)&error_file,
"logout", get_str, (int)&log_file,
"dirmode", get_int, (int)&dir_mode,
"filemode", get_int, (int)&file_mode,
"allowuser", get_list, (int)&allow_user,
0, 0, 0
};
--- 221,273 ----
u_char *(*optfunc)();
int optarg;
} option[] = {
+ /*
+ * Add option flag.
+ * Because They are lacked in here. See document.
+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10
+ */
"DebugOut", get_str, (int)&debug_file,
+ "debugout", get_str, (int)&debug_file,
"DebugLevel", get_int, (int)&debug_level,
+ "debuglevel", get_int, (int)&debug_level,
"ForkFlag", get_flag, (int)&fork_flag,
+ "forkflag", get_flag, (int)&fork_flag,
"PortName", get_str, (int)&port_name,
+ "portname", get_str, (int)&port_name,
#ifdef TLI
"PortNumber", get_str, (int)&port_number,
! "portnumber", get_str, (int)&port_number,
! "ProtoName", get_str, (int)&proto_name,
! "protoname", get_str, (int)&proto_name,
#else
"PortNumber", get_int, (int)&port_number,
+ "portnumber", get_int, (int)&port_number,
#endif
"SocketName", get_str, (int)&socket_name,
+ "socketname", get_str, (int)&socket_name,
#ifdef LOCK_FILE
"LockFile", get_str, (int)&lock_file;
+ "lockfile", get_str, (int)&lock_file;
#endif
+ "MaxClient", get_int, (int)&max_client,
"maxclient", get_int, (int)&max_client,
+ "DictDir", get_str, (int)&dict_dir,
"dictdir", get_str, (int)&dict_dir,
+ "ReadDict", get_list, (int)&read_dict,
"readdict", get_list, (int)&read_dict,
+ "OpenDict", get_list, (int)&open_dict,
"opendict", get_list, (int)&open_dict,
+ "ErrorOut", get_str, (int)&error_file,
"errorout", get_str, (int)&error_file,
+ "LogOut", get_str, (int)&log_file,
"logout", get_str, (int)&log_file,
+ "DirMode", get_int, (int)&dir_mode,
"dirmode", get_int, (int)&dir_mode,
+ "FileMode", get_int, (int)&file_mode,
"filemode", get_int, (int)&file_mode,
+ "AllowUser", get_list, (int)&allow_user,
"allowuser", get_list, (int)&allow_user,
0, 0, 0
};