Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!rutgers!ames!ptsfa!pacbell!pbhyf!pjc From: pjc@pbhyf.UUCP (Paul Condie) Newsgroups: comp.sys.att Subject: Re: UNIX PC obm and uugetty Message-ID: <2430@pbhyf.UUCP> Date: Sun, 22-Nov-87 20:57:25 EST Article-I.D.: pbhyf.2430 Posted: Sun Nov 22 20:57:25 1987 Date-Received: Wed, 25-Nov-87 05:34:44 EST References: <27@icus.UUCP> <1331@mtune.ATT.COM> <281@arnold.UUCP> <47@icus.UUCP> Reply-To: pjc@pbhyf.UUCP (Paul Condie) Organization: Pacific * Bell, San Ramon, CA Lines: 10 Keywords: phone, data, voice, mode >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! > The contents of the LCK.. file will tell you whether it is voice or data.