Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!bu-cs!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Sun Type 4 Keyboad and X Message-ID: <8906081209.AA00362@expire.lcs.mit.edu> Date: 8 Jun 89 12:09:37 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 16 I would like the "num lock" key to have the "desired" effect, that is, when num lock is on, the keypad goes into numbers mode. Can I do this easily/at all in X and xterm? There is no mechanism in xterm, or in Xlib, at present to permit this. An application could certainly do this on its own, if it wanted. Is there any way I can get these keys through to the window manager and have it do the appropriate thing in X? It will be up to the individual window manager as to whether window functions can be bound to key events. You can certainly get the keys through. You'll have to decide on what keysyms to hang on them, as most window managers will be keysym based rather than keycode based.