From: emmanuel.choquet@hp.com (Emmanuel Choquet)
Subject: Re: Serial Port Help
Date: 27 Sep 2002 01:45:49 -0700 [thread overview]
Message-ID: <7aabdf42.0209270045.5bf5e2d@posting.google.com> (raw)
In-Reply-To: xGNk9.10813$Cz.1174584@twister.neo.rr.com
> Well that command is for printing, but you did send me in the right
> direction. I found that I need to use the slattach command and the two
> serial ports are tty00 and tty01.
>
> Thanks
>
> Brian
No, it is for setting a tty as well, here is an example on
setting/unsetting parity on /dev/tty00
toybox-26-# tty
/dev/pts/6
toybox-22-# stty -af /dev/tty00
speed 9600 baud; 0 rows; 0 columns
erase = ^H; werase = <undef>; kill = ^U; intr = ^C; quit = ^\
susp = ^Z; dsusp = <undef>; eof = ^D; eol = <undef>; eol2 = <undef>
stop = ^S; start = ^Q; lnext = <undef>; discard = <undef>; reprint =
<undef>
status = <undef>; time = 0; min = 1
-parenb -parodd cs8 -cstopb -hupcl cread clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl
-iuclc
ixon -ixany -ixoff -imaxbel
isig icanon -xcase echo -echoe -echok -echonl -noflsh -mdmbuf -nohang
-tostop -echoctl -echoprt -echoke -altwerase -iexten -nokerninfo
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tabs -onoeot
dtr = on; dsr = off; rts = on; cts = off; dcd = off
toybox-23-#
toybox-23-# stty -af /dev/tty00 | grep paren
-parenb -parodd cs8 -cstopb -hupcl cread clocal -crtscts
toybox-24-#
toybox-24-# stty -f /dev/tty00 parenb
toybox-25-#
toybox-25-# stty -af /dev/tty00 | grep paren
parenb -parodd cs8 -cstopb -hupcl cread clocal -crtscts
toybox-26-#
toybox-26-#
cheers
prev parent reply other threads:[~2002-09-27 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 0:23 Serial Port Help netflyer
2002-09-26 9:14 ` fred006
2002-09-26 23:01 ` netflyer
2002-09-27 0:32 ` netflyer
2002-09-27 8:45 ` Emmanuel Choquet [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox