! .Xmodmap-type4
!    Copyright (C) 1989, 1990, 1992 by Xerox Corporation.  All rights reserved.
!    Created by Christian P. Jacobi, December 22, 1989
!    Christian P. Jacobi, February 26, 1992 6:55:27 pm PST
!
!  This version uses both the (illegal) PCedar2.0 keysyms,
!  and, the keysyms used for Cedar10.0 (which have numerical values in 
!  the correct range)
!
! This file describes the mapping from KeyCodes to KeySyms for the X server.
! KeyCodes are keyboard depending 8 bit numbers describing key positions 
! KeySyms are defined by the X consortiom and describe key engravings;
! KeySyms are 32 bit numbers.
! 
!
! This file is used by the xmodmap program started at X server
! startup by the line xmodmap .xmodmaprc (in file .xinitrc).
! Its name and directory is arbitrary.
! To find out the KeyCodes of a keyboard, the program xev is helpful.
!
! 
! Most CSL Sun4/260 have keyboard type 3  
! CSL SparcStations have keyboard type 4
! CSL's Sun4/110 have either keyboard type 3 or 4
! Pictures can be found in "SunView Beginners Guide, chapter 4. (pages 66ff)
!
! This file does not define all keys; the keys are defined 
! somehow in the server; this file describes a delta to that definition.
!
! Cedar-users who are X novices
!     Use just this file to set the necessary keymapping
! Experianced X users:
!     Might either copy the necessary mappings or, use
!     this file in addition to your other mapping file.
!     Should any entry cause problems to just composing
!     xmodmap settings, please tell me. 
!
! Cedar TIP software uses standard X mapping procedures for right 
! hand sides of tip tables.  However, for left sides it is tolerant about
! the index of the keysym.  This restricts the possible key combinations
! which can be distinguished in tiptables.  However mainly and far 
! more important this enables Cedar to work with key mappings set up
! incorrectly to accomodate Suns products.  
!
!*****************************************************
! The left function keys
!
!Stop
keycode 8 = L1 0xFF69
!		Reason: 0xFF69 because it would be more correct.  Probably not used by Cedar.
!		Reason: L1 first because Sun Deskset 2.0 suite requires this.
!
!Props
keycode 32 = L3 0x1005FF70 66214
!		Reason: 0x1005FF70 for Cedar10.0; 66214 for PCedar2.0; Not crucial for Cedar to work.
!		Reason: L3 first because Sun Deskset 2.0 suite requires this.
!
!Front (might not be available to clients: Some window managers use it)
keycode 56 = L5 0x1005FF71 66215
!		Reason: 0x1005FF71 for Cedar10.0 66215 for PCedar2.0; Not crucial for Cedar to work.
!		Reason: L3 first because Sun Deskset 2.0 suite requires this.
!
!Open (might not be available to clients: Some window managers use it)
keycode 79 = L7 0x1005FF73 66216
!		Reason: 0x1005FF73 for Cedar10.0 66216 for PCedar2.0; Not crucial for Cedar to work.
!		Reason: L7 first because Sun Deskset 2.0 suite requires this.
!
!Find
keycode 102 = L9 L9 Find
!		Reason: Find because it would be correct.  Probably not used by Cedar.
!		Reason: L9 first AND SECOND because Sun Deskset 2.0 suite requires this!
!
!Again
keycode 10 = L2 0xFF66
!		Reason: 0xFF66 because it would be more correct.  Probably not used by Cedar.
!		Reason: L2 first because Sun Deskset 2.0 suite requires this.
!
!Undo
keycode 33 = L4 Undo
!		Reason: Undo because it would be more correct.  Probably not used by Cedar.
!		Reason: L4 first because Sun Deskset 2.0 suite requires this.
!
!Copy
keycode 58 = L6 0x1005FF72 66202
!		Reason: 0x1005FF72 for Cedar10.0; 66202 for PCedar2.0;  Important for Cedar.
!		Reason: L6 first because Sun Deskset 2.0 suite requires this.
!
!Paste
keycode 80 = L8 0x1005FF74 66203
!		Reason: 0x1005FF72 for Cedar10.0; 66203 for PCedar2.0;  Important for Cedar.
!		Reason: L8 first because Sun Deskset 2.0 suite requires this.
!
!Cut
keycode 104 = L10 0x1005FF75 66217
!		Reason: 0x1005FF75 for Cedar10.0; 66217 for PCedar2.0;  Important for Cedar.
!		Reason: L10 first because Sun Deskset 2.0 suite requires this.
!
!
!Help (keyboard type 4; missing on keyboard type 3)
keycode 125 = Help
!		Reason: Because this is correct.  Probably not used by Cedar.
!
!
!*****************************************************
! The right function keys
!
! On Sun type 3 and 4 keyboards, R7 - R15 coincide with
! the numeric keypad keys 7 - 3, in the usual arrangement.
! Keypad 4, 6, 8, 2 are also labelled with left, right, up, down arrows.
!
! Cedar requires assigning the Cedarish KeySyms
! Look (old 66200, new 0x10070016), Next (standard),  
! Swat (old 66213, new 0x10070015) and Left (standard).
! We use the Keypad 9, 6, and 3 respectively, in physical analogy to the
! unlabeled keys on the right side of an Alto keyboard (can you believe it!).
!
! The Rx engraving is assigned first because the Sun Deskset 2.0 suite 
! requires this. YUK.  The Keypad have the logically correct assignments. 
! The Cedarish Look, Swat have upper asignments as cedar is tolerant on 
! keysym positions.  LeftArrow and Next are standard, but have upper 
! positions tolerated by Cedar.  
!
! R9, KeypadNine, Look
keycode 77 = R9 KP←9 0x10070016 66200
!
! R10, KeypadFour, LeftArrow
keycode 98 = R10 KP←4 Left
!
! R12, KeypadSix, RightArrow, Next
keycode 100 = R12 KP←6 Right 0xFF56
!
! R15, KeypadThree, Swat
keycode 121 = R15 KP←3 0x10070015 66213
!
!*****************************************************
! Others
!
! AltGraph
! OpenWin 2.0 maps the AltGraph keytop to ModeSwitch, standard X doesn't.
! We make sure it's there, however we don't claim to know why it is used.
keycode 20 = Mode←switch
!
!*****************************************************
!
! end of file
!