Date: Mon, 23 Jun 1997 19:42:14 +0000 (GMT) From: Adam David <adam@veda.is> To: terry@lambert.org (Terry Lambert) Cc: terry@lambert.org, freebsd-current@FreeBSD.ORG Subject: Re: getty modem control Message-ID: <199706231942.TAA26178@veda.is> In-Reply-To: <199706231818.LAA01042@phaeton.artisoft.com> from Terry Lambert at "Jun 23, 97 11:18:33 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > I can cu the device and get a normal response without carrier present. > > However, getty times out trying to send the data, with no flicker on the > > modem TXD. > > I assume this is your modified getty, since regular getty doesn't > send data, right? Mods by David Nugent, which have been in the tree for several months now already. Yes, this is a modified gettytab, since the standard gettytab doesn't cause any command data to be sent. > Look at how 'cu' opens the port. Pay special attention to the > CLOCAL and HUPCL settings. > > Note that you MUST be -CLOCAL, HUPCL for correct dial-in operation > (ie: a modem hangup without logout sends SIGHUP to all processes > in the process group to cause a logout, and logging out drops DTR > to modem to cause it to disconnect). Yes, this is probably where we need to be looking. > Talking to the modem from getty is evil. Something has to initialise it (and reassert initialisation). Also it is useful to interact with the modem on RING, CONNECT and hangup events. -- Adam David <adam@veda.is>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706231942.TAA26178>