Welcome, Guest
Please Login or Register.    Lost Password?

Special Sun keyboard keys
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Special Sun keyboard keys
Special Sun keyboard keys 12 Years, 3 Months ago Karma: 0
Sun keyboards have special cut, copy, and paste keys that our engineers like to use.

Is there a good way to get these to map to different keys? I tried this, but it didn't work right:

#!/bin/tcsh -f

setenv SUNCUT `xmodmap -pke | grep F5 | sed -e 's/F5/SunCut/'`
setenv SUNCOPY `xmodmap -pke | grep F6 | sed -e 's/F6/SunCopy/'`
setenv SUNPASTE `xmodmap -pke | grep F7 | sed -e 's/F7/SunPaste/'`

echo $SUNCUT > ~/.xkeymap
echo $SUNCOPY >> ~/.xkeymap
echo $SUNPASTE >> ~/.xkeymap

xmodmap ~/.xkeymap

If you could point me toward the right answer, I'd appreciate it.
Fresh Boarder
Posts: 4
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Go to topPage: 1
Moderators: troy, Andyl