James Carlson <carls...@workingcode.com> 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:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code