###  Macedonian keymap, ver:0.9 (iso-8859-5 version)
###  author: Damjan Georgievski <gdamjan@freemail.org.mk>
###
###  keycode 125  (left win95 key)  shift to cyrillic letters
###  keycode 126  (right win95 key) is the Compose key
###  keycode 127  (win95 menu key)   toggles to cyryllic mode
###  -- You should custom-paint this keys :-)  
###
###  KeyboardSignal is Ctrl-Alt-End
###  
###  Also added by popular demand :-)
###   Left alt-shift toggles to cyrillic
###   Right alt is altgr, it shifts to cyrillic
###
charset "iso-8859-5"
keymaps 0-15
strings as usual

		keycode 1 = Escape  Escape  Escape  Escape
	alt	keycode 1 = Meta_Escape     
		keycode 2 = one		exclam		one	exclam
	alt	keycode 2 = Meta_one
shift	alt	keycode 2 = Meta_exclam
		keycode 3 = two		at		two	at
	control	keycode 3 = nul
shift	control	keycode 3 = nul
	alt	keycode 3 = Meta_two
shift	alt	keycode 3 = Meta_at
		keycode 4 = three	numbersign	three	numbersign
	control	keycode 4 = Escape
	alt	keycode 4 = Meta_three
shift	alt	keycode 4 = Meta_numbersign
		keycode 5 = four	dollar		four	dollar
	control	keycode 5 = Control_backslash
	alt	keycode 5 = Meta_four
shift	alt	keycode 5 = Meta_dollar
		keycode 6 = five	percent	five	percent
	control	keycode 6 = Control_bracketright
	alt	keycode 6 = Meta_five
shift	alt	keycode 6 = Meta_percent
		keycode 7 = six		asciicircum	six	asciicircum
	control	keycode 7 = Control_asciicircum
	alt	keycode 7 = Meta_six
shift	alt	keycode 7 = Meta_asciicircum
		keycode 8 = seven	ampersand	seven	ampersand
	control	keycode 8 = Control_underscore
	alt	keycode 8 = Meta_seven
		keycode 9 = eight	asterisk	eight	asterisk
	control	keycode 9 = Delete
	alt	keycode 9 = Meta_eight
		keycode 10 = nine	parenleft	nine	parenleft 
	alt	keycode 10 = Meta_nine
		keycode 11 = zero	parenright	zero	parenright
	alt	keycode 11 = Meta_zero
		keycode 12 = minus	underscore	minus	underscore
	control	keycode 12 = Control_underscore
shift	control	keycode 12 = Control_underscore
	alt	keycode 12 = Meta_minus
		keycode 13 = equal	plus		equal	plus
	alt	keycode 13 = Meta_equal
		keycode 14 = Delete	Delete	Delete	Delete
	control	keycode 14 = BackSpace 
	alt	keycode 14 = Meta_Delete  
		keycode 15 = Tab	Tab	Tab	Tab
	alt	keycode 15 = Meta_Tab  
keycode 16 = +q  +Q  +249  +169  Control_q Control_q Control_q Control_q \
Meta_q Meta_Q Meta_q Meta_Q Meta_Control_q Meta_Control_q Meta_Control_q Meta_Control_q
keycode 17 = +w  +W  +250  +170  Control_w Control_w Control_w Control_w \
Meta_w Meta_W Meta_w Meta_W Meta_Control_w Meta_Control_w Meta_Control_w Meta_Control_w
keycode 18 = +e  +E  +213  +181  Control_e Control_e Control_e Control_e \
Meta_e Meta_E Meta_e Meta_E Meta_Control_e Meta_Control_e Meta_Control_e Meta_Control_e
keycode 19 = +r  +R  +224  +192  Control_r Control_r Control_r Control_r \
Meta_r Meta_R Meta_r Meta_R Meta_Control_r Meta_Control_r Meta_Control_r Meta_Control_r
keycode 20 = +t  +T  +226  +194  Control_t Control_t Control_t Control_t \
Meta_t Meta_T Meta_t Meta_T Meta_Control_t Meta_Control_t Meta_Control_t Meta_Control_t
keycode 21 = +y  +Y  +245  +165  Control_y Control_y Control_y Control_y \
Meta_y Meta_Y Meta_y Meta_Y Meta_Control_y Meta_Control_y Meta_Control_y Meta_Control_y
keycode 22 = +u  +U  +227  +195  Control_u Control_u Control_u Control_u \
Meta_u Meta_U Meta_u Meta_U Meta_Control_u Meta_Control_u Meta_Control_u Meta_Control_u
keycode 23 = +i  +I  +216  +184  Control_i Control_i Control_i Control_i \
Meta_i Meta_I Meta_i Meta_I Meta_Control_i Meta_Control_i Meta_Control_i Meta_Control_i
keycode 24 = +o  +O  +222  +190  Control_o Control_o Control_o Control_o \
Meta_o Meta_O Meta_o Meta_O Meta_Control_o Meta_Control_o Meta_Control_o Meta_Control_o
keycode 25 = +p  +P  +223  +191  Control_p Control_p Control_p Control_p \
Meta_p Meta_P Meta_p Meta_P Meta_Control_p Meta_Control_p Meta_Control_p Meta_Control_p
		keycode 26 = bracketleft	braceleft	+232	+200
	control	keycode 26 = Escape 
	alt	keycode 26 = Meta_bracketleft
