[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kbd.diff (X loses keyboard on trivial operation)
From: |
Marcus Brinkmann |
Subject: |
Re: kbd.diff (X loses keyboard on trivial operation) |
Date: |
Mon, 4 Nov 2002 01:35:53 +0100 |
User-agent: |
Mutt/1.4i |
On Mon, Oct 28, 2002 at 02:55:29PM -0500, David Walter wrote:
> X loses keyboard on trivial operation
>
> ls -l /dev/kbd
>
> The kbd translator formerly believed it needed to start a new thread
> for every open call. It also _closed_ the device after every
> corresponding close_hook call.
(similar for mouse). Thanks for fixing this David! The mouse and kbd
translators are certainly buggy and horrible. I never investigated it, but
this looks a fix that could solve the problems I had with them.
You might have wondered why they are not part of the CVS repository. This
is because they are so similar that there should be a library handling this
kind of translators. This is what was called libchannel (aka libstream),
and should be analogous to libstore. The dynamically loadable modules would
take care of the device specific handling. Writing libchannel is one of the
subprojects that nobody has picked up yet, although a lot of code could be
c&p'ed with slight variations from libstore and possibly my console client.
I will put your patches in the next Debian package.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus@gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
- Re: kbd.diff (X loses keyboard on trivial operation),
Marcus Brinkmann <=