Path: utzoo!attcan!uunet!lll-winken!ames!ncar!mailrus!tut.cis.ohio-state.edu!bloom-beacon!dsg.csc.ti.COM!Kimbrough From: Kimbrough@dsg.csc.ti.COM (Kerry Kimbrough) Newsgroups: comp.windows.x Subject: Re: function key binding to strings under X11.3 Message-ID: <2809451538-4652727@Sierra> Date: 10 Jan 89 19:12:18 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 11 > What I want is a global binding, so that, for example, some function > keys have strings defined (e.g.) for vi, some for dbx, etc. Off the top of my head, the alternative that occurs to me is to use the keysyms defined for function keys (see R3 Protocol, Appendix A, pp 98-99), interning these as atoms which name properties of the server's (default) root window. Any client which receives a keyboard event containing a function key keysym can then get the string which is currently the value of the corresponding root property. Some issues to work out include interaction with Xlib, transformation of keysym to atom, and appropriate client-side caching mechanism.