Oh, and the principle of keysyms is to give the application knowledge of exactly what SYMBOLS on the keys, not characters. Some keys have many symbols engraved on them, and so the list tells you all the symbols that are on the key. You probably want to look at the protocol or Xlib documentation for an explanation. - Jim