*BSD News Article 19154


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!uknet!mcsun!sun4nl!relay.philips.nl!cnplss5.cnps.philips.nl!bashful.isp.cft.philips.nl!rooij
From: rooij@bashful.isp.cft.philips.nl (Guido van Rooij)
Subject: Re: Using the sio ports with a Modem
Message-ID: <1993Aug4.072326.27151@cnplss5.cnps.philips.nl>
Sender: news@cnplss5.cnps.philips.nl (USENET News System)
Organization: Philips Communications & Processing Services, Eindhoven
References: <23ihduINNpre@kralizec.zeta.org.au> <1993Aug3.051002.2690@fcom.cc.utah.edu> <1993Aug3.092159.1696@cnplss5.cnps.philips.nl> <CB76y1.3xG@sugar.NeoSoft.COM>
Date: Wed, 4 Aug 1993 07:23:26 GMT
Lines: 17

peter@NeoSoft.com (Peter da Silva) writes:

>In article <1993Aug3.092159.1696@cnplss5.cnps.philips.nl> rooij@bashful.isp.cft.philips.nl (Guido van Rooij) writes:
>> According to me, if a program wants the signal delivery it either sets
>> clocal or makes the line its controlling tty. 

>I'm sorta confused here about the semantics. If clocal is set, the value
>of DCD is ignored, so how do you ever get signal delivery? Don't you need
You are right, I meant if clocal is clear.
>to clear clocal *and* set the control terminal?
No, look in tty.c, function ttymodem().
>-- 
>Peter da Silva.  <peter@sugar.neosoft.com>.
> `-_-'   Hefur thu fadhmadh ulfinn i dag?
>  'U`    
>"Det er min ledsager, det er ikke drikkepenge."
-Guido