🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #563

Re: CLOCAL, or catch-22

#563
From: Derek J. Godfrey
Date: Fri, 07 Aug 1987 17:31
14 lines
1015 bytes
[]



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).
Technical Details
Message-ID: <894@nscpdc.NSC.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!rochester!cornell!uw-beaver!tektronix!reed!nscpdc!djg
References: <325@nsta.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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