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.
As for how the kernel handles (text mode) VT's, check
drivers/char/{console.c, vt.c} and their relatives, I think...
> ** Linux: Built by Geeks. Run by Geeks. Loved by Geeks. **
> ** http://www.linux.org **
Some of us resemble that remark! :-)
Adam
-- Things look so bad everywhere Adam D. Bradley artdodge@cs.bu.edu In this whole world what is fair Boston University Computer Science We walk blind and we try to see Ph.D. student and Linux hacker Falling behind in what could be ----> Bring me a Higher Love ----> <><