Subject: Re: X & keyboard lockup
To: None <netbsd-help@netbsd.org>
From: Cheryl Trooskin <sev@byz.org>
List: netbsd-help
Date: 12/01/1998 17:45:43
Zach Fine (czyz@u.washington.edu) wrote:
> is restored, it might be some sort of race condition between XFree86's
> keyboard driver and NetBSD's,

I've never succeeded in repro'ing this problem but your speculation of 
a race condition reminded me of what's mentioned in the *BSD FAQ
(http://cynjut.neonramp.com/complete.faq.html#3.4.3):

: 3.4.3 : Why does X drop characters when using xdm? When I run xdm from
: the console, it keeps losing keystrokes and the shift keys don't always 
: work. Why?
: 
: You need to run xdm with the -nodaemon flag. The reason is xdm normally
: detaches from the keyboard.  This allows other processes (like getty) 
: to return to reading from the keyboard. A race condition results,
: where some keystrokes are sent to xdm and others are sent to other
: processes. Using the -nodaemon flag causes xdm to stay attached to the 
: keyboard so no other process can use it.
: This answer comes from
: Michael C. Newell (root@wanderer.nsi.nasa.gov) 
:
: This bit of trivia is also covered in detail in the X FAQ and the README
: that accompanies XFree86. 

sev

-- 
  sev is the studly femme & sysad at sev@byz.org (http://www.byz.org/~sev)
     "`"'"`"Eek!  It's a .sig virus!  It's spreading! -Alpha" -Olaf' 
            -Alpha" -J. Harley' -Meadow" -Alpha` -Andy"