shift	alt	keycode 26 = Meta_braceleft  
		keycode 27 = bracketright	braceright	+243	+163
	control keycode 27 = Control_bracketright
	alt	keycode 27 = Meta_bracketright
shift	alt	keycode 27 = Meta_braceright 
		keycode 28 = Return
	alt	keycode 28 = Meta_Control_m  
		keycode 29 = Control
keycode 30 = +a  +A  +208  +176  Control_a Control_a Control_a Control_a \
Meta_a Meta_A Meta_a Meta_A Meta_Control_a Meta_Control_a Meta_Control_a Meta_Control_a
keycode 31 = +s  +S  +225  +193  Control_s Control_s Control_s Control_s \
Meta_s Meta_S Meta_s Meta_S Meta_Control_s Meta_Control_s Meta_Control_s Meta_Control_s
keycode 32 = +d  +D  +212  +180  Control_d Control_d Control_d Control_d \
Meta_d Meta_D Meta_d Meta_D Meta_Control_d Meta_Control_d Meta_Control_d Meta_Control_d
keycode 33 = +f  +F  +228  +196  Control_f Control_f Control_f Control_f \
Meta_f Meta_F Meta_f Meta_F Meta_Control_f Meta_Control_f Meta_Control_f Meta_Control_f
keycode 34 = +g  +G  +211  +179  Control_g Control_g Control_g Control_g \
Meta_g Meta_G Meta_g Meta_G Meta_Control_g Meta_Control_g Meta_Control_g Meta_Control_g
keycode 35 = +h  +H  +229  +197  Control_h Control_h Control_h Control_h \
Meta_h Meta_H Meta_h Meta_H Meta_Control_h Meta_Control_h Meta_Control_h Meta_Control_h
keycode 36 = +j  +J  +248  +168  Control_j Control_j Control_j Control_j \
Meta_j Meta_J Meta_j Meta_J Meta_Control_j Meta_Control_j Meta_Control_j Meta_Control_j
keycode 37 = +k  +K  +218  +186  Control_k Control_k Control_k Control_k \
Meta_k Meta_K Meta_k Meta_K Meta_Control_k Meta_Control_k Meta_Control_k Meta_Control_k
keycode 38 = +l  +L  +219  +187  Control_l Control_l Control_l Control_l \
Meta_l Meta_L Meta_l Meta_L Meta_Control_l Meta_Control_l Meta_Control_l Meta_Control_l
		keycode 39 = semicolon	colon		+231	+199
	alt	keycode 39 = Meta_semicolon  
		keycode 40 = apostrophe	quotedbl	+252	+172
	control	keycode 40 = Control_g
	alt	keycode 40 = Meta_apostrophe 
		keycode 41 = grave	asciitilde	grave	asciitilde
	control	keycode 41 = nul 
	alt	keycode 41 = Meta_grave
		keycode 42 = Shift   
 	alt	keycode 42 = AltGr_Lock
altgr	alt	keycode 42 = AltGr_Lock
		keycode 43 = backslash	bar		+214	+182
	control	keycode 43 = Control_backslash
	alt	keycode 43 = Meta_backslash  
