Re: GGI, EGCS/PGCC, Kernel source

Jason McMullan (jmcc@ontv.com)
Fri, 27 Feb 1998 14:38:17 -0500 (EST)


'Theodore Y. Ts'o wrote with particular insight...'
> At what point do you do the dispatch of deciding which console tty a
> particular keycode scheme is for? Normally that's done as part of the
> keycode -> ASCII/UTF-8 translation, since you need to look for ALT-F1,
> etc. Since the EvStack filter is apparently that which is doing the
> keycode to ASCII/UTF-8 translation, there's a bit of a impedence
> mismatch problem here, unless there is going to be two separate keycode
> interpretation passes over the keycode stream.... (because by the time
> you get into the line discpline, you must have already dispatched all of
> the keycodes for a particular tty to that tty's line discpline.)

IF we were using the hypothetical N_KEYBOARD discipline, the
tty would be treaded like any other input device, and send
all it's events to the `input_stack' device. The input_stack
takes care of the mapping between input devices and VTs.

The keyboard mapper ITSELF handles the ALT-Fx and CTRL-ALT-DEL
cases, and calls the appropriate handlers.

-- 
Jason McMullan - Linux - GGI - http://pepsi.visus.com/~jmcc
NT 5.0 is the last nail in the Unix coffin. Interestingly, Unix
isn't in the coffin... It's wondering what the heck is sealing 
itself into a wooden box 6 feet underground... 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu