Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!swrinde!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!sh.wide!wnoc-kyo!kuis!kudpc!nucc!nitgw!rokugogw!masuda From: masuda@rokugo.co.jp (Yoshihiro Masuda) Subject: Re: [386bsd] can't deal with 8-bit input Message-ID: <1992Nov16.140010.6328@rokugo.co.jp> Reply-To: masuda@babel.ics.nitech.ac.jp Organization: Rokugo System ELC.,Co.,LTD. References: <veit.721907190@du9ds3> Date: Mon, 16 Nov 1992 14:00:10 GMT Lines: 43 libove@libove.det.dec.com (libove@libove.det.dec.com) writes: : In <1992Nov16.081801.15019@kum.kaist.ac.kr> jbkang@csking.kaist.ac.kr (Joongbin Kang) writes: : > % cat : > xxxx(entered korean characters -- it can be seen when typing) : > (but no echo to tty!) : > ^D (this DIDN'T work) : > ^C : > % : > So, what's the problem? If I cannot use hangul in 386bsd, it loses : > practicality...Help! : : > Joongbin Kang : : Just a question: you have entered : stty -istrip cs8 : didn't you? May be,this should be work. *** /sys/kern/tty_ring.c.orig Sun Nov 8 18:44:44 1992 --- /sys/kern/tty_ring.c Sun Nov 8 18:45:50 1992 *************** *** 155,161 **** catb(from, to) struct ringb *from, *to; { ! char c; while ((c = getc(from)) >= 0) putc(c, to); --- 155,161 ---- catb(from, to) struct ringb *from, *to; { ! register c; while ((c = getc(from)) >= 0) putc(c, to); -- masuda@rokugo.co.jp $@A}ED2BBY(J@$@O;9g%7%9%F%`EE;R9)6H(J $@$^$9$@$h$7$R$m(J@$@$m$/$4$&$7$9$F$`$G$s$7$3$&$.$g$&(J $@:#7n$N$*8@MU(J: $@J$?eK_$KJV$i$:(J($@2u$l$?(Jdisk $@$N%G!<%?$OLa$C$FMh$J$$(J;_;)