shift	alt	keycode 43 = Meta_bar   
keycode 44 = +z  +Z  +215  +183  Control_z Control_z Control_z Control_z \
Meta_z Meta_Z Meta_z Meta_Z Meta_Control_z Meta_Control_z Meta_Control_z Meta_Control_z
keycode 45 = +x  +X  +255  +175  Control_x Control_x Control_x Control_x \
Meta_x Meta_X Meta_x Meta_X Meta_Control_x Meta_Control_x Meta_Control_x Meta_Control_x
keycode 46 = +c  +C  +230  +198  Control_c Control_c Control_c Control_c \
Meta_c Meta_C Meta_c Meta_C Meta_Control_c Meta_Control_c Meta_Control_c Meta_Control_c
keycode 47 = +v  +V  +210  +178  Control_v Control_v Control_v Control_v \
Meta_v Meta_V Meta_v Meta_V Meta_Control_v Meta_Control_v Meta_Control_v Meta_Control_v
keycode 48 = +b  +B  +209  +177  Control_b Control_b Control_b Control_b \
Meta_b Meta_B Meta_b Meta_B Meta_Control_b Meta_Control_b Meta_Control_b Meta_Control_b
keycode 49 = +n  +N  +221  +189  Control_n Control_n Control_n Control_n \
Meta_n Meta_N Meta_n Meta_N Meta_Control_n Meta_Control_n Meta_Control_n Meta_Control_n
keycode 50 = +m  +M  +220  +188  Control_m Control_m Control_m Control_m \
Meta_m Meta_M Meta_m Meta_M Meta_Control_m Meta_Control_m Meta_Control_m Meta_Control_m
		keycode 51 = comma	less	comma	semicolon
	alt	keycode 51 = Meta_comma 
shift	alt	keycode 51 = Meta_less  
		keycode 52 = period	greater	period	colon
	control	keycode 52 = Compose    
	alt	keycode 52 = Meta_period
shift	alt	keycode 52 = Meta_greater    
		keycode 53 = slash	question	slash	question
	control	keycode 53 = Delete
shift	control	keycode 53 = Delete
	alt	keycode 53 = Meta_slash 
		keycode 54 = Shift 
		keycode 55 = KP_Multiply
		keycode 56 = Alt
	shift	keycode 56 = AltGr_Lock
altgr	shift	keycode 56 = AltGr_Lock
		keycode 57 = space	space	space	space 
	control	keycode 57 = nul   
	alt	keycode 57 = Meta_space 
		keycode 58 = Caps_Lock  
		keycode 59 = F1 F13 F1 F13 F25 F37 F25 F37 \
Console_1 Console_13 Console_1 Console_13 Console_1 Console_13 Console_1 Console_13
		keycode 60 = F2 F14 F2 F14 F26 F38 F26 F38 \
Console_2 Console_14 Console_2 Console_14 Console_2 Console_14 Console_2 Console_14
		keycode 61 = F3 F15 F3 F15 F27 F39 F27 F39 \
Console_3 Console_15 Console_3 Console_15 Console_3 Console_15 Console_3 Console_15
		keycode 62 = F4 F16 F4 F16 F28 F40 F28 F40 \
Console_4 Console_16 Console_4 Console_16 Console_4 Console_16 Console_4 Console_16
		keycode 63 = F5 F17 F5 F17 F29 F41 F29 F41 \
Console_5 Console_17 Console_5 Console_17 Console_5 Console_17 Console_5 Console_17
		keycode 64 = F6 F18 F6 F18 F30 F42 F30 F42 \
Console_6 Console_18 Console_6 Console_18 Console_6 Console_18 Console_6 Console_18
		keycode 65 = F7 F19 F7 F19 F31 F43 F31 F43 \
Console_7 Console_19 Console_7 Console_19 Console_7 Console_19 Console_7 Console_19
		keycode 66 = F8 F20 F8 F20 F32 F44 F32 F44 \
Console_8 Console_20 Console_8 Console_20 Console_8 Console_20 Console_8 Console_20
		keycode 67 = F9 F21 F9 F21 F33 F45 F33 F45 \
Console_9 Console_21 Console_9 Console_21 Console_9 Console_21 Console_9 Console_21
		keycode 68 = F10 F22 F10 F22 F34 F46 F34 F46 \
