Path: utzoo!attcan!uunet!husc6!rutgers!ucla-cs!squid!dgreen From: dgreen@squid.cs.ucla.edu (Dan R. Greening) Newsgroups: comp.windows.x Subject: XRebindKeysym / Why Modifier Keysyms? / add string() to Xaw? Message-ID: <17596@shemp.CS.UCLA.EDU> Date: 6 Nov 88 08:02:08 GMT References: <26738@tut.cis.ohio-state.edu> <17595@shemp.CS.UCLA.EDU> Sender: news@CS.UCLA.EDU Reply-To: dgreen@squid.cs.ucla.edu (Dan R. Greening) Organization: UCLA Computer Science Department Lines: 21 I tried to find some utility that would allow me to rebind keysyms into strings, so I could use emacs again. Nothing exists that I can find, and the documentation on the Keysym/Keycode stuff is obscure. Nonetheless, I think I figured it out, and I've added some code to xmodmap to perform XRebindKeysym. Here's what I really don't understand: Why is the modifierlist input to XRebindKeysym a list of KeySyms? What happens if there is no KeySym associated with a modifier? Why not use the shifted modifier numbers instead? This whole problem might go away if there was some way to insert arbitrary strings using Text widget. Shouldn't the "string()" action in xterm be a part of the Text widget as well? Or perhaps a part of the Core widget class? Or am I missing something, and X11R3 has some easy way to rebind keys to strings? Dan Greening Internet dgreen@cs.ucla.edu USPS 3436 Boelter Hall / UCLA / Los Angeles, CA 90024-1596 Voice 213-825-2266