Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mtndew!ctisbv!pim From: pim@cti-software.nl (Pim Zandbergen) Newsgroups: comp.unix.i386 Subject: Re: ISC 2.0.2, How to set baud rate on serial ports? Message-ID: <1990Aug29.131234.5599@cti-software.nl> Date: 29 Aug 90 13:12:34 GMT References: <9008280005.aa24338@PARIS.ICS.UCI.EDU> <1990Aug28.145215.29143@wolves.uucp> Organization: CTI Software BV, The Hague, The Netherlands Lines: 25 ggw@wolves.uucp (Gregory G. Woodbury) writes: >The answer is to have a command like: > sleep 10000 >/dev/tty02 & >preceed your > stty 9600 /dev/tty02 > cat /dev/tty02 >file Much simpler is: { stty 9600 0<&1 cat } < /dev/tty02 > file >For technical >completeness you should probably get the pid of the sleep command from >the variable "$!" and kill the sleep process after your transfer is done. This will then not be necessary anymore. -- Pim Zandbergen domain : pim@cti-software.nl CTI Software BV uucp : uunet!mcsun!hp4nl!ctisbv!pim Laan Copes van Cattenburch 70 phone : +31 70 3542302 2585 GD The Hague, The Netherlands fax : +31 70 3512837