From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Nov 18 12:04:59 1997
Received: by jaz.jp.freebsd.org (8.8.8+2.7Wbeta7/8.7.3) id MAA03924
	Tue, 18 Nov 1997 12:04:59 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+2.7Wbeta7/8.7.3) with ESMTP id MAA03919
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 18 Nov 1997 12:04:57 +0900 (JST)
Received: (from hanada@localhost) by cosmos.syslabo.co.jp (8.8.7/3.4W2) id MAA07796; Tue, 18 Nov 1997 12:07:17 +0900 (JST)
Date: Tue, 18 Nov 1997 12:07:17 +0900 (JST)
Message-Id: <199711180307.MAA07796@cosmos.syslabo.co.jp>
From: =?ISO-2022-JP?B?GyRCMlZFRBsoQg==?= =?ISO-2022-JP?B?GyRCQDUbKEI=?=
	=?ISO-2022-JP?B?GyRCPiEbKEI=?= <hanada@syslabo.co.jp>
To: FreeBSD-users-jp@jp.freebsd.org
Cc: hanada@syslabo.co.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
X-Mailer: mnews [version 1.20] 1996-12/08(Sun)
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-users-jp 20834
Subject: [FreeBSD-users-jp 20834] tip
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B2VED!w%7%9%F%`%i%\%i%H%j!<$H?=$7$^$9!#(B

$B65$($FM_$7$$$N$G$9$,(B FreeBSD-2.2.5-RELASE $B$G(B 2$BBf$N%^%7%s$r(B
$B%7%j%"%k$r;H$C$F@\B3$7$F$$$^$9!#$3$N%^%7%s$r2>$K#A!$#B$H$7$^$9!#(B

$B#A$N%^%7%s$O(B
/etc/remote:
cuaa0a|cua0a:pa=none:dv=/dev/cuaa0:br#115200
cuaa0b|cua0b:pa=none:dv=/dev/cuaa0:br#57600
cuaa0c|cua0c:pa=none:dv=/dev/cuaa0:br#38400
cuaa0d|cua0d:pa=none:dv=/dev/cuaa0:br#19200
cuaa0e|cua0e:pa=none:dv=/dev/cuaa0:br#9600

/etc/ttys:
console	none				unknown	off secure
#
ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure
# Virtual terminals
ttyv1	"/usr/libexec/getty Pc"		cons25	on secure
ttyv2	"/usr/libexec/getty Pc"		cons25	on secure
ttyv3	"/usr/libexec/getty Pc"		cons25	off secure
# Serial terminals
ttyd0	"/usr/libexec/getty std.115200"	vt100	on secure
ttyd1	"/usr/libexec/getty std.9600"	unknown	off secure
ttyd2	"/usr/libexec/getty std.9600"	unknown	off secure
ttyd3	"/usr/libexec/getty std.9600"	unknown	off secure

/etc/rc.serial:
stty -f /dev/ttyid0 -hupcl -clocal 115200 crtscts
stty -f /dev/ttyd0 -hupcl -clocal 115200 crtscts


$B#B$N%^%7%s$O(B
/etc/remote:
cuaa0a|cua0a:pa=none:dv=/dev/cuaa0:br#115200
cuaa0b|cua0b:pa=none:dv=/dev/cuaa0:br#57600
cuaa0c|cua0c:pa=none:dv=/dev/cuaa0:br#38400
cuaa0d|cua0d:pa=none:dv=/dev/cuaa0:br#19200
cuaa0e|cua0e:pa=none:dv=/dev/cuaa0:br#9600

/etc/ttys:
console	none				unknown	off secure
#
ttyv0	"/usr/libexec/getty Pc"		cons25	on  secure
# Virtual terminals
ttyv1	"/usr/libexec/getty Pc"		cons25	on secure
ttyv2	"/usr/libexec/getty Pc"		cons25	on secure
ttyv3	"/usr/libexec/getty Pc"		cons25	off secure
# Serial terminals
ttyd0	"/usr/libexec/getty std.115200"	vt100	off secure
ttyd1	"/usr/libexec/getty std.9600"	unknown	off secure
ttyd2	"/usr/libexec/getty std.9600"	unknown	off secure
ttyd3	"/usr/libexec/getty std.9600"	unknown	off secure

/etc/rc.serial:
stty -f /dev/ttyid0 -hupcl -clocal 115200 crtscts
stty -f /dev/ttyd0 -hupcl -clocal 115200 crtscts


$B$H$$$&$h$&$J@_Dj$,DI2C$7$F$"$j$^$9!#$3$N>uBV$G#B$N%^%7%s$+$i(B
tip cuaa0a 
$B$G#A$N%^%7%s$K@\B3$7$^$9!#$3$3$G%m%0%$%s$O$-$A$s$H$G$-$^$9!#(B
$B$=$3$G!"%m%0%$%s$7$?>uBV$G(B
~t
$B$r<B9T$7(B
~[take] from to 
$B$H%U%!%$%kL>$rF~$l$F%U%!%$%k(B(text)$B$r#B$KE>Aw$7$^$9!#(B
$B$3$l$O$-$A$s$HAw$l$^$9!#(B
$B$7$+$7!"(B
~[put] from to 
$B$G%U%!%$%k$r#B$+$i#A$KLa$=$&$H$9$k$H(B

sio0: 1 more silo overflow (total 1)
sio0: 648 more tty-level buffer overflows (total 648)
sio0: 1153 more tty-level buffer overflows (total 1801)

$B$H#B$N%^%7%s$G=P$^$9!##A$N%^%7%s(B($B#B$N%^%7%s$N(Btip $B>e(B)$B$G$O(B
 21 lines transferred in 0 seconds
!
stty -echo;ca#test
test
ets
test
ets

$B$H$J$j%G!<%?$,2hLL>e$K=P$F$7$^$$J]B8$7$F$/$l$^$;$s!#$I$&$d$i%P%C%U%!!<$,0n$l$F$$$k$h$&$J$N$G$9$,(B
$B$?$^$K>.$5$J%U%!%$%k$G@.8y$9$k;~$O(B
stty -echo;cat > test
$B$N$h$&$K$J$j$^$9!#(B
$B<B:]$N%U%!%$%k$O(B6139 $B%P%$%HDxEY$N%U%!%$%k$G$9!#(B
$B$3$N$h$&$J>l9g2?$,860x$J$N$G$7$g$&$+!)$^$?!"$I$N$h$&$K$9$l$P2r7h$9$k$N$G$7$g$&$+!)(B
$B65$($FD:$1$l$P9,$$$G$9!#(B

$B59$7$/$*4j$$CW$7$^$9!#(B


-----------------------------------------
$B2VED(B  $B@5>!(B (Masakatsu Hanada)             
$B%7%9%F%`%i%\%i%H%j!<3t<02q<R(B $B5WN1JF1D6H=j(B
Tel: 0942-37-6100($BBe(B) Fax: 0942-37-6151
E-mail: hanada@syslabo.co.jp
URL: http://www.syslabo.co.jp/~hanada/
