Dear SGD experts.. another keymapping question for you. IHAC who's replacing existing windows based terminal emulators with terminal emulation provided through SGD.
An issue we're having is that individuals like to have their own keymaps in place. This doc details how we tweak keymapping in SGD: http://docs.sun.com/source/820-2550/term_em_keymap.html I have some sample keymaps from the existing windows fat client keymaps that looks like we'll be needing to map many of the keys shown in the link above, plus some mapping involving other keys. For example .. [snip] N VK_INSERT VT_KEYPAD_0 N VK_DELETE VT_KEYPAD_PERIOD CE VK_PAUSE VT_PF1 N VK_Q "Q" [snip] Bear in mind this is using keymapping codes from another emulator. The translation looks straightforward for the first line.. e.g. INSERT=KP0. The next few lines are stumpworthy. How do we map a key on the client to the decimal point key on the keypad? How do we map the PAUSE button on the client? Can we map non special keys, like letters and numbers (e.g. shown in example line 4)? There's an additional section in the above doc link that talks about mapping to non printing characters, or specify keys using octal/hex values. Can I use that format on the *left* hand side of an entry in the keymap file (e.g. \x35=Q, \656=PAUSE)? Or .. are we limited strictly to those detailed in "Key Names" -> "Client Device Keys" in the above doc? I'd have thought those detailed in the doc are just the handy abstraction of the most common keys, but we can dig in and modify anything at a lower level. Also, does xmodmap play into this at all? Seems like we can modify graphical X11 keymaps using that tool, and at a lower level than the SGD abstraction. BUT - we're in a character app here - when I try running xmodmap it complains about not having a DISPLAY. What are the codes transmitted to the app server for things like PF0-PF4? Are codes for things like PF0 handy SGD specific aliases that are interchangeable to a particular hex/octal code? Thanks in advance.. Curtis. -- Curtis Cunningham email: [EMAIL PROTECTED] "There are 10 kinds of people in the world, those that understand binary .. and those that don't" _______________________________________________ SGD-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sgd-users
