Xref: utzoo comp.unix.aix:2630 comp.sys.ibm.pc.rt:1968 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!hslrswi!francis From: francis@hslrswi.UUCP (Francis Demierre) Newsgroups: comp.unix.aix,comp.sys.ibm.pc.rt Subject: Modem Lines control in RT AIX 2.2; How ? Keywords: RT AIX2.2 MODEM Message-ID: <1662@hslrswi.UUCP> Date: 15 Nov 90 11:58:58 GMT Organization: Hasler AG, CH-3000 Berne 14, Switzerland Lines: 28 Hi Netland, I'm using AIX 2.2 on an IBM PC RT and programming an application where I need to manipulate serial line signals. Namely, I'd like to turn the DCD pin on/off (Data Carrier Detect). I found in the bsd include (/usr/include/bsd/sys/ioctl.h) the BSD IOCTL commands and arguments to do this, i.e.: ioctl command: TIOCMBIS Set the line corresponding to 1 bits in mask TIOCMBIC Reset the line corresponding to 1 bits in mask ioctl arg: TIOCM_CAR or TIOCM_CD DCD line bit mask but they are here only for -DBSD_COMPILE_ONLY, to be able to compile/check the program and are not supported by AIX (see in the bsd/sys/ioctl.h file). I could not find how to perform the equivalent operations under AIX. Could any kind soul give me some help/pointer to the correct AIX way to do this ? Please E-mail any answer/comments directly to me. Thanks in advance, Francis. -- ------------------------------------------------------------------------------- Francis Demierre UUCP: ...!mcsun!chx400!hslrswi!francis Unix mail: francis@hslrswi.UUCP -------------------------------------------------------------------------------