From owner-freebsd-hackers Mon Sep 11 8:14:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from doorman.brann.org (remote-brann-gw.nyc.dsl.access.net [166.84.145.254]) by hub.freebsd.org (Postfix) with ESMTP id 7229A37B42C for ; Mon, 11 Sep 2000 08:14:55 -0700 (PDT) Received: from freebie.brann.org (freebie.brann.org [10.0.0.2]) by doorman.brann.org (8.9.3/8.9.3) with ESMTP id LAA77944; Mon, 11 Sep 2000 11:14:49 -0400 (EDT) (envelope-from john@brann.org) Received: (from john@localhost) by freebie.brann.org (8.9.3/8.9.3) id LAA70731; Mon, 11 Sep 2000 11:14:40 -0400 (EDT) (envelope-from john) Date: Mon, 11 Sep 2000 11:14:40 -0400 From: John Brann To: Mike Nowlin Cc: hackers@freebsd.org Subject: Re: [john: tty behaviour] Message-ID: <20000911111439.A70712@freebie.brann.org> References: <20000907095254.A52345@freebie.brann.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from mike@argos.org on Fri, Sep 08, 2000 at 02:04:52AM -0400 Organization: Not while I'm at home X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Sep 08, 2000 at 02:04:52AM -0400, Mike Nowlin wrote: > > > I sent this to questions a couple of weeks ago, but didn't receive any > > helpful replies. Anyone doing this - two machines connected by a null-modem > > cable with the ability to create a serial terminal session from either > > side, with suitable juggling of getty processes? > > Used to do this in Linux w/o any problems... Just make sure that each > side waits for CD to go high before actively "starting" the getty > process, and that DTR is NOT asserted while the lines are idle. Kick up > kermit (or whatever) on the box 1, and the DTR signal from box 1 goes to > CD of box 2 - box 2 sends a login prompt, and life is good. > > (If memory's working, I had to beat up getty a bit to keep DTR low when it > was idle, but that wasn't too difficult - one ioctl at the appropriate > place... If I remember, I'll look at this a little more carefully when > I'm not so fried.) > > mike > Thanks for the reply. My guess on this is that the serial console on box 1 is keeping DTR high, hence preventing me from switching 'direction' on the serial line. If you have any more thoughts, please let me know. John -- Unreal City, Under the brown fog of a winter dawn, finger john@doorman.brann.org for pgp public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message