Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 1998 07:48:14 -0800 (PST)
From:      Nick Sayer <nick@specialix.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5959: Cannot set up clocal gettys
Message-ID:  <199803091548.HAA25446@zephyr.specialix.com>

next in thread | raw e-mail | index | archive | help

>Number:         5959
>Category:       bin
>Synopsis:       Cannot set up clocal gettys
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  9 07:50:02 PST 1998
>Last-Modified:
>Originator:     Nick Sayer
>Organization:
Just me
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

There seems to be no documented way to set up gettys with clocal in effect.
Setting clocal in /dev/ttyid0 seems to be overridden when the getty actually
starts, and there is no flag I can find in gettytab that will set clocal.
Even setting the appropriate bits in c0, c1 and c2 doesn't seem to work.

>How-To-Repeat:

Set up a std.9600 getty on ttyd0, but don't kill -1 1 yet.
stty clocal < /dev/ttyid0
kill -1 1
stty -a </dev/ttyd0

The last stty will hang, because ttyd0 is waiting on a carrier
inappropriately.

>Fix:

As a workaround, you can fire up gettys on the cua devices, but that's
not really what they're for.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803091548.HAA25446>