I never heard of pterm. Xterm contains its own keysym -> UTF-8 conversion function (written by yours truely), because at the time that was written, there was no support in Xlib for a UTF-8 multibyte locale. That has since changed. It may well be possible, that the problem is with you using an older Xlib version (Debian is known for lagging a few years behind in such things). Hence the question what xev sees.
Markus -- Markus Kuhn, Computer Laboratory, University of Cambridge http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]