Re: Programming SIO

From: Steve O'Hara-Smith <steve_at_sohara.org>
Date: Fri, 21 May 2004 06:57:20 +0100
On Thu, 20 May 2004 23:15:35 +0400
Anton Nikiforov <anton_at_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/
Received on Thu May 20 2004 - 20:57:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC