Hi again,

Since I was annoyed by the limitation that only Latin-1 characters are supported by xte, I went a step further and I have implemented support for non-Latin-1 characters and Multi_key (compose) sequences.

The new patch fixes the problems with the group modifier/shift mentioned earlier and enhances the 'str' command of xte greatly in terms of internationalization. Now, almost every string can be sent that can be typed somehow with the current keyboard layout of the user. For example, I can send now strings like

 Ağcabədi (Region in Azerbaijan)
 ⅜+2*⅛=⅝

which didn't work before.

Albeit the set of available characters has been expanded significantly, there are still some limiations, which are mentioned in the manpage of xte:

  LIMITATIONS

  The str command doesn't support Unicode characters with more
  than two bytes. Further, character composing sequences to generate
  special charactes are limited to Multi_key plus two characters. The
  set of supported characters depends on the current keyboard layout.


To enable these features some mapping tables are required which were generated from /usr/share/X11/locale/en_US.UTF-8/Compose and /usr/include/X11/keysymdef.h. The generated tables are in the new files keysym_map.h and multikey_map.h.


The new patch (replaces previous) is available at:
http://steinacher.info/temp/xautomation-1.02-special_chars_and_i18n.patch

Patched source code:
http://steinacher.info/temp/xautomation-1.02-special_chars_and_i18n_patch.tar.gz

xte binary compiled for Debian Lenny:
http://steinacher.info/temp/xte

Cheers,
Marco



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to