Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!daemon From: cks@white.toronto.edu (Chris Siebenmann) Newsgroups: comp.windows.x Subject: Re: Emacs under X11 Message-ID: <89Oct10.200354edt.30774@snow.white.toronto.edu> Date: 11 Oct 89 00:05:24 GMT References: <1385@raybed2.UUCP> Sender: Organization: Ziebmef home away from home Lines: 22 [A Reminder: please don't make things Distribution: usa unless they are really only of interest to people in the USA!] You can also hack up x11term.c to use XKeysymToString() to look up and name keys according to their X11 names instead of arbitrary confusing and machine-dependant numbers. My functions keys, keypad keys, and random non-alpha keys generate ESC [ ~ these days; predictable, easily bindable, and corresponds to what xev will tell you. Best yet, the code gets simpler. Diffs for 18.55's x11term.c are available from me by email (they have to be uuencoded, since the unmodified x11term.c contains literal escape characters), or you can get the whole new x11term.c by anonymous ftp from snow.white.toronto.edu [128.100.2.160]. This is all fixed in version 19, of course. -- "I shall clasp my hands together and bow to the corners of the world." Number Ten Ox, "Bridge of Birds" Chris Siebenmann ...!utgpu!{ncrcan,ontmoh!moore}!ziebmef!cks cks@white.toronto.edu or ...!utgpu!{,csri!}cks