Re: linux-kernel-digest V1 #1389

Pavel Machek (pavel@Elf.mj.gts.cz)
Fri, 12 Dec 1997 13:58:55 +0100


Hi!

> > Recently I started looking throught the kernel code in hopes of
> > changing the alt+f* key sets to win95key+f*.
>
> Actually, you shoudl start by looking through your Xfree86 source
> code; X puts your keyboard in raw mode, so it can catch all your key
> combinations. When it notices Ctrl-Alt-F*, then (if it's in the mood)
> X puts the keyboard back in "cooked" mode and tells the kernel to
> change VT's.

Which is BTW bug. Xfree could simply leave keyboard in raw mode, and
switch consoles anyway. Raw mode is per-vt thing.

Are you able to orientate a bit in Xfree sources? (If so, please email
me).

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).