Hello,

I am in the process of modifying xterm to return keysyms for key
*releases* (in addition to key presses natrually). The keysyms would be
looked up in a table by their osf code (or something :-). A program that
wants to take advantage of this apparatus could then issue a control
sequence to turn it on and off and use a normalized table of keycodes
to work from.

Aaaanyway, I would like to use UTF-8 to encode the keysym for sending
to the programs stdin but there is a problem; how do I encode the extra
bit of information necessary to indicate that a UTF-8 sequence is a key
release as opposed to a key press?

Is there a way to encode /one more bit/ of information into a UTF-8
sequence in a way that is mostly orthogonal to the encoding itself?

Mike

-- 
May The Source be with you.
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to