This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: convert exceed keymaps to xfree


J S wrote:
> I would like to set up the key mappings for a VMS user on XFree86. He 
> currently uses Exceed. Unfortunately I can't get his F4 key to work which is 
> supposed to EXIT a panel on the application he is using. He sent me his 
> Exceed key map (see below) but I can't really figure out what changes I need 
> to make to the XFree mappings to make them the same as those in Exceed. Does 
> anyone here know? If you could explain the logic to me I might have a go at 
> writing a c program to convert Exceed keys maps to XFree!
> 
Hi,
I used the following keymap (including only the relevant parts). Exit is on
F10. Numlock is the gold key for eve.

Reinhard

!
! This is an `xmodmap' input file for PC 102 key #2 (Linux/XFree86; German) 
keyboards.
! Automatically generated on Sat Jan 16 18:16:36 1999 by re with
! XKeyCaps 2.42; Copyright (c) 1998 Jamie Zawinski <jwz@netscape.com>.
! http://people.netscape.com/jwz/xkeycaps/
!
! This file makes the following changes:
!
! The "F5" key generates F5 and Help
! The "F6" key generates F6 and Menu
! The "F7" key generates F7 and F17
! The "F8" key generates F8 and F18
! The "F9" key generates F9 and F19
! The "F10" key generates apExit
! The "F11" key generates Help
! The "F12" key generates Menu
! The "Druck S-Abf" key generates Print and Execute
! The "Rollen" key generates Scroll_Lock, and the Mod5 modifier
! The "Pause Untbr" key generates Pause and Break
! The "Backspace" key generates Delete, BackSpace, and 3270_DeleteWord
! The "Einfg" key generates Insert
! The "Pos1" key generates Find
! The "Num Lock" key generates KP_F1 and Num_Lock, and has no modifiers
! The "/" key generates KP_F2
! The "*" key generates KP_F3
! The "-" key generates KP_F4
! The "Tab" key generates Tab and ISO_Left_Tab
! The "Entf" key generates apLineDel
! The "Ende" key generates Select
! The "7 Pos1" key generates KP_Home and KP_7
! The "8 UpArrow" key generates KP_Up and KP_8
! The "9 Bild ^" key generates KP_Prior and KP_9
! The "+" key generates KP_Separator and KP_Subtract
! The "4 LeftArrow" key generates KP_Left and KP_4
! The "5" key generates KP_Begin and KP_5
! The "6 RightArrow" key generates KP_Right and KP_6
! The "1 Ende" key generates KP_End and KP_1
! The "2 DownArrow" key generates KP_Down and KP_2
! The "3 Bild v" key generates KP_Next and KP_3
! The "Alt" key generates Meta_L, and the Mod1 modifier
! The "Alt Gr" key generates Mode_switch and Multi_key, and the Mod3 modifier
! The "Strg" key generates Multi_key
! The "0 Einfg" key generates KP_Insert and KP_0
! The ", Entf" key generates KP_Delete and KP_Decimal

keycode 0x09 =	Escape
keycode 0x46 =	F4
keycode 0x47 =	F5		Help
keycode 0x48 =	F6		Menu
keycode 0x49 =	F7		F17
keycode 0x4A =	F8		F18
keycode 0x4B =	F9		F19
keycode 0x4C =	apExit
keycode 0x5F =	Help
keycode 0x60 =	Menu
keycode 0x6F =	Print		Execute
keycode 0x4E =	Scroll_Lock
keycode 0x6E =	Pause		Break
keycode 0x16 =	Delete		BackSpace	3270_DeleteWord
keycode 0x6A =	Insert
keycode 0x61 =	Find
keycode 0x63 =	Prior
keycode 0x4D =	KP_F1		Num_Lock
keycode 0x70 =	KP_F2
keycode 0x3F =	KP_F3
keycode 0x52 =	KP_F4
keycode 0x17 =	Tab		ISO_Left_Tab
keycode 0x6B =	apLineDel
keycode 0x67 =	Select
keycode 0x69 =	Next
keycode 0x4F =	KP_Home		KP_7
keycode 0x50 =	KP_Up		KP_8
keycode 0x51 =	KP_Prior	KP_9
keycode 0x56 =	KP_Separator	KP_Subtract
keycode 0x53 =	KP_Left		KP_4
keycode 0x54 =	KP_Begin	KP_5
keycode 0x55 =	KP_Right	KP_6
keycode 0x62 =	Up
keycode 0x57 =	KP_End		KP_1
keycode 0x58 =	KP_Down		KP_2
keycode 0x59 =	KP_Next		KP_3
keycode 0x6C =	KP_Enter
keycode 0x25 =	Control_L
keycode 0x40 =	Meta_L
keycode 0x71 =	Mode_switch	Multi_key
keycode 0x6D =	Multi_key
keycode 0x64 =	Left
keycode 0x68 =	Down
keycode 0x66 =	Right
keycode 0x5A =	KP_Insert	KP_0
keycode 0x5B =	KP_Delete	KP_Decimal

clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5

add    Shift   = Shift_L Shift_R
add    Lock    = Caps_Lock
add    Control = Control_L Multi_key
add    Mod1    = Meta_L
add    Mod3    = Mode_switch
add    Mod4    = Super_L Super_R
add    Mod5    = Scroll_Lock Hyper_R


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]