James Carlson <[email protected]> wrote: > TIOCMIWAIT, though, sounds like an interesting addition. > > The best you can do for TIOCMIWAIT is to open the /dev/cua/ node in > blocking mode in order to wait for DCD assertion. There's no way to > wait for any of the other input signals (such as CTS or RI).
It may sound interesting, but it is something that orevents reliable modem usage. /dev/cua/* and /dev/tty/* are implemented in Solaris in a way that either allows to open /dev/cua/* or /dev/tty/* depending on whether there is a carrier or not. If you do it in a different way, ingoing and outgoing programs may confuse each other. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
