Serial port baud rate under Win32

From: Grant Edwards <>
Date: Mon, 21 Jun 1999 10:41:08 -0500

Opening "COM1:" seems to work (at least when I write, bytes come out
the port), but I can't figure out how to set the buad rate.

Under Unix I do

   (system "stty 1200 </dev/ttyS0")

but the equivalent under Win32

   (system "mode COM1:1200")

seems to have no effect.

Anybody have any ideas?

Grant Edwards
Received on Mon Jun 21 1999 - 17:42:03 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST