*BSD News Article 19161


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!menudo.uh.edu!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: Using the sio ports with a Modem
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Wed, 4 Aug 1993 11:32:55 GMT
Message-ID: <CB8G2w.B7v@sugar.NeoSoft.COM>
References: <1993Aug3.092159.1696@cnplss5.cnps.philips.nl> <CB76y1.3xG@sugar.NeoSoft.COM> <1993Aug4.072326.27151@cnplss5.cnps.philips.nl>
Lines: 24

In article <1993Aug4.072326.27151@cnplss5.cnps.philips.nl> rooij@bashful.isp.cft.philips.nl (Guido van Rooij) writes:
> peter@NeoSoft.com (Peter da Silva) writes:
> >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().

I'll do that, but I'm really talking in a broader philosophical sense. So far
as I can recall, you've never been able to get a SIGHUP on any version of UNIX
unless both of those conditions are true. It's not clear to me what the effects
of sending SIGHUP to other processes than the ones in the process group for
that terminal are.

For example, if I'm dialed in via one modem, dial out via another, how does
it know which line hung up?
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Hefur thu fadhmadh ulfinn i dag?
  'U`    
"Det er min ledsager, det er ikke drikkepenge."