Date: Mon, 11 Sep 2000 11:14:40 -0400 From: John Brann <john@brann.org> To: Mike Nowlin <mike@argos.org> Cc: hackers@freebsd.org Subject: Re: [john: tty behaviour] Message-ID: <20000911111439.A70712@freebie.brann.org> In-Reply-To: <Pine.LNX.4.21.0009080154040.6054-100000@jason.argos.org>; from mike@argos.org on Fri, Sep 08, 2000 at 02:04:52AM -0400 References: <20000907095254.A52345@freebie.brann.org> <Pine.LNX.4.21.0009080154040.6054-100000@jason.argos.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000911111439.A70712>
