JA> So by default you are going to start the keyboard in an ISO-2022
JA> escape mode. You will need to specify which escape mode you are in so
JA> that the appropriate sequence can be sent to return to ISO-2022 mode
JA> when it is appropriate.
I'm not quite sure what you mean. The keyboard will have a fixed
ISO 2022 state; no sequence sent from the host will ever influence this
state.
In other words, there will be a certain *fixed* mapping for gl, gr,
g0, g1, g2 and g3. In the default 8-bit mode, a keypress will send,
in order of preference, one of:
7-bit gl code;
8-bit gr code;
SS2 7-bit g2 code (optional);
SS3 7-bit g3 code (optional).
By default, generation of g2 and g3 codes will be disabled, as I
expect most applications to get confused by SS2 and SS3 in keyboard
input.
Juliusz
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/