Console_10 Console_22 Console_10 Console_22 Console_10 Console_22 Console_10 Console_22
  		keycode 69 = Num_Lock
		keycode 70 = Scroll_Lock  Show_Memory  Show_Registers
	control	keycode 70 = Show_State
	alt	keycode 70 = Scroll_Lock
		keycode 71 = KP_7
	alt	keycode 71 = Ascii_7
		keycode 72 = KP_8
	alt	keycode 72 = Ascii_8
		keycode 73 = KP_9
	alt	keycode 73 = Ascii_9
		keycode 74 = KP_Subtract
		keycode 75 = KP_4
	alt	keycode 75 = Ascii_4
		keycode 76 = KP_5
	alt	keycode 76 = Ascii_5
		keycode 77 = KP_6
	alt	keycode 77 = Ascii_6
		keycode 78 = KP_Add
		keycode 79 = KP_1
	alt	keycode 79 = Ascii_1
		keycode 80 = KP_2
	alt	keycode 80 = Ascii_2
		keycode 81 = KP_3
	alt	keycode 81 = Ascii_3
		keycode 82 = KP_0
	alt	keycode 82 = Ascii_0
		keycode 83 = KP_Period
control	alt	keycode 83 = Boot
altgr control alt keycode 83 = Boot
		keycode 84 = Last_Console
		keycode 85 =
		keycode 86 = less             greater          bar
	alt	keycode 86 = Meta_less
		keycode 87 = F11 F23 F11 F23 F35 F47 F35 F47 \
Console_11 Console_23 Console_11 Console_23 Console_11 Console_23 Console_11 Console_23
		keycode 88 = F12 F24 F12 F24 F36 F48 F36 F48 \
Console_12 Console_24 Console_12 Console_24 Console_12 Console_24 Console_12 Console_24
		keycode 89 =
		keycode 90 =
		keycode 91 =
		keycode 92 =
		keycode 93 =
		keycode 94 =
		keycode 95 =
		keycode 96 = KP_Enter        
		keycode 97 = Control         
		keycode 98 = KP_Divide       
		keycode 99 = VoidSymbol
	alt	keycode 99 = Control_backslash
	control keycode 99 = Control_backslash
		keycode 100 = AltGr
		keycode 101 = Break           
		keycode 102 = Find            
		keycode 103 = Up              
		keycode 104 = Prior           
	shift	keycode 104 = Scroll_Backward 
altgr	shift	keycode 104 = Scroll_Backward 
		keycode 105 = Left            
	alt	keycode 105 = Decr_Console    
altgr	alt	keycode 105 = Decr_Console    
		keycode 106 = Right           
	alt	keycode 106 = Incr_Console    
altgr	alt	keycode 106 = Incr_Console    
		keycode 107 = Select          
control	alt	keycode 107 = KeyboardSignal
altgr control alt keycode 107 = KeyboardSignal
		keycode 108 = Down            
		keycode 109 = Next            
	shift	keycode 109 = Scroll_Forward  
altgr	shift	keycode 109 = Scroll_Forward  
		keycode 110 = Insert          
		keycode 111 = Remove          
control	alt	keycode 111 = Boot
altgr control alt keycode 111 = Boot
		keycode 112 = Macro           
		keycode 113 = F13             
		keycode 114 = F14             
		keycode 115 = Help            
		keycode 116 = Do              
		keycode 117 = F17             
		keycode 118 = KP_MinPlus      
		keycode 119 = Pause           
		keycode 120 =
		keycode 121 =
		keycode 122 =
		keycode 123 =
		keycode 124 =
		keycode 125 = AltGr
		keycode 126 = Compose
		keycode 127 = AltGr_Lock
compose 'Õ' '.' to 241
compose 'Ø' '.' to 217
compose 'µ' '.' to 161
compose '¸' '.' to 185

string F1 = "\033[[A"
string F2 = "\033[[B"
string F3 = "\033[[C"
string F4 = "\033[[D"
string F5 = "\033[[E"
string F6 = "\033[17~"
string F7 = "\033[18~"
string F8 = "\033[19~"
string F9 = "\033[20~"
string F10 = "\033[21~"
string F11 = "\033[23~"
string F12 = "\033[24~"
string F13 = "\033[25~"
string F14 = "\033[26~"
string F15 = "\033[28~"
string F16 = "\033[29~"
string F17 = "\033[31~"
string F18 = "\033[32~"
string F19 = "\033[33~"
string F20 = "\033[34~"
string Find = "\033[1~"
string Insert = "\033[2~"
string Remove = "\033[3~"
string Select = "\033[4~"
string Prior = "\033[5~"
string Next = "\033[6~"
string Macro = "\033[M"
string Pause = "\033[P"
