Path: utzoo!attcan!uunet!lll-winken!ames!pasteur!helios.ee.lbl.gov!ux1.lbl.gov!epb From: epb@ux1.lbl.gov (EPB Group) Newsgroups: comp.windows.x Subject: function key binding to strings under X11.3 Message-ID: <1668@helios.ee.lbl.gov> Date: 10 Jan 89 17:12:20 GMT Sender: usenet@helios.ee.lbl.gov Reply-To: bvsmith@lbl.gov (Brian V. Smith) Distribution: comp.windows.x Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 20 It seems that there is no way to define strings for the function keys on a global scale (all clients connected to the server). There is the Xlib function XRebindKeysym to rebind a keysym to a string, but that is on an application-by-application basis. 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. I have hacked xterm to read a .funkey file to do just that, but if anybody knows of a more "correct" way to do this, I would be most pleased if you could share that information. The window manager, twm will allow binding of function keys (any key, actually) to FUNCTIONS or input to a shell, but not to a simple string. Thanks. Brian Smith Lawrence Berkeley Laboratory, Berkeley