Unix Technical Forum

Keyboard Mapping - dtwmrc

This is a discussion on Keyboard Mapping - dtwmrc within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I need to put a ergonomic keybaord onto a Sun Blade. I've used a USB PC keybaord which works ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008, 11:39 AM
MMan22@hotmail.com
 
Posts: n/a
Default Keyboard Mapping - dtwmrc

I need to put a ergonomic keybaord onto a Sun Blade. I've used a USB PC
keybaord which works OK but a few keys don't work (\| ~# ") correctly.

I (think?) I can get the keys working by editing .dt/dtwmrc file with
something like

Shift<key>2 root|window ????????

but I can't get the required resource value/settings.

Can anyone help with remapping the keyboard settings unde CDE ?
(Solaris 9)

Thanks in advance

Leigh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-09-2008, 11:40 AM
MMan22@hotmail.com
 
Posts: n/a
Default Re: Keyboard Mapping - dtwmrc

Well, gave up on dtwmrc and used xmodmap

pc_keyboard.sh
#!/bin/sh
xmodmap -e "keycode 38 = 2 quotedbl"
xmodmap -e "keycode 39 = 3 sterling"
xmodmap -e "keycode 59 = apostrophe at"
xmodmap -e "keycode 57 = numbersign asciitilde"
xmodmap -e "keycode 107 = backslash bar"

Appears to be working OK

leigh

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:32 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com