[TUHS] 4.3BSD help: getty ignoring modem status

Noel Chiappa jnc at mercury.lcs.mit.edu
Sun Mar 19 16:37:12 AEST 2017


    > From: Warren Toomey

    > So, DCD and CTS are being dropped, but getty (or something) isn't
    > responding and (presumably) sending a HUP signal to the shell.
    > Is there anybody with some modem or getty knowledge that can help?

I know very little of 4.x, but I did write a V6 DZ driver, back in the
Cenozoic or some such time period... :-)

Looking at the 4.3Tahoe (which particular 4.3 version is in question here,
anyway?) DZ driver:

  http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Tahoe/usr/src/sys/vaxuba/dz.c

I find it hard (without further digging) to figure out how it gets from where
it should discover carrier has gone away (in dzrint(), from dztimer()) to the
rest of the system; they have added some linesw[] thing I don't know about.

Looking at the 4.2 driver:

  http://minnie.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/vaxuba/dz.c

it seems (in the same routine) to do the right thing:

               gsignal(tp->t_pgrp, SIGHUP);

so in that version, it's sending a SIGHUP to the whole pgroup when the
carrier goes away - which should be the right thing.

	Noel


More information about the TUHS mailing list