Article View: fj.sources.d
Article #117Re: jelvis 1.6+j1.0
From: Jun-ichiro ITOH
Date: Fri, 02 Oct 1992 13:15
Date: Fri, 02 Oct 1992 13:15
93 lines
2533 bytes
2533 bytes
$B$$$H$B$e$s$G$9!#99$K%P%0%U%#%C%/%9$G$9!#(B
3) ctrl-SPACE(NUL)$B$rF~NO$9$k$H(Belvis$B$+$iH4$1$F$7$^$&!#(B
$BEl5~Bg3X9)3XIt$N@n>eOBI'$5$s$+$i8f;XE&D:$-$^$7(B$B$?!#(B
----$B$3$3$+$i(B
*** kanji.org Thu Oct 01 22:55:56 1992
--- kanji.c Fri Oct 02 21:59:40 1992
***************
*** 749,760 ****
int time;
{
static char preserve[KEYBUFSIZE] = "";
static int kflag = FALSE;
static int pack = 0;
static int sequence = 0;
int ret;
int i;
- int j;
do
{
--- 749,760 ----
int time;
{
static char preserve[KEYBUFSIZE] = "";
+ static int j = 0;
static int kflag = FALSE;
static int pack = 0;
static int sequence = 0;
int ret;
int i;
do
{
***************
*** 763,769 ****
else
ret = ttyread(buf, len, time);
i = 0;
- j = strlen(preserve);
/*timeout*/
if (!ret)
--- 763,768 ----
***************
*** 782,788 ****
preserve[j++] = pack;
pack = 0;
}
- preserve[j] = '\0';
break;
}
--- 781,786 ----
***************
*** 876,888 ****
preserve[j++] = buf[i++];
}
}
- preserve[j] = '\0';
}
} while (sequence || pack || (!time && !j));
! strcpy(buf, preserve);
preserve[0] = '\0';
! return strlen(buf);
}
#endif /*KANJI*/
--- 874,887 ----
preserve[j++] = buf[i++];
}
}
}
} while (sequence || pack || (!time && !j));
! memcpy(buf, preserve, j);
! ret = j;
preserve[0] = '\0';
! j = 0;
! return ret;
}
#endif /*KANJI*/
----$B$3$3$^$G(B
--
$B$$$H$B$e$s(B@mt.cs.keio.ac.jp($B0KF#=c0lO:(B)
$B7DXf5A=NBg3XM}9)(B$B3XIt(B $BEE5$9)3X2J(B/$B8&5f2J7W;;5!2J3X@l96(B $B=j8&5f<<(B
itojun@mt.cs.keio.ac.jp itojun@foretune.co.jp
jinNet itojun addNet itojun
ESD/$B%(%s%2%k78?t8~>e0Q0w2q%=%U%H%&%'%"J,2J2q(B
Technical Details
Message-ID:
<ITOJUN.92Oct2221552@glock.mt.cs.keio.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!kogwy!cs-keio!itojunReferences:
<ITOJUN.92Oct2015756@dink.foretune.co.jp> <ITOJUN.92Oct2133252@glock.mt.cs.keio.ac.jp>Show Full Headers
Complete Article Headers
Newsgroups: fj.sources.d Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!sh.wide!kogwy!cs-keio!itojun From: itojun@mt.cs.keio.ac.jp (Jun-ichiro ITOH) Subject: Re: jelvis 1.6+j1.0 In-Reply-To: itojun@mt.cs.keio.ac.jp's message of Fri, 2 Oct 1992 13:32:52 JST Message-ID: <ITOJUN.92Oct2221552@glock.mt.cs.keio.ac.jp> Sender: news@sync.cs.keio.ac.jp Nntp-Posting-Host: mt-sync-relay.mt.cs.keio.ac.jp Organization: Tokoro Laboratory, Keio University, Yokohama Japan. References: <ITOJUN.92Oct2015756@dink.foretune.co.jp> <ITOJUN.92Oct2133252@glock.mt.cs.keio.ac.jp> Distribution: fj Date: Fri, 2 Oct 1992 13:15:52 GMT Lines: 93