l...@datatel.com
Lee Sweet/Datatel, Inc.
why not use the -open switch to exp_spawn and open the device directly.
I think this is discussed in Libes' book. I use the following to open
a serial port at 1200 baud to talk to a modem:
set device /dev/cua/a
exp_spawn -open [open $device w+]
exp_stty raw < $device
exp_stty -echo istrip parity 1200 crtscts hupcl < $device
. . .
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Can I read repeatedly, ignore EOF, and have that work?
d.j.h...@acm.org wrote:
> why not use the -open switch to exp_spawn and open the device directly.
> 8<snip>8