Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 1998 17:42:39 -0800 (PST)
From:      mevans@ecsnet.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/9003: Tk/TCL Programs freeze keyboard when they exit.
Message-ID:  <199812080142.RAA19170@hub.freebsd.org>

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

>Number:         9003
>Category:       kern
>Synopsis:       Tk/TCL Programs freeze keyboard when they exit.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec  7 17:50:00 PST 1998
>Last-Modified:
>Originator:     Mark R. Evans
>Organization:
The ECS Network
>Release:        3.0-CURRENT
>Environment:
FreeBSD alpha.ecsnet.com 3.0-CURRENT FreeBSD 3.0-CURRENT #13: Mon Dec  7 19:24:29 CST 1998     mevans@alpha.ecsnet.com:/usr/src/sys/compile/ALPHA  i386
>Description:
Any X based Tk/Tcl program will cause the keyboard to freeze 
under X Windows when the Tk/Tcl program exits.  I have tracked the
problem to a change made to /usr/src/sys/kern/tty.c on Nov 22 by bde
where he made the following change:

o Handle c_ispeed = 0 to c_ispeed = c_ospeed conversion here instead
of in drivers and fix drivers that write to tp->t_termios.

The system does NOT freeze, a Ctrl-Backspace will exit X and the system 
now responds as normal.  Duplicated under X 3.3.2 and 3.3.3.
>How-To-Repeat:
Run any Tk/TCL based program (either the 4.x or 8.x versions).  Exit the
program and the keyboard will lock under X.  May be hardware dependent.
I have duplicated on two different systems:  Pentium 233 w/64meg RAM, 
IDE HD, SVGA X Driver.  Pentium II 300 w/128meg RAM, IDE HD, SCSI HD,
SVGA X Driver.  Both systems have Matrox display adapters.
>Fix:
Backed out the change to tty.c and everything works fine.  Could be that
updates to drivers (which ones?) may be required before tty.c change 
can become effective?
>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?199812080142.RAA19170>