| Newsgroups |
gmane.comp.xfree86.expert |
| Message-ID |
<[email protected]> |
> > On Sun, Dec 01, 2002 at 04:01:01PM -0800, Mark Vojkovich wrote:
> > > On Thu, 28 Nov 2002, Mark Vojkovich wrote:
> > >
> > > >
> > > > As Alan mentioned earlier, this does seem to be broken. I just
> > > > synced up on PPC and find that none of the CRTL-ALT-XXXX keys work
> > > > anymore. Can't quit with CTRL-ALT-BS, can't switch VTs.
> > > >
> > > > There have been modifications by Marc and David to xf86Events.c
> > > > during the last week. David's specifically modifies CTRL-ALT behavior.
> > > > Marc's puts some #ifdefs around related code, but the logic
> > > > doesn't look suspect.
> > > >
> > >
> > > Are we the only ones seeing this? I just synced up and made World
> > > again, and made sure I got rid of my host.def so that I didn't have
> > > any stale configuration around. I still can't do any CTRL-ALT-XXX.
> >
> > I'm looking into this now. Disabling xkb with -kb makes it work.
> >
> > So I suspect the addition of the ddxVT.c/ddxKillSrv.c which I'm checking
> > on now is the problem.
>
> The problem is essentially a conflict between a few different patches that
> got merged recently. Patch 5510 that Ivan sent several days ago, will resolve
> the conflict.
>
A more complete explanation is that I made changes to XKB and its interface
to the XFree86 DDX so that special keys like Ctrl-Alt-Bkspc are no longer handled
internally by the DDX common layer (i.e. xf86Events.c), but are passed to XKB
like any other key. XKB is able to handle them itself. The advantage of letting
XKB handle them, is that you can change what keys are bound to those special
actions, by simply changing the XKB keymap. As part of those changes I modified
the 'us' symbols map to include mappings for all of the special actions (VT
changes, server terminate, cancel grabs, etc.).
Ivan Pascal has also been making several XKB changes recently which allow the
keyboard to have several different language layouts that can be switched between
with a keystroke and some changes to the rules used to determine which keyboard
layout components to use. Unfortunately, the last of those patches to be
applied changed which XKB config files are read by default to a set of files
that didn't include the action mappings I had added to the 'us' symbols map.
His patch was written before my changes, but not applied until after.
Patch #5510 adds those mappings to the files that are now read.
BTW, as a workaround, you can force the server to read the previously used
XKB config files by running the server with the '-xkbmap xfree86' option.