Emulation of Sun Keyboard Specific Keys

Grant McDorman grant.mcdorman@cedara.com
Thu Jan 9 21:42:00 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you have some keys that you can dedicate to these functions, yes; 
otherwise, no, not with VNC as it is.

For dedicating a key - for example keypad + - do:
  xmodmap -e 'keysym KP_Add = F15 F15 SunFront'

Note that on a standard Sun keyboard, the mappings are as follows:
Top right group (audio off, audio lower, audio raise, power):
	SunAudioMute     SunVideoDegauss
	SunAudioLowerVolume      SunVideoLowerBrightness
	SunAudioRaiseVolume      SunVideoRaiseBrightness
	SunPowerSwitch   SunPowerSwitchShift
Second-right top group (Print Screen, Scroll Lock, Pause):
	print: F22      F22     Print   SunSys_Req
	scroll: F23      F23     Scroll_Lock
	pause: F21      F21     Pause   Break
Function keys F11 and F12:
	F11 is SunF36
	F12 is SunF37
Left group (Stop, Again, etc):
	stop: F11      F11     Cancel
	again: F12      F12     Redo
	props: F13      F13     SunProps
	undo: F14      F14     Undo
	front: F15      F15     SunFront
	copy: F16      F16     SunCopy
	open: F17      F17     SunOpen
	paste: F18      F18     SunPaste
	find: F19      F19     Find
	cut: F20      F20     SunCut

Standard setup won't let you assign a combination - like 'Alt-G' - to these 
keys. In theory, though, a special application can. In addition, Motif does 
provide a mechanism to remap the key assignments for things like copy and 
paste, via 'dtbind' (on CDE systems; 'mwmbind' on standard Motif). Look at 
its manual page for details.
On January 9, 2003 02:25 pm, Sean Adam wrote:
> Hi,
>
> I'm wondering if there is a way to emulate the Sun
> Keyboard keys (such as COPY PASTE OPEN FIND FRONT)
> when running a vncviewer on the PC (WIN2K
> specifically)

- -- 

Grant McDorman <grant.mcdorman@cedara.com>, Sr. Software Design Consultant
Cedara Software Corp.  <URL:http://www.cedara.com>
  (formerly I.S.G. Technologies Inc.)
Mississauga, Ontario, Canada

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (SunOS)

iD8DBQE+HetvLVa+EmyjizARAkCLAKCQQ2iBw2pAz3J0KjbOEG9V5hzpdQCaA2Bw
WXGERAOq4UzUIiVSjknqstg=
=2StP
-----END PGP SIGNATURE-----