Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!stan!markc From: markc@Solbourne.COM (Mark Connell) Newsgroups: comp.windows.x Subject: Re: Sun Type 4 Keyboad and X Message-ID: <1446@stan.Solbourne.COM> Date: 9 Jun 89 13:54:29 GMT References: Distribution: comp Organization: Solbourne Computer Inc., Longmont, Co. Lines: 35 > type 4 keyboard ... I would like the "num lock" key to have the "desired" > effect This would have to be done in xterm. The problem is that the num_lock key is defined as a function key, not as a modifier. (RWS - If you are out there, WHY?). The other problem you may run into is that on some Sun's (Sun 4's at least) the type 4 keyboard says it is a type 3 keyboard. The type 3 does not have a num lock key. If this is the case, I think you need on OS mod to get the keyboard to admit it is a type4, which might break other (non X) applications. I got around this by defining the shifted versions of the R keys to be the numeric keys. This probably is not a good idea, since some applications may want to use the shifted R keys. You may also be able to modify sunKeyMap.c (in the server) if the type3 keyboard does not return the same code as the type for does for num lock. >Is there any way I can get these keys (L keys) ... to do the appropriate thing > in X? That depends on what window mgr you are using, but some of them should be easy. Front and Open should be easy enough, check the documentation for your window mgr. Others would take modifications to applications, for example Cut, Paste, Undo, .... Hope this is at least a little help. Mark A. Connell Solbourne Computer, Inc. 1900 Pike Road Longmont, Co 80501 (303) 772-3400 markc@Solbourne.COM ...!boulder!stan!markc