From owner-freebsd-hackers Thu Dec 22 05:27:51 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA00514 for hackers-outgoing; Thu, 22 Dec 1994 05:27:51 -0800 Received: from ns.GE.com (ns.ge.com [192.35.39.24]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id NAA00503 for ; Thu, 22 Dec 1994 13:27:47 GMT Received: from [3.19.120.24] by ns.GE.com (5.65/GE Gateway 1.29) with SMTP id AA25744; Thu, 22 Dec 1994 08:27:34 -0500 Message-Id: <9412221327.AA25744@ns.GE.com> Received: by burg.is.ge.com (1.38.193.4/16.2) id AA28852; Thu, 22 Dec 1994 14:23:54 +0100 Date: Thu, 22 Dec 1994 14:23:54 +0100 From: Dick van den Burg To: bde@zeta.org.au Cc: bde@zeta.org.au, hackers@freebsd.org In-Reply-To: <199412221237.XAA04236@godzilla.zeta.org.au> (message from Bruce Evans on Thu, 22 Dec 1994 23:37:45 +1100) Subject: Re: bidirectional ports ? Sender: hackers-owner@freebsd.org Precedence: bulk > Date: Thu, 22 Dec 1994 23:37:45 +1100 > From: Bruce Evans > Cc: hackers@freebsd.org > > >Yes, of course getty has /dev/ttyd0 open. That is exactly the problem. > >How can I start a getty without without it opening the device? > > Don't have carrier present when there is no connection. Then getty will > block while opening the device and "ps lax" will show /usr/libexec/[getty] > sleeping on "siodcd". > Thanks, I am slowly getting there. My one problem is that the getty does not die, once the modem has picked up the phone (no carrier, just call in, and hang up the phone). The wait state changes to ttyin. When I kill the getty it changes to sciodtr and when I power the modem on/off it goes back to sciodcd. How can I get the getty to die after I hang up the phone? I thought that 'hc' in my gettytab would do the trick, but obviously it is not enough. my gettytab entry is std.38400|38400-baud:np:sp#38400:hc Any more wise words? Thanks again ... Dick >