aboutsummaryrefslogtreecommitdiffstats
path: root/russian/X.language
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-12-16 13:00:49 +0800
committerache <ache@FreeBSD.org>1995-12-16 13:00:49 +0800
commit334a295b025a366a035836c608afb61c13d9ef0a (patch)
treee2e5a50c4052d5b4222551c28cb83118d454156c /russian/X.language
parent8a824beea3bfa5d00c00d4ec75648bbc9d56e577 (diff)
downloadfreebsd-ports-graphics-334a295b025a366a035836c608afb61c13d9ef0a.tar.gz
freebsd-ports-graphics-334a295b025a366a035836c608afb61c13d9ef0a.tar.zst
freebsd-ports-graphics-334a295b025a366a035836c608afb61c13d9ef0a.zip
Upgrade xmodmap table
Diffstat (limited to 'russian/X.language')
-rw-r--r--russian/X.language/files/xmodmap46
1 files changed, 31 insertions, 15 deletions
diff --git a/russian/X.language/files/xmodmap b/russian/X.language/files/xmodmap
index 8836499328f..b1adf278d24 100644
--- a/russian/X.language/files/xmodmap
+++ b/russian/X.language/files/xmodmap
@@ -7,13 +7,14 @@
! distribute, sublicense, and/or sell), provided that
! the above copyright notice and this permission notice is retained.
!
+! Code Table: KOI8-R
+! Switcher: CapsLock
+!
! WARNING: Control keys NOT WORKS when russian mode is active due
! to X11 bug (control handling when modeswitch is on),
! if you know, how to fix it, I am all ears.
! <ache@astral.msk.su>
!
-! Standard definitions first:
-
clear shift
clear control
clear mod1
@@ -21,21 +22,9 @@ clear mod2
clear mod3
clear mod4
-add shift = Shift_L Shift_R
-add control = Control_L Control_R
-add mod1 = Alt_L Alt_R
-add mod2 = Num_Lock
-
-! Use CapsLock as rus/lat switch key.
-
-clear lock
-clear mod5
-keycode 66 = Caps_Lock 0x1007ff01
-keycode 78 = Mode_switch
-add mod5 = Caps_Lock Mode_switch
-
! Key Base Shift Caps ShiftCaps
!------------------------------------------------------------------------
+keycode 9 = Escape NoSymbol Escape
keycode 10 = 1 exclam exclam 1
keycode 11 = 2 at quotedbl 2
keycode 12 = 3 numbersign grave 3
@@ -46,6 +35,10 @@ keycode 16 = 7 ampersand period 7
keycode 17 = 8 asterisk asterisk 8
keycode 18 = 9 parenleft parenleft 9
keycode 19 = 0 parenright parenright 0
+keycode 20 = minus underscore minus underscore
+keycode 21 = equal plus equal plus
+keycode 22 = BackSpace NoSymbol BackSpace
+keycode 23 = Tab NoSymbol Tab
keycode 24 = q Q 0xca 0xea
keycode 25 = w W 0xc3 0xe3
keycode 26 = e E 0xd5 0xf5
@@ -58,6 +51,7 @@ keycode 32 = o O 0xdd 0xfd
keycode 33 = p P 0xda 0xfa
keycode 34 = bracketleft braceleft 0xc8 0xe8
keycode 35 = bracketright braceright 0xdf 0xff
+keycode 36 = Return NoSymbol Return
keycode 38 = a A 0xc6 0xe6
keycode 39 = s S 0xd9 0xf9
keycode 40 = d D 0xd7 0xf7
@@ -70,6 +64,7 @@ keycode 46 = l L 0xc4 0xe4
keycode 47 = semicolon colon 0xd6 0xf6
keycode 48 = apostrophe quotedbl 0xdc 0xfc
keycode 49 = grave asciitilde 0xa3 0xb3
+keycode 51 = backslash bar backslash bar
keycode 52 = z Z 0xd1 0xf1
keycode 53 = x X 0xde 0xfe
keycode 54 = c C 0xd3 0xf3
@@ -79,3 +74,24 @@ keycode 57 = n N 0xd4 0xf4
keycode 58 = m M 0xd8 0xf8
keycode 59 = comma less 0xc2 0xe2
keycode 60 = period greater 0xc0 0xe0
+keycode 61 = slash question slash question
+keycode 64 = Alt_L
+keycode 65 = space NoSymbol space
+keycode 66 = Caps_Lock 0x1007ff01
+keycode 67 = F1
+keycode 68 = F2
+keycode 69 = F3
+keycode 78 = Mode_switch
+keycode 109 = Control_R
+keycode 113 = Alt_R
+
+add shift = Shift_L Shift_R
+add control = Control_L Control_R
+add mod1 = Alt_L Alt_R
+add mod2 = Num_Lock
+
+! Use CapsLock as rus/lat switch key.
+
+clear lock
+clear mod5
+add mod5 = Caps_Lock Mode_switch