Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!burl!codas!mtune!quincy!icus!lenny From: lenny@icus.UUCP Newsgroups: comp.sys.att Subject: Re: UNIX PC obm and uugetty Message-ID: <47@icus.UUCP> Date: Thu, 19-Nov-87 04:36:39 EST Article-I.D.: icus.47 Posted: Thu Nov 19 04:36:39 1987 Date-Received: Sun, 22-Nov-87 03:54:04 EST References: <27@icus.UUCP> <1331@mtune.ATT.COM> <281@arnold.UUCP> Reply-To: lenny@icus.UUCP (Lenny Tropiano) Distribution: world Organization: ICUS Computer Group, Islip, NY Lines: 31 Keywords: phone, data, voice, mode Summary: Reason why... In article <281@arnold.UUCP> dave@arnold.UUCP (Dave Arnold) writes: |In article <1331@mtune.ATT.COM>, jhc@mtune.ATT.COM (Jonathan Clark) writes: |> In article <27@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes: |> >That's not my problem.... My problem arises when I open /dev/ph1 while |> >there is a [uu]getty on the line. |> |> 2) Only one process can have a ph port open at a time - things get really |> confused and the second process just hangs forever on a read. | |Why? | Unless you can think of a way I can find out through a "C" program to see if /dev/ph1 is in VOICE or DATA without opening /dev/ph1 and doing a ioctl(filedes, PIOCGETP, &updata) and examining the structure for the line parameters. If you can help in this matter I would appreciate it! Thanks, Lenny -- ============================ US MAIL: Lenny Tropiano, ICUS Computer Group IIIII CCC U U SSSS PO Box 1 I C C U U S Islip Terrace, New York 11752 I C U U SSS PHONE: (516) 968-8576 [H] (516) 582-5525 [W] I C C U U S AT&T MAIL: ...attmail!icus!lenny TELEX: 154232428 IIIII CCC UUU SSSS UUCP: ============================ ...{uunet!godfre, mtune!quincy}!\ ...{ihnp4, boulder, harvard!talcott, skeeve, ptsfa}! >icus!lenny "Usenet the final frontier" ...{cmcl2!phri, hoptoad}!dasys1!/