The stty changes will be lost when the last stream closes and the port
settings are reset, which is probably the very instant that the stty
command which makes the changes exits in your example. So this will only
work if something else is holding the port open. That's why I said try
it when tip is running.
Alternatively, just to check you can change the parameter, use some
other command in another window to keep it open, such as
sleep 10000 < /dev/cua/0
Reginald Beardsley wrote:
Andrew,
There are no serial ports and hence no /dev/term/b on this system. In fact if the
USB<->RS-232 adapter is not plugged in, there is no /dev/term or /dev/cua
either. Which may explain some of the weirdness when I was setting up the port as I
don't think I had plugged in the Keyspan adapter when I started configuring it.
/dev/{term,cua}/0 don't get created until you plug in the adapter and disappear when
you unplug it.
ttymon holds /dev/term/0, so even root or uucp cannot open /dev/term/0. stty
just hangs until interrupted. Everything I've read suggests that it is not
possible to have a port be outbound only and that is must be bidirectional.
However, I've not attempted to test that. I've got enough annoyance as it is.
However, I can see lots of opportunity for trouble w/ ttymon running on a port
that goes away when the USB-serial adapter is unplugged.
I can open /dev/cua/0 w/ stty, but do not seem to be able to make any changes.
--
Andrew
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss