UNIX PC 7300 modem

Michael Brant MichaelBrant at kepler.UUCP
Wed Nov 6 04:57:27 AEST 1985


I am working on a telecommunications package for the UNIX PC 7300.
The package is written in C.  I am using dial(3c) and ioctl()'s to access
the internal modems and external modems like a Hayes Smartmodem.  I have
the package working pretty well but have run across a couple of problems
that I need help with.  Responses mailed to me will be greatly appreciated.

(1) How do I send a BREAK?

(2) How can I detect a dropped carrier signal if
       1) the phone device is in non-blocking mode (O_NDELAY set) and
       2) lv.c_linestatus from an ioctl(fd,PIOCGETP,&lv) call always 
          returns zero?  (dial(3c) was used to open the device with 
          telno = NULL and modem = 1.)

-- 
Michael Brant, MicroPro International Corporation
UUCP: {ptsfa,hplabs,glacier,lll-crg}!well!micropro!kepler!michaelb
                    {ucbvax, decwrl}!dual!micropro!kepler!michaelb
By phone: 415-499-4181



More information about the Comp.unix mailing list