1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/russian/X.language/files/xmodmap
1996-04-03 05:42:21 +00:00

98 lines
4.5 KiB
Plaintext

! Cyrillic keyboard mapping table for XFree86-3.1.2 server of X11R6.
! Copyright (C) 1995 Cronyx Ltd., info@cronyx.ru
! Changes Copyright (C) 1995-1996 by Andrey A. Chernov, Moscow, Russia.
!
! This product is free Software, you can use it free of charge
! without restriction (e.g. use, copy, modify, merge, publish,
! 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 DON'T WORK when Russian mode is active due
! to an X11 bug (control handling when modeswitch is on),
! if you know, how to fix it, I am all ears.
! <ache@astral.msk.su>
!
clear shift
clear control
clear mod1
clear mod2
clear mod3
clear mod4
! 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
keycode 13 = 4 dollar asterisk 4
keycode 14 = 5 percent colon 5
keycode 15 = 6 asciicircum comma 6
keycode 16 = 7 ampersand period 7
keycode 17 = 8 asterisk semicolon 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
keycode 27 = r R 0xcb 0xeb
keycode 28 = t T 0xc5 0xe5
keycode 29 = y Y 0xce 0xee
keycode 30 = u U 0xc7 0xe7
keycode 31 = i I 0xdb 0xfb
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
keycode 41 = f F 0xc1 0xe1
keycode 42 = g G 0xd0 0xf0
keycode 43 = h H 0xd2 0xf2
keycode 44 = j J 0xcf 0xef
keycode 45 = k K 0xcc 0xec
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
keycode 55 = v V 0xcd 0xed
keycode 56 = b B 0xc9 0xe9
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 XF86ModeLock
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