From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e3099b4fe5bc6a14 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-27 01:45:49 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@hp.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: Serial Port Help Date: 27 Sep 2002 01:45:49 -0700 Organization: http://groups.google.com/ Message-ID: <7aabdf42.0209270045.5bf5e2d@posting.google.com> References: <8a7c01bb.0209260114.501b2518@posting.google.com> NNTP-Posting-Host: 161.114.126.51 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1033116349 6216 127.0.0.1 (27 Sep 2002 08:45:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 27 Sep 2002 08:45:49 GMT Xref: archiver1.google.com comp.unix.tru64:8741 > 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 = ; kill = ^U; intr = ^C; quit = ^\ susp = ^Z; dsusp = ; eof = ^D; eol = ; eol2 = stop = ^S; start = ^Q; lnext = ; discard = ; reprint = status = ; 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