Date: Fri, 21 May 2004 06:57:20 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: anton@nikiforov.ru Cc: current@freebsd.org Subject: Re: Programming SIO Message-ID: <20040521065720.70fbe0f2.steve@sohara.org> In-Reply-To: <40AD03D7.30309@nikiforov.ru> References: <40AD03D7.30309@nikiforov.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 May 2004 23:15:35 +0400 Anton Nikiforov <anton@nikiforov.ru> wrote: AN> Dear All, AN> could someone help me with subj. AN> I started to program the async port and do need to open it for reading AN> AN> in 9600,7,N,1 mode. AN> stty -f /dev/ttyd0 cs7 Try stty -f /dev/ttyld0 cs7 - the stty you tried will set the mode and then it will reset to the lock state next time the port is opened, running stty on the lock device will change the lock state. -- C:>WIN | Solar Thermal Systems The computer obeys and wins. | http://www.soleire.com/ You lose and Bill collects. | Directable Mirror Arrays | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040521065720.70fbe0f2.steve>