! xmodmap file to remap keys so that Kinesis keyboards work happily ! on Suns. Two major problems: ! -- .Xmodmap.sun4 remaps the Escape key to ~; on the Kinesis, Escape ! is actually in a reasonable place. ! -- The PS2->Sun converter maps the right-side keys to non-intuitive ! Sun keys; namely, right-Control maps to AltGr, and right-Alt ! maps to Diamond. ! Remap the escape key properly. keycode 36 = Escape ! Remap right-control and right-alt. keycode 129 = Control_R keycode 20 = Meta_R ! Also make left-alt be a meta key. keycode 26 = Meta_L ! Get the modifiers right. clear control add control = Control_L add control = Control_R clear mod1 add mod1 = Meta_L add mod1 = Meta_R clear mod2 clear mod4