Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 Unisoft-Cosmos; site kepler.UUCP
Path: utzoo!decvax!ucbvax!ucdavis!lll-crg!well!micropro!kepler!Michael Brant
From: Michael Brant@kepler.UUCP (Michael Brant)
Newsgroups: net.micro.att,net.unix
Subject: UNIX PC 7300 modem
Message-ID: <333@kepler.UUCP>
Date: Tue, 5-Nov-85 13:57:27 EST
Article-I.D.: kepler.333
Posted: Tue Nov  5 13:57:27 1985
Date-Received: Thu, 7-Nov-85 05:03:09 EST
Distribution: na
Organization: MicroPro Int'l Corp., San Rafael, CA
Lines: 19
Xref: ucbvax net.micro.att:693 net.unix:6397

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