Programming SIO

Steve O'Hara-Smith steve at sohara.org
Thu May 20 22:57:39 PDT 2004


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/


More information about the freebsd-current mailing list