> I am going to implement the following scheme.  The luit wrapper will
> have *two* distinct ISO 2022 states, one for output and one for input.
> Both states will be initialised from the current locale; ISO 2022
> escape sequences will only change the output state, the input state
> will remain fixed.
> 
> By default, the keyboard will generate 8-bit codes and never generate
> any of SS2, SS3, or SO/SI.  There will be command-line flags that will
> specify that only 7-bit codes should be generated, that SS2 and SS3 are
> allowed in keyboard input, and (in 7-bit mode), that SO/SI are allowed.

So by default you are going to start the keyboard in an ISO-2022
escape mode.  You will need to specify which escape mode you are in so
that the appropriate sequence can be sent to return to ISO-2022 mode
when it is appropriate.


-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to