Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!cornell!uw-beaver!tektronix!reed!nscpdc!djg From: djg@nscpdc.NSC.COM (Derek J. Godfrey) Newsgroups: comp.bugs.sys5 Subject: Re: CLOCAL, or catch-22 Message-ID: <894@nscpdc.NSC.COM> Date: Fri, 7-Aug-87 13:31:57 EDT Article-I.D.: nscpdc.894 Posted: Fri Aug 7 13:31:57 1987 Date-Received: Sun, 9-Aug-87 11:43:07 EDT References: <325@nsta.UUCP> Organization: National Semiconductor, Portland Development Center, Portland, OR Lines: 14 [] In article <325@nsta.UUCP>, amos@nsta.UUCP (Amos Shapir) writes: > One of the optional flags of the c_cflag field of termio is CLOCAL. ......... > However, the only way to set this flag is by a ioctl call; the ioctl > call needs a file-descriptor argument; a file-descriptor can only be > obtained by a successfull open call... > open the device once FNDELAY set CLOCAL and then open normaly or as you suggest supply DCD and DSR (and CTS).