*BSD News Article 24707


Return to BSD News archive

Xref: sserve comp.unix.bsd:13036 comp.unix.aix:30305
Newsgroups: comp.unix.bsd,comp.unix.aix
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!icus!micrtk!ray
From: ray@micrtk.cactus.org (Ray Schafer)
Subject: Re: Need Getty Modem Control Details
Message-ID: <CHJ2vA.zF@micrtk.cactus.org>
Keywords: getty, modem, control, open
Organization: Blue Skies
References: <2dj61f$81f@jac.zko.dec.com>
Date: Sat, 4 Dec 1993 20:42:31 GMT
Lines: 25

In article <2dj61f$81f@jac.zko.dec.com>,
Roy Tarantino <rdt@unxrdt.unx.dec.com> wrote:
>
>Hi, 
>
>I need to find out exactly how getty deals with dial 
>in lines and what the relationship between modem 
>control signals and the behavior of getty
>and tty device drivers under various unix systems are.
>
>For example, I noticed that under aix, an 
>open("/dev/ttyxx", O_RDRWR) with a modem connected 
>to it, does not return until a call comes in (the modems
>sync and carrier comes up). However, on bsd and osf systems,
>the same call  returns immediately.  Could someone explain
>what is happening and/or refer me to a good reference.

See POSIX.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ray Schafer                       |Internet: ray@micrtk.cactus.org       
4302 Tamarack Trail               |UUCP:..!cs.utexas.edu!taliesin!micrtk!ray
Austin, Texas 78727               |Ma Bell: (512) 218-8455