; Kermit 95 SAVE KEYMAP file: Fri Jan 03 12:20:16 2003

if NOT eq "\v(program)" "C-Kermit" stop 1 C-Kermit required.
set mskermit keycodes off

; Clear previous keyboard mappings 
set key clear
set terminal key adm3a clear
set terminal key aixterm clear
set terminal key annarbor clear
set terminal key ansi-bbs clear
set terminal key at386 clear
set terminal key avatar/0+ clear
set terminal key ba80 clear
set terminal key beterm clear
set terminal key dg200 clear
set terminal key dg210 clear
set terminal key dg217 clear
set terminal key emacs clear
set terminal key heath19 clear
set terminal key hebrew clear
set terminal key hft clear
set terminal key hp2621a clear
set terminal key hpterm clear
set terminal key hz1500 clear
set terminal key ibm3151 clear
set terminal key linux clear
set terminal key qansi clear
set terminal key qnx clear
set terminal key russian clear
set terminal key scoansi clear
set terminal key sni-97801 clear
set terminal key sun clear
set terminal key tty clear
set terminal key tvi910+ clear
set terminal key tvi925 clear
set terminal key tvi950 clear
set terminal key vc404 clear
set terminal key vip7809 clear
set terminal key vt100 clear
set terminal key vt102 clear
set terminal key vt220 clear
set terminal key vt220pc clear
set terminal key vt320 clear
set terminal key vt320pc clear
set terminal key vt52 clear
set terminal key wp clear
set terminal key wy160 clear
set terminal key wy30 clear
set terminal key wy370 clear
set terminal key wy50 clear
set terminal key wy60 clear

set key \1033 \{9}	; HT

; SET TERMINAL KEY adm3a
set terminal key adm3a \16 \Kignore	; DLE
set terminal key adm3a \17 \Kignore	; DC1
set terminal key adm3a \18 \Kignore	; DC2
set terminal key adm3a \264 \{127}	; Backspace
set terminal key adm3a \269 \{13}	; Enter
set terminal key adm3a \276 \Kignore	; CapsLock
set terminal key adm3a \290 \Kdnscn	; PageDown
set terminal key adm3a \291 \Kendscn	; End
set terminal key adm3a \292 \Khomscn	; Home
set terminal key adm3a \293 \Klfarr	; LeftArrow
set terminal key adm3a \294 \Kuparr	; UpArrow
set terminal key adm3a \295 \Krtarr	; RightArrow
set terminal key adm3a \296 \Kdnarr	; DownArrow
set terminal key adm3a \302 \{127}	; Delete
set terminal key adm3a \352 \{48}	; Keypad-0
set terminal key adm3a \353 \{49}	; Keypad-1
set terminal key adm3a \354 \{50}	; Keypad-2
set terminal key adm3a \355 \{51}	; Keypad-3
set terminal key adm3a \356 \{52}	; Keypad-4
set terminal key adm3a \357 \{53}	; Keypad-5
set terminal key adm3a \358 \{54}	; Keypad-6
set terminal key adm3a \359 \{55}	; Keypad-7
set terminal key adm3a \360 \{56}	; Keypad-8
set terminal key adm3a \361 \{57}	; Keypad-9
set terminal key adm3a \362 \{42}	; Multiply
set terminal key adm3a \363 \{43}	; Add
set terminal key adm3a \364 \{47}	; Separator
set terminal key adm3a \365 \{45}	; Subtract
set terminal key adm3a \366 \{46}	; Decimal
set terminal key adm3a \400 \Kignore	; NumLock
set terminal key adm3a \401 \Kholdscrn	; ScrollLock
set terminal key adm3a \539 \{27}	; Shift-ESC
set terminal key adm3a \776 \{127}	; Shift-Backspace
set terminal key adm3a \777 \{8}	; Shift-Tab
set terminal key adm3a \912 \Kignore	; Shift-NumLock
set terminal key adm3a \1056 \Knull	; SP
set terminal key adm3a \1326 \{8}	; Ctrl-Delete
set terminal key adm3a \1330 \Knull	; Ctrl-2
set terminal key adm3a \1334 \{30}	; Ctrl-6
set terminal key adm3a \1392 \Kmarkstart	; Ctrl-F1
set terminal key adm3a \1393 \Kmarkcancel	; Ctrl-F2
set terminal key adm3a \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key adm3a \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key adm3a \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key adm3a \1842 \Knull	; Ctrl-Shift-2
set terminal key adm3a \1846 \{30}	; Ctrl-Shift-6
set terminal key adm3a \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key adm3a \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key adm3a \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key adm3a \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key adm3a \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key adm3a \2109 \Kreset	; Alt-=
set terminal key adm3a \2114 \Kbreak	; Alt-B
set terminal key adm3a \2115 \Kcompose	; Alt-C
set terminal key adm3a \2116 \Kdebug	; Alt-D
set terminal key adm3a \2117 \Kprintff	; Alt-E
set terminal key adm3a \2118 \Kfnkeys	; Alt-F
set terminal key adm3a \2120 \Khelp	; Alt-H
set terminal key adm3a \2123 \Kkeyclick	; Alt-K
set terminal key adm3a \2124 \Klbreak	; Alt-L
set terminal key adm3a \2126 \Kucs2	; Alt-N
set terminal key adm3a \2127 \Kprtauto	; Alt-O
set terminal key adm3a \2128 \Kdump	; Alt-P
set terminal key adm3a \2129 \Kquit	; Alt-Q
set terminal key adm3a \2130 \Kreset	; Alt-R
set terminal key adm3a \2131 \Kstatus	; Alt-S
set terminal key adm3a \2132 \Ktermtype	; Alt-T
set terminal key adm3a \2133 \Khangup	; Alt-U
set terminal key adm3a \2134 \Kflipscn	; Alt-V
set terminal key adm3a \2136 \Kexit	; Alt-X
set terminal key adm3a \2146 \Kbreak	; Alt-b
set terminal key adm3a \2147 \Kcompose	; Alt-c
set terminal key adm3a \2148 \Kdebug	; Alt-d
set terminal key adm3a \2149 \Kprintff	; Alt-e
set terminal key adm3a \2150 \Kfnkeys	; Alt-f
set terminal key adm3a \2152 \Khelp	; Alt-h
set terminal key adm3a \2155 \Kkeyclick	; Alt-k
set terminal key adm3a \2156 \Klbreak	; Alt-l
set terminal key adm3a \2158 \Kucs2	; Alt-n
set terminal key adm3a \2159 \Kprtauto	; Alt-o
set terminal key adm3a \2160 \Kdump	; Alt-p
set terminal key adm3a \2161 \Kquit	; Alt-q
set terminal key adm3a \2162 \Kreset	; Alt-r
set terminal key adm3a \2163 \Kstatus	; Alt-s
set terminal key adm3a \2164 \Ktermtype	; Alt-t
set terminal key adm3a \2165 \Khangup	; Alt-u
set terminal key adm3a \2166 \Kflipscn	; Alt-v
set terminal key adm3a \2168 \Kexit	; Alt-x
set terminal key adm3a \2312 \{8}	; Alt-Backspace
set terminal key adm3a \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key adm3a \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key adm3a \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key adm3a \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key adm3a \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key adm3a \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key adm3a \4365 \{13}	; Gray-Enter
set terminal key adm3a \4385 \Kupscn	; Gray-PageUp
set terminal key adm3a \4386 \Kdnscn	; Gray-PageDown
set terminal key adm3a \4387 \Kendscn	; Gray-End
set terminal key adm3a \4388 \Khomscn	; Gray-Home
set terminal key adm3a \4389 \Klfarr	; Gray-LeftArrow
set terminal key adm3a \4390 \Kuparr	; Gray-UpArrow
set terminal key adm3a \4391 \Krtarr	; Gray-RightArrow
set terminal key adm3a \4392 \Kdnarr	; Gray-DownArrow
set terminal key adm3a \4398 \{127}	; Gray-Delete
set terminal key adm3a \4443 \Kignore	; Gray-LeftMSWindows
set terminal key adm3a \4444 \Kignore	; Gray-RightMSWindows
set terminal key adm3a \4445 \Kignore	; Gray-TaskList
set terminal key adm3a \4458 \Kdump	; Gray-Multiply
set terminal key adm3a \4463 \{47}	; Gray-Divide
set terminal key adm3a \4496 \Kignore	; Gray-NumLock
set terminal key adm3a \4514 \Kignore	; Gray-162
set terminal key adm3a \4516 \Kignore	; Gray-164
set terminal key adm3a \4543 \{47}	; Gray-OEM.US.Slash
set terminal key adm3a \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key adm3a \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key adm3a \4909 \Kpaste	; Shift-Gray-Insert
set terminal key adm3a \4910 \{127}	; Shift-Gray-Delete
set terminal key adm3a \4970 \Kignore	; Shift-Gray-Multiply
set terminal key adm3a \5008 \Kignore	; Shift-Gray-NumLock
set terminal key adm3a \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key adm3a \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key adm3a \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key adm3a \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key adm3a \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key adm3a \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key adm3a \5422 \{8}	; Ctrl-Gray-Delete
set terminal key adm3a \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key adm3a \6434 \Kdos	; Alt-Gray-PageDown
set terminal key adm3a \6435 \Kprintff	; Alt-Gray-End
set terminal key adm3a \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key adm3a \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key adm3a \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key adm3a \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key adm3a \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key adm3a \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key adm3a \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key adm3a \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key adm3a \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key adm3a \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key adm3a \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key adm3a \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY aixterm
set terminal key aixterm \16 \Kignore	; DLE
set terminal key aixterm \17 \Kignore	; DC1
set terminal key aixterm \18 \Kignore	; DC2
set terminal key aixterm \264 \{8}	; Backspace
set terminal key aixterm \269 \{13}	; Enter
set terminal key aixterm \276 \Kignore	; CapsLock
set terminal key aixterm \290 \Kdnscn	; PageDown
set terminal key aixterm \291 \Kendscn	; End
set terminal key aixterm \292 \Khomscn	; Home
set terminal key aixterm \293 \Klfarr	; LeftArrow
set terminal key aixterm \294 \Kuparr	; UpArrow
set terminal key aixterm \295 \Krtarr	; RightArrow
set terminal key aixterm \296 \Kdnarr	; DownArrow
set terminal key aixterm /literal \298 \{27}[209q	; Print
set terminal key aixterm \302 \{127}	; Delete
set terminal key aixterm \352 \{48}	; Keypad-0
set terminal key aixterm \353 \{49}	; Keypad-1
set terminal key aixterm \354 \{50}	; Keypad-2
set terminal key aixterm \355 \{51}	; Keypad-3
set terminal key aixterm \356 \{52}	; Keypad-4
set terminal key aixterm \357 \{53}	; Keypad-5
set terminal key aixterm \358 \{54}	; Keypad-6
set terminal key aixterm \359 \{55}	; Keypad-7
set terminal key aixterm \360 \{56}	; Keypad-8
set terminal key aixterm \361 \{57}	; Keypad-9
set terminal key aixterm \362 \{42}	; Multiply
set terminal key aixterm \363 \{43}	; Add
set terminal key aixterm \364 \{47}	; Separator
set terminal key aixterm \365 \{45}	; Subtract
set terminal key aixterm \366 \{46}	; Decimal
set terminal key aixterm /literal \368 \{27}[001q	; F1
set terminal key aixterm /literal \369 \{27}[002q	; F2
set terminal key aixterm /literal \370 \{27}[003q	; F3
set terminal key aixterm /literal \371 \{27}[004q	; F4
set terminal key aixterm /literal \372 \{27}[005q	; F5
set terminal key aixterm /literal \373 \{27}[006q	; F6
set terminal key aixterm /literal \374 \{27}[007q	; F7
set terminal key aixterm /literal \375 \{27}[008q	; F8
set terminal key aixterm /literal \376 \{27}[009q	; F9
set terminal key aixterm /literal \377 \{27}[010q	; F10
set terminal key aixterm /literal \378 \{27}[011q	; F11
set terminal key aixterm /literal \379 \{27}[012q	; F12
set terminal key aixterm \400 \Kignore	; NumLock
set terminal key aixterm \401 \Kholdscrn	; ScrollLock
set terminal key aixterm \539 \{27}	; Shift-ESC
set terminal key aixterm \776 \{127}	; Shift-Backspace
set terminal key aixterm /literal \777 \{27}[Z	; Shift-Tab
set terminal key aixterm /literal \880 \{27}[013q	; Shift-F1
set terminal key aixterm /literal \881 \{27}[014q	; Shift-F2
set terminal key aixterm /literal \882 \{27}[015q	; Shift-F3
set terminal key aixterm /literal \883 \{27}[016q	; Shift-F4
set terminal key aixterm /literal \884 \{27}[017q	; Shift-F5
set terminal key aixterm /literal \885 \{27}[018q	; Shift-F6
set terminal key aixterm /literal \886 \{27}[019q	; Shift-F7
set terminal key aixterm /literal \887 \{27}[020q	; Shift-F8
set terminal key aixterm /literal \888 \{27}[021q	; Shift-F9
set terminal key aixterm /literal \889 \{27}[022q	; Shift-F10
set terminal key aixterm /literal \890 \{27}[023q	; Shift-F11
set terminal key aixterm /literal \891 \{27}[024q	; Shift-F12
set terminal key aixterm \912 \Kignore	; Shift-NumLock
set terminal key aixterm \1056 \Knull	; SP
set terminal key aixterm \1151 \{127}	; DEL
set terminal key aixterm /literal \1289 \{27}[072q	; Ctrl-Tab
set terminal key aixterm /literal \1292 \{27}[184q	; Ctrl-Clear
set terminal key aixterm /literal \1313 \{27}[190q	; Ctrl-PageUp
set terminal key aixterm /literal \1314 \{27}[194q	; Ctrl-PageDown
set terminal key aixterm /literal \1315 \{27}[176q	; Ctrl-End
set terminal key aixterm /literal \1316 \{27}[172q	; Ctrl-Home
set terminal key aixterm /literal \1317 \{27}[174q	; Ctrl-LeftArrow
set terminal key aixterm /literal \1318 \{27}[182q	; Ctrl-UpArrow
set terminal key aixterm /literal \1319 \{27}[192q	; Ctrl-RightArrow
set terminal key aixterm /literal \1320 \{27}[186q	; Ctrl-DownArrow
set terminal key aixterm /literal \1322 \{27}[211q	; Ctrl-Print
set terminal key aixterm /literal \1325 \{27}[178q	; Ctrl-Insert
set terminal key aixterm /literal \1326 \{27}[196q	; Ctrl-Delete
set terminal key aixterm /literal \1328 \{27}[056q	; Ctrl-0
set terminal key aixterm /literal \1329 \{27}[049q	; Ctrl-1
set terminal key aixterm \1330 \Knull	; Ctrl-2
set terminal key aixterm /literal \1331 \{27}[050q	; Ctrl-3
set terminal key aixterm /literal \1332 \{27}[051q	; Ctrl-4
set terminal key aixterm /literal \1333 \{27}[052q	; Ctrl-5
set terminal key aixterm \1334 \{30}	; Ctrl-6
set terminal key aixterm /literal \1335 \{27}[053q	; Ctrl-7
set terminal key aixterm /literal \1336 \{27}[054q	; Ctrl-8
set terminal key aixterm /literal \1337 \{27}[055q	; Ctrl-9
set terminal key aixterm /literal \1386 \{27}[187q	; Ctrl-Multiply
set terminal key aixterm /literal \1387 \{27}[200q	; Ctrl-Add
set terminal key aixterm /literal \1389 \{27}[198q	; Ctrl-Subtract
set terminal key aixterm /literal \1392 \{27}[025q	; Ctrl-F1
set terminal key aixterm /literal \1393 \{27}[026q	; Ctrl-F2
set terminal key aixterm /literal \1394 \{27}[027q	; Ctrl-F3
set terminal key aixterm /literal \1395 \{27}[028q	; Ctrl-F4
set terminal key aixterm /literal \1396 \{27}[029q	; Ctrl-F5
set terminal key aixterm /literal \1397 \{27}[030q	; Ctrl-F6
set terminal key aixterm /literal \1398 \{27}[031q	; Ctrl-F7
set terminal key aixterm /literal \1399 \{27}[032q	; Ctrl-F8
set terminal key aixterm /literal \1400 \{27}[033q	; Ctrl-F9
set terminal key aixterm /literal \1401 \{27}[034q	; Ctrl-F10
set terminal key aixterm /literal \1402 \{27}[035q	; Ctrl-F11
set terminal key aixterm /literal \1403 \{27}[036q	; Ctrl-F12
set terminal key aixterm \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key aixterm \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key aixterm /literal \1472 \{27}[057q	; Ctrl-OEM.US.Grave
set terminal key aixterm \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key aixterm \1842 \Knull	; Ctrl-Shift-2
set terminal key aixterm \1846 \{30}	; Ctrl-Shift-6
set terminal key aixterm \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key aixterm \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key aixterm \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key aixterm \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key aixterm \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key aixterm /literal \2096 \{27}[067q	; Alt-0
set terminal key aixterm /literal \2097 \{27}[058q	; Alt-1
set terminal key aixterm /literal \2098 \{27}[059q	; Alt-2
set terminal key aixterm /literal \2099 \{27}[060q	; Alt-3
set terminal key aixterm /literal \2100 \{27}[061q	; Alt-4
set terminal key aixterm /literal \2101 \{27}[062q	; Alt-5
set terminal key aixterm /literal \2102 \{27}[063q	; Alt-6
set terminal key aixterm /literal \2103 \{27}[064q	; Alt-7
set terminal key aixterm /literal \2104 \{27}[065q	; Alt-8
set terminal key aixterm /literal \2105 \{27}[066q	; Alt-9
set terminal key aixterm \2109 \Kreset	; Alt-=
set terminal key aixterm \2114 \Kbreak	; Alt-B
set terminal key aixterm \2115 \Kcompose	; Alt-C
set terminal key aixterm \2116 \Kdebug	; Alt-D
set terminal key aixterm \2117 \Kprintff	; Alt-E
set terminal key aixterm \2118 \Kfnkeys	; Alt-F
set terminal key aixterm \2120 \Khelp	; Alt-H
set terminal key aixterm \2123 \Kkeyclick	; Alt-K
set terminal key aixterm \2124 \Klbreak	; Alt-L
set terminal key aixterm \2126 \Kucs2	; Alt-N
set terminal key aixterm \2127 \Kprtauto	; Alt-O
set terminal key aixterm \2128 \Kdump	; Alt-P
set terminal key aixterm \2129 \Kquit	; Alt-Q
set terminal key aixterm \2130 \Kreset	; Alt-R
set terminal key aixterm \2131 \Kstatus	; Alt-S
set terminal key aixterm \2132 \Ktermtype	; Alt-T
set terminal key aixterm \2133 \Khangup	; Alt-U
set terminal key aixterm \2134 \Kflipscn	; Alt-V
set terminal key aixterm \2136 \Kexit	; Alt-X
set terminal key aixterm /literal \2145 \{27}[087q	; Alt-a
set terminal key aixterm /literal \2146 \{27}[105q	; Alt-b
set terminal key aixterm /literal \2147 \{27}[103q	; Alt-c
set terminal key aixterm /literal \2148 \{27}[089q	; Alt-d
set terminal key aixterm /literal \2149 \{27}[076q	; Alt-e
set terminal key aixterm /literal \2150 \{27}[090q	; Alt-f
set terminal key aixterm /literal \2151 \{27}[091q	; Alt-g
set terminal key aixterm /literal \2152 \{27}[092q	; Alt-h
set terminal key aixterm /literal \2153 \{27}[081q	; Alt-i
set terminal key aixterm /literal \2154 \{27}[093q	; Alt-j
set terminal key aixterm /literal \2155 \{27}[094q	; Alt-k
set terminal key aixterm /literal \2156 \{27}[095q	; Alt-l
set terminal key aixterm /literal \2157 \{27}[107q	; Alt-m
set terminal key aixterm /literal \2158 \{27}[106q	; Alt-n
set terminal key aixterm /literal \2159 \{27}[082q	; Alt-o
set terminal key aixterm /literal \2160 \{27}[083q	; Alt-p
set terminal key aixterm /literal \2161 \{27}[074q	; Alt-q
set terminal key aixterm /literal \2162 \{27}[077q	; Alt-r
set terminal key aixterm /literal \2163 \{27}[088q	; Alt-s
set terminal key aixterm /literal \2164 \{27}[078q	; Alt-t
set terminal key aixterm /literal \2165 \{27}[080q	; Alt-u
set terminal key aixterm /literal \2166 \{27}[104q	; Alt-v
set terminal key aixterm /literal \2167 \{27}[075q	; Alt-w
set terminal key aixterm /literal \2168 \{27}[102q	; Alt-x
set terminal key aixterm /literal \2169 \{27}[079q	; Alt-y
set terminal key aixterm /literal \2170 \{27}[101q	; Alt-z
set terminal key aixterm /literal \2312 \{27}[071q	; Alt-Backspace
set terminal key aixterm /literal \2317 \{27}[100q	; Alt-Enter
set terminal key aixterm /literal \2346 \{27}[212q	; Alt-Print
set terminal key aixterm /literal \2350 \{27}[197q	; Alt-Delete
set terminal key aixterm /literal \2410 \{27}[188q	; Alt-Multiply
set terminal key aixterm /literal \2411 \{27}[201q	; Alt-Add
set terminal key aixterm /literal \2413 \{27}[199q	; Alt-Subtract
set terminal key aixterm /literal \2416 \{27}[037q	; Alt-F1
set terminal key aixterm /literal \2417 \{27}[038q	; Alt-F2
set terminal key aixterm /literal \2418 \{27}[039q	; Alt-F3
set terminal key aixterm /literal \2419 \{27}[040q	; Alt-F4
set terminal key aixterm /literal \2420 \{27}[041q	; Alt-F5
set terminal key aixterm /literal \2421 \{27}[042q	; Alt-F6
set terminal key aixterm /literal \2422 \{27}[043q	; Alt-F7
set terminal key aixterm /literal \2423 \{27}[044q	; Alt-F8
set terminal key aixterm /literal \2424 \{27}[045q	; Alt-F9
set terminal key aixterm /literal \2425 \{27}[046q	; Alt-F10
set terminal key aixterm /literal \2426 \{27}[047q	; Alt-F11
set terminal key aixterm /literal \2427 \{27}[048q	; Alt-F12
set terminal key aixterm \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key aixterm \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key aixterm \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key aixterm \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key aixterm \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key aixterm \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key aixterm \4365 \{13}	; Gray-Enter
set terminal key aixterm /literal \4385 \{27}[150q	; Gray-PageUp
set terminal key aixterm /literal \4386 \{27}[154q	; Gray-PageDown
set terminal key aixterm /literal \4387 \{27}[146q	; Gray-End
set terminal key aixterm /literal \4388 \{27}[H	; Gray-Home
set terminal key aixterm \4389 \Klfarr	; Gray-LeftArrow
set terminal key aixterm \4390 \Kuparr	; Gray-UpArrow
set terminal key aixterm \4391 \Krtarr	; Gray-RightArrow
set terminal key aixterm \4392 \Kdnarr	; Gray-DownArrow
set terminal key aixterm /literal \4397 \{27}[139q	; Gray-Insert
set terminal key aixterm /literal \4398 \{27}[P	; Gray-Delete
set terminal key aixterm \4443 \Kignore	; Gray-LeftMSWindows
set terminal key aixterm \4444 \Kignore	; Gray-RightMSWindows
set terminal key aixterm \4445 \Kignore	; Gray-TaskList
set terminal key aixterm \4458 \Kdump	; Gray-Multiply
set terminal key aixterm \4463 \{47}	; Gray-Divide
set terminal key aixterm \4496 \Kignore	; Gray-NumLock
set terminal key aixterm \4514 \Kignore	; Gray-162
set terminal key aixterm \4516 \Kignore	; Gray-164
set terminal key aixterm \4543 \{47}	; Gray-OEM.US.Slash
set terminal key aixterm /literal \4897 \{27}[151q	; Shift-Gray-PageUp
set terminal key aixterm /literal \4898 \{27}[155q	; Shift-Gray-PageDown
set terminal key aixterm /literal \4899 \{27}[147q	; Shift-Gray-End
set terminal key aixterm /literal \4900 \{27}[143q	; Shift-Gray-Home
set terminal key aixterm /literal \4901 \{27}[158q	; Shift-Gray-LeftArrow
set terminal key aixterm /literal \4902 \{27}[161q	; Shift-Gray-UpArrow
set terminal key aixterm /literal \4903 \{27}[167q	; Shift-Gray-RightArrow
set terminal key aixterm /literal \4904 \{27}[164q	; Shift-Gray-DownArrow
set terminal key aixterm /literal \4909 \{27}[139q	; Shift-Gray-Insert
set terminal key aixterm /literal \4910 \{27}[P	; Shift-Gray-Delete
set terminal key aixterm \4970 \Kignore	; Shift-Gray-Multiply
set terminal key aixterm \5008 \Kignore	; Shift-Gray-NumLock
set terminal key aixterm /literal \5409 \{27}[152q	; Ctrl-Gray-PageUp
set terminal key aixterm /literal \5410 \{27}[156q	; Ctrl-Gray-PageDown
set terminal key aixterm /literal \5411 \{27}[148q	; Ctrl-Gray-End
set terminal key aixterm /literal \5412 \{27}[144q	; Ctrl-Gray-Home
set terminal key aixterm /literal \5413 \{27}[159q	; Ctrl-Gray-LeftArrow
set terminal key aixterm /literal \5414 \{27}[162q	; Ctrl-Gray-UpArrow
set terminal key aixterm /literal \5415 \{27}[168q	; Ctrl-Gray-RightArrow
set terminal key aixterm /literal \5416 \{27}[165q	; Ctrl-Gray-DownArrow
set terminal key aixterm /literal \5421 \{27}[140q	; Ctrl-Gray-Insert
set terminal key aixterm /literal \5422 \{27}[142q	; Ctrl-Gray-Delete
set terminal key aixterm /literal \5487 \{27}[179q	; Ctrl-Gray-Divide
set terminal key aixterm \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key aixterm /literal \6433 \{27}[153q	; Alt-Gray-PageUp
set terminal key aixterm /literal \6434 \{27}[157q	; Alt-Gray-PageDown
set terminal key aixterm /literal \6435 \{27}[149q	; Alt-Gray-End
set terminal key aixterm /literal \6436 \{27}[145q	; Alt-Gray-Home
set terminal key aixterm /literal \6437 \{27}[160q	; Alt-Gray-LeftArrow
set terminal key aixterm /literal \6438 \{27}[162q	; Alt-Gray-UpArrow
set terminal key aixterm /literal \6439 \{27}[169q	; Alt-Gray-RightArrow
set terminal key aixterm /literal \6440 \{27}[165q	; Alt-Gray-DownArrow
set terminal key aixterm /literal \6445 \{27}[141q	; Alt-Gray-Insert
set terminal key aixterm /literal \6446 \{27}[M	; Alt-Gray-Delete
set terminal key aixterm /literal \6511 \{27}[180q	; Alt-Gray-Divide
set terminal key aixterm \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key aixterm \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key aixterm \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key aixterm \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key aixterm \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key aixterm \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key aixterm \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key aixterm \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY annarbor
set terminal key annarbor \16 \Kignore	; DLE
set terminal key annarbor \17 \Kignore	; DC1
set terminal key annarbor \18 \Kignore	; DC2
set terminal key annarbor \264 \{127}	; Backspace
set terminal key annarbor \269 \{13}	; Enter
set terminal key annarbor \276 \Kignore	; CapsLock
set terminal key annarbor \290 \Kdnscn	; PageDown
set terminal key annarbor \291 \Kendscn	; End
set terminal key annarbor \292 \Khomscn	; Home
set terminal key annarbor \293 \Klfarr	; LeftArrow
set terminal key annarbor \294 \Kuparr	; UpArrow
set terminal key annarbor \295 \Krtarr	; RightArrow
set terminal key annarbor \296 \Kdnarr	; DownArrow
set terminal key annarbor \302 \{127}	; Delete
set terminal key annarbor \352 \{48}	; Keypad-0
set terminal key annarbor \353 \{49}	; Keypad-1
set terminal key annarbor \354 \{50}	; Keypad-2
set terminal key annarbor \355 \{51}	; Keypad-3
set terminal key annarbor \356 \{52}	; Keypad-4
set terminal key annarbor \357 \{53}	; Keypad-5
set terminal key annarbor \358 \{54}	; Keypad-6
set terminal key annarbor \359 \{55}	; Keypad-7
set terminal key annarbor \360 \{56}	; Keypad-8
set terminal key annarbor \361 \{57}	; Keypad-9
set terminal key annarbor \362 \{42}	; Multiply
set terminal key annarbor \363 \{43}	; Add
set terminal key annarbor \364 \{47}	; Separator
set terminal key annarbor \365 \{45}	; Subtract
set terminal key annarbor \366 \{46}	; Decimal
set terminal key annarbor \400 \Kignore	; NumLock
set terminal key annarbor \401 \Kholdscrn	; ScrollLock
set terminal key annarbor \539 \{27}	; Shift-ESC
set terminal key annarbor \776 \{127}	; Shift-Backspace
set terminal key annarbor \777 \{8}	; Shift-Tab
set terminal key annarbor \912 \Kignore	; Shift-NumLock
set terminal key annarbor \1056 \Knull	; SP
set terminal key annarbor \1326 \{8}	; Ctrl-Delete
set terminal key annarbor \1330 \Knull	; Ctrl-2
set terminal key annarbor \1334 \{30}	; Ctrl-6
set terminal key annarbor \1392 \Kmarkstart	; Ctrl-F1
set terminal key annarbor \1393 \Kmarkcancel	; Ctrl-F2
set terminal key annarbor \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key annarbor \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key annarbor \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key annarbor \1842 \Knull	; Ctrl-Shift-2
set terminal key annarbor \1846 \{30}	; Ctrl-Shift-6
set terminal key annarbor \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key annarbor \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key annarbor \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key annarbor \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key annarbor \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key annarbor \2109 \Kreset	; Alt-=
set terminal key annarbor \2114 \Kbreak	; Alt-B
set terminal key annarbor \2115 \Kcompose	; Alt-C
set terminal key annarbor \2116 \Kdebug	; Alt-D
set terminal key annarbor \2117 \Kprintff	; Alt-E
set terminal key annarbor \2118 \Kfnkeys	; Alt-F
set terminal key annarbor \2120 \Khelp	; Alt-H
set terminal key annarbor \2123 \Kkeyclick	; Alt-K
set terminal key annarbor \2124 \Klbreak	; Alt-L
set terminal key annarbor \2126 \Kucs2	; Alt-N
set terminal key annarbor \2127 \Kprtauto	; Alt-O
set terminal key annarbor \2128 \Kdump	; Alt-P
set terminal key annarbor \2129 \Kquit	; Alt-Q
set terminal key annarbor \2130 \Kreset	; Alt-R
set terminal key annarbor \2131 \Kstatus	; Alt-S
set terminal key annarbor \2132 \Ktermtype	; Alt-T
set terminal key annarbor \2133 \Khangup	; Alt-U
set terminal key annarbor \2134 \Kflipscn	; Alt-V
set terminal key annarbor \2136 \Kexit	; Alt-X
set terminal key annarbor \2146 \Kbreak	; Alt-b
set terminal key annarbor \2147 \Kcompose	; Alt-c
set terminal key annarbor \2148 \Kdebug	; Alt-d
set terminal key annarbor \2149 \Kprintff	; Alt-e
set terminal key annarbor \2150 \Kfnkeys	; Alt-f
set terminal key annarbor \2152 \Khelp	; Alt-h
set terminal key annarbor \2155 \Kkeyclick	; Alt-k
set terminal key annarbor \2156 \Klbreak	; Alt-l
set terminal key annarbor \2158 \Kucs2	; Alt-n
set terminal key annarbor \2159 \Kprtauto	; Alt-o
set terminal key annarbor \2160 \Kdump	; Alt-p
set terminal key annarbor \2161 \Kquit	; Alt-q
set terminal key annarbor \2162 \Kreset	; Alt-r
set terminal key annarbor \2163 \Kstatus	; Alt-s
set terminal key annarbor \2164 \Ktermtype	; Alt-t
set terminal key annarbor \2165 \Khangup	; Alt-u
set terminal key annarbor \2166 \Kflipscn	; Alt-v
set terminal key annarbor \2168 \Kexit	; Alt-x
set terminal key annarbor \2312 \{8}	; Alt-Backspace
set terminal key annarbor \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key annarbor \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key annarbor \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key annarbor \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key annarbor \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key annarbor \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key annarbor \4365 \{13}	; Gray-Enter
set terminal key annarbor \4385 \Kupscn	; Gray-PageUp
set terminal key annarbor \4386 \Kdnscn	; Gray-PageDown
set terminal key annarbor \4387 \Kendscn	; Gray-End
set terminal key annarbor \4388 \Khomscn	; Gray-Home
set terminal key annarbor \4389 \Klfarr	; Gray-LeftArrow
set terminal key annarbor \4390 \Kuparr	; Gray-UpArrow
set terminal key annarbor \4391 \Krtarr	; Gray-RightArrow
set terminal key annarbor \4392 \Kdnarr	; Gray-DownArrow
set terminal key annarbor \4398 \{127}	; Gray-Delete
set terminal key annarbor \4443 \Kignore	; Gray-LeftMSWindows
set terminal key annarbor \4444 \Kignore	; Gray-RightMSWindows
set terminal key annarbor \4445 \Kignore	; Gray-TaskList
set terminal key annarbor \4458 \Kdump	; Gray-Multiply
set terminal key annarbor \4463 \{47}	; Gray-Divide
set terminal key annarbor \4496 \Kignore	; Gray-NumLock
set terminal key annarbor \4514 \Kignore	; Gray-162
set terminal key annarbor \4516 \Kignore	; Gray-164
set terminal key annarbor \4543 \{47}	; Gray-OEM.US.Slash
set terminal key annarbor \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key annarbor \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key annarbor \4909 \Kpaste	; Shift-Gray-Insert
set terminal key annarbor \4910 \{127}	; Shift-Gray-Delete
set terminal key annarbor \4970 \Kignore	; Shift-Gray-Multiply
set terminal key annarbor \5008 \Kignore	; Shift-Gray-NumLock
set terminal key annarbor \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key annarbor \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key annarbor \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key annarbor \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key annarbor \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key annarbor \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key annarbor \5422 \{8}	; Ctrl-Gray-Delete
set terminal key annarbor \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key annarbor \6434 \Kdos	; Alt-Gray-PageDown
set terminal key annarbor \6435 \Kprintff	; Alt-Gray-End
set terminal key annarbor \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key annarbor \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key annarbor \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key annarbor \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key annarbor \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key annarbor \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key annarbor \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key annarbor \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key annarbor \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key annarbor \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key annarbor \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key annarbor \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY ansi-bbs
set terminal key ansi-bbs \16 \Kignore	; DLE
set terminal key ansi-bbs \17 \Kignore	; DC1
set terminal key ansi-bbs \18 \Kignore	; DC2
set terminal key ansi-bbs \264 \{127}	; Backspace
set terminal key ansi-bbs \268 \Kkp5	; Clear
set terminal key ansi-bbs \269 \{13}	; Enter
set terminal key ansi-bbs \276 \Kignore	; CapsLock
set terminal key ansi-bbs \289 \Kkp9	; PageUp
set terminal key ansi-bbs \290 \Kkp3	; PageDown
set terminal key ansi-bbs \291 \Kkp1	; End
set terminal key ansi-bbs \292 \Kkp7	; Home
set terminal key ansi-bbs \293 \Kkp4	; LeftArrow
set terminal key ansi-bbs \294 \Kkp8	; UpArrow
set terminal key ansi-bbs \295 \Kkp6	; RightArrow
set terminal key ansi-bbs \296 \Kkp2	; DownArrow
set terminal key ansi-bbs \301 \Kkp0	; Insert
set terminal key ansi-bbs \302 \Kkpdot	; Delete
set terminal key ansi-bbs \352 \Kkp0	; Keypad-0
set terminal key ansi-bbs \353 \Kkp1	; Keypad-1
set terminal key ansi-bbs \354 \Kkp2	; Keypad-2
set terminal key ansi-bbs \355 \Kkp3	; Keypad-3
set terminal key ansi-bbs \356 \Kkp4	; Keypad-4
set terminal key ansi-bbs \357 \Kkp5	; Keypad-5
set terminal key ansi-bbs \358 \Kkp6	; Keypad-6
set terminal key ansi-bbs \359 \Kkp7	; Keypad-7
set terminal key ansi-bbs \360 \Kkp8	; Keypad-8
set terminal key ansi-bbs \361 \Kkp9	; Keypad-9
set terminal key ansi-bbs \362 \Kpf3	; Multiply
set terminal key ansi-bbs \363 \Kkpcoma	; Add
set terminal key ansi-bbs \364 \{47}	; Separator
set terminal key ansi-bbs \365 \Kpf4	; Subtract
set terminal key ansi-bbs \366 \Kkpdot	; Decimal
set terminal key ansi-bbs \368 \Kgold	; F1
set terminal key ansi-bbs \369 \Kpf2	; F2
set terminal key ansi-bbs \370 \Kpf3	; F3
set terminal key ansi-bbs \371 \Kpf4	; F4
set terminal key ansi-bbs \400 \Kgold	; NumLock
set terminal key ansi-bbs \401 \Kholdscrn	; ScrollLock
set terminal key ansi-bbs \539 \{27}	; Shift-ESC
set terminal key ansi-bbs \776 \{127}	; Shift-Backspace
set terminal key ansi-bbs \777 \{8}	; Shift-Tab
set terminal key ansi-bbs \912 \Kignore	; Shift-NumLock
set terminal key ansi-bbs \1056 \Knull	; SP
set terminal key ansi-bbs \1326 \{8}	; Ctrl-Delete
set terminal key ansi-bbs \1330 \Knull	; Ctrl-2
set terminal key ansi-bbs \1334 \{30}	; Ctrl-6
set terminal key ansi-bbs \1392 \Kmarkstart	; Ctrl-F1
set terminal key ansi-bbs \1393 \Kmarkcancel	; Ctrl-F2
set terminal key ansi-bbs \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key ansi-bbs \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key ansi-bbs \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key ansi-bbs \1842 \Knull	; Ctrl-Shift-2
set terminal key ansi-bbs \1846 \{30}	; Ctrl-Shift-6
set terminal key ansi-bbs \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key ansi-bbs \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key ansi-bbs \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key ansi-bbs \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key ansi-bbs \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key ansi-bbs \2092 \Kkpcoma	; Alt-,
set terminal key ansi-bbs \2093 \Kkpminus	; Alt--
set terminal key ansi-bbs \2094 \Kkpdot	; Alt-.
set terminal key ansi-bbs \2096 \Kkp0	; Alt-0
set terminal key ansi-bbs \2097 \Kkp1	; Alt-1
set terminal key ansi-bbs \2098 \Kkp2	; Alt-2
set terminal key ansi-bbs \2099 \Kkp3	; Alt-3
set terminal key ansi-bbs \2100 \Kkp4	; Alt-4
set terminal key ansi-bbs \2101 \Kkp5	; Alt-5
set terminal key ansi-bbs \2102 \Kkp6	; Alt-6
set terminal key ansi-bbs \2103 \Kkp7	; Alt-7
set terminal key ansi-bbs \2104 \Kkp8	; Alt-8
set terminal key ansi-bbs \2105 \Kkp9	; Alt-9
set terminal key ansi-bbs \2109 \Kreset	; Alt-=
set terminal key ansi-bbs \2114 \Kbreak	; Alt-B
set terminal key ansi-bbs \2115 \Kcompose	; Alt-C
set terminal key ansi-bbs \2116 \Kdebug	; Alt-D
set terminal key ansi-bbs \2117 \Kprintff	; Alt-E
set terminal key ansi-bbs \2118 \Kfnkeys	; Alt-F
set terminal key ansi-bbs \2120 \Khelp	; Alt-H
set terminal key ansi-bbs \2123 \Kkeyclick	; Alt-K
set terminal key ansi-bbs \2124 \Klbreak	; Alt-L
set terminal key ansi-bbs \2126 \Kucs2	; Alt-N
set terminal key ansi-bbs \2127 \Kprtauto	; Alt-O
set terminal key ansi-bbs \2128 \Kdump	; Alt-P
set terminal key ansi-bbs \2129 \Kquit	; Alt-Q
set terminal key ansi-bbs \2130 \Kreset	; Alt-R
set terminal key ansi-bbs \2131 \Kstatus	; Alt-S
set terminal key ansi-bbs \2132 \Ktermtype	; Alt-T
set terminal key ansi-bbs \2133 \Khangup	; Alt-U
set terminal key ansi-bbs \2134 \Kflipscn	; Alt-V
set terminal key ansi-bbs \2136 \Kexit	; Alt-X
set terminal key ansi-bbs \2146 \Kbreak	; Alt-b
set terminal key ansi-bbs \2147 \Kcompose	; Alt-c
set terminal key ansi-bbs \2148 \Kdebug	; Alt-d
set terminal key ansi-bbs \2149 \Kprintff	; Alt-e
set terminal key ansi-bbs \2150 \Kfnkeys	; Alt-f
set terminal key ansi-bbs \2152 \Khelp	; Alt-h
set terminal key ansi-bbs \2155 \Kkeyclick	; Alt-k
set terminal key ansi-bbs \2156 \Klbreak	; Alt-l
set terminal key ansi-bbs \2158 \Kucs2	; Alt-n
set terminal key ansi-bbs \2159 \Kprtauto	; Alt-o
set terminal key ansi-bbs \2160 \Kdump	; Alt-p
set terminal key ansi-bbs \2161 \Kquit	; Alt-q
set terminal key ansi-bbs \2162 \Kreset	; Alt-r
set terminal key ansi-bbs \2163 \Kstatus	; Alt-s
set terminal key ansi-bbs \2164 \Ktermtype	; Alt-t
set terminal key ansi-bbs \2165 \Khangup	; Alt-u
set terminal key ansi-bbs \2166 \Kflipscn	; Alt-v
set terminal key ansi-bbs \2168 \Kexit	; Alt-x
set terminal key ansi-bbs \2312 \{8}	; Alt-Backspace
set terminal key ansi-bbs \2411 \Kkpminus	; Alt-Add
set terminal key ansi-bbs \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key ansi-bbs \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key ansi-bbs \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key ansi-bbs \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key ansi-bbs \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key ansi-bbs \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key ansi-bbs \4143 \Kpf2	; Kp-/
set terminal key ansi-bbs \4365 \Kkpenter	; Gray-Enter
set terminal key ansi-bbs \4385 \Kupscn	; Gray-PageUp
set terminal key ansi-bbs \4386 \Kdnscn	; Gray-PageDown
set terminal key ansi-bbs \4387 \Kendscn	; Gray-End
set terminal key ansi-bbs \4388 \Khomscn	; Gray-Home
set terminal key ansi-bbs \4389 \Klfarr	; Gray-LeftArrow
set terminal key ansi-bbs \4390 \Kuparr	; Gray-UpArrow
set terminal key ansi-bbs \4391 \Krtarr	; Gray-RightArrow
set terminal key ansi-bbs \4392 \Kdnarr	; Gray-DownArrow
set terminal key ansi-bbs \4398 \{127}	; Gray-Delete
set terminal key ansi-bbs \4443 \Kignore	; Gray-LeftMSWindows
set terminal key ansi-bbs \4444 \Kignore	; Gray-RightMSWindows
set terminal key ansi-bbs \4445 \Kignore	; Gray-TaskList
set terminal key ansi-bbs \4458 \Kdump	; Gray-Multiply
set terminal key ansi-bbs \4463 \Kpf2	; Gray-Divide
set terminal key ansi-bbs \4496 \Kgold	; Gray-NumLock
set terminal key ansi-bbs \4514 \Kignore	; Gray-162
set terminal key ansi-bbs \4516 \Kignore	; Gray-164
set terminal key ansi-bbs \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key ansi-bbs \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key ansi-bbs \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key ansi-bbs \4909 \Kpaste	; Shift-Gray-Insert
set terminal key ansi-bbs \4910 \{127}	; Shift-Gray-Delete
set terminal key ansi-bbs \4970 \Kignore	; Shift-Gray-Multiply
set terminal key ansi-bbs \5008 \Kignore	; Shift-Gray-NumLock
set terminal key ansi-bbs \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key ansi-bbs \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key ansi-bbs \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key ansi-bbs \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key ansi-bbs \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key ansi-bbs \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key ansi-bbs \5422 \{8}	; Ctrl-Gray-Delete
set terminal key ansi-bbs \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key ansi-bbs \6434 \Kdos	; Alt-Gray-PageDown
set terminal key ansi-bbs \6435 \Kprintff	; Alt-Gray-End
set terminal key ansi-bbs \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key ansi-bbs \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key ansi-bbs \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key ansi-bbs \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key ansi-bbs \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key ansi-bbs \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key ansi-bbs \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key ansi-bbs \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key ansi-bbs \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key ansi-bbs \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key ansi-bbs \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key ansi-bbs \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY at386
set terminal key at386 \16 \Kignore	; DLE
set terminal key at386 \17 \Kignore	; DC1
set terminal key at386 \18 \Kignore	; DC2
set terminal key at386 \264 \{8}	; Backspace
set terminal key at386 \268 \Kansif54	; Clear
set terminal key at386 \269 \{13}	; Enter
set terminal key at386 \276 \Kignore	; CapsLock
set terminal key at386 \289 \Kansif51	; PageUp
set terminal key at386 \290 \Kansif59	; PageDown
set terminal key at386 \291 \Kansif57	; End
set terminal key at386 \292 \Kansif49	; Home
set terminal key at386 \293 \Kansif53	; LeftArrow
set terminal key at386 \294 \Kansif50	; UpArrow
set terminal key at386 \295 \Kansif55	; RightArrow
set terminal key at386 \296 \Kansif58	; DownArrow
set terminal key at386 \301 \Kansif60	; Insert
set terminal key at386 \302 \{127}	; Delete
set terminal key at386 \352 \{48}	; Keypad-0
set terminal key at386 \353 \{49}	; Keypad-1
set terminal key at386 \354 \{50}	; Keypad-2
set terminal key at386 \355 \{51}	; Keypad-3
set terminal key at386 \356 \{52}	; Keypad-4
set terminal key at386 \357 \{53}	; Keypad-5
set terminal key at386 \358 \{54}	; Keypad-6
set terminal key at386 \359 \{55}	; Keypad-7
set terminal key at386 \360 \{56}	; Keypad-8
set terminal key at386 \361 \{57}	; Keypad-9
set terminal key at386 \362 \{42}	; Multiply
set terminal key at386 \363 \{43}	; Add
set terminal key at386 \364 \{47}	; Separator
set terminal key at386 \365 \{45}	; Subtract
set terminal key at386 \366 \{46}	; Decimal
set terminal key at386 \368 \Kansif01	; F1
set terminal key at386 \369 \Kansif02	; F2
set terminal key at386 \370 \Kansif03	; F3
set terminal key at386 \371 \Kansif04	; F4
set terminal key at386 \372 \Kansif05	; F5
set terminal key at386 \373 \Kansif06	; F6
set terminal key at386 \374 \Kansif07	; F7
set terminal key at386 \375 \Kansif08	; F8
set terminal key at386 \376 \Kansif09	; F9
set terminal key at386 \377 \Kansif10	; F10
set terminal key at386 \378 \Kansif11	; F11
set terminal key at386 \379 \Kansif12	; F12
set terminal key at386 \400 \Kignore	; NumLock
set terminal key at386 \401 \Kholdscrn	; ScrollLock
set terminal key at386 \539 \{27}	; Shift-ESC
set terminal key at386 \776 \{127}	; Shift-Backspace
set terminal key at386 \777 \{29}	; Shift-Tab
set terminal key at386 \875 \Kansif56	; Shift-Add
set terminal key at386 \877 \Kansif52	; Shift-Subtract
set terminal key at386 \880 \Kansif13	; Shift-F1
set terminal key at386 \881 \Kansif14	; Shift-F2
set terminal key at386 \882 \Kansif15	; Shift-F3
set terminal key at386 \883 \Kansif16	; Shift-F4
set terminal key at386 \884 \Kansif17	; Shift-F5
set terminal key at386 \885 \Kansif18	; Shift-F6
set terminal key at386 \886 \Kansif19	; Shift-F7
set terminal key at386 \887 \Kansif20	; Shift-F8
set terminal key at386 \888 \Kansif21	; Shift-F9
set terminal key at386 \889 \Kansif22	; Shift-F10
set terminal key at386 \890 \Kansif23	; Shift-F11
set terminal key at386 \891 \Kansif24	; Shift-F12
set terminal key at386 \912 \Kignore	; Shift-NumLock
set terminal key at386 \1056 \Knull	; SP
set terminal key at386 \1326 \{8}	; Ctrl-Delete
set terminal key at386 \1330 \Knull	; Ctrl-2
set terminal key at386 \1334 \{30}	; Ctrl-6
set terminal key at386 \1392 \Kansif25	; Ctrl-F1
set terminal key at386 \1393 \Kansif26	; Ctrl-F2
set terminal key at386 \1394 \Kansif27	; Ctrl-F3
set terminal key at386 \1395 \Kansif28	; Ctrl-F4
set terminal key at386 \1396 \Kansif29	; Ctrl-F5
set terminal key at386 \1397 \Kansif30	; Ctrl-F6
set terminal key at386 \1398 \Kansif31	; Ctrl-F7
set terminal key at386 \1399 \Kansif32	; Ctrl-F8
set terminal key at386 \1400 \Kansif33	; Ctrl-F9
set terminal key at386 \1401 \Kansif34	; Ctrl-F10
set terminal key at386 \1402 \Kansif35	; Ctrl-F11
set terminal key at386 \1403 \Kansif36	; Ctrl-F12
set terminal key at386 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key at386 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key at386 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key at386 \1842 \Knull	; Ctrl-Shift-2
set terminal key at386 \1846 \{30}	; Ctrl-Shift-6
set terminal key at386 \1899 \Kansif56	; Ctrl-Shift-Add
set terminal key at386 \1901 \Kansif52	; Ctrl-Shift-Subtract
set terminal key at386 \1904 \Kansif37	; Ctrl-Shift-F1
set terminal key at386 \1905 \Kansif38	; Ctrl-Shift-F2
set terminal key at386 \1906 \Kansif39	; Ctrl-Shift-F3
set terminal key at386 \1907 \Kansif40	; Ctrl-Shift-F4
set terminal key at386 \1908 \Kansif41	; Ctrl-Shift-F5
set terminal key at386 \1909 \Kansif42	; Ctrl-Shift-F6
set terminal key at386 \1910 \Kansif43	; Ctrl-Shift-F7
set terminal key at386 \1911 \Kansif44	; Ctrl-Shift-F8
set terminal key at386 \1912 \Kansif45	; Ctrl-Shift-F9
set terminal key at386 \1913 \Kansif46	; Ctrl-Shift-F10
set terminal key at386 \1914 \Kansif47	; Ctrl-Shift-F11
set terminal key at386 \1915 \Kansif48	; Ctrl-Shift-F12
set terminal key at386 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key at386 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key at386 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key at386 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key at386 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key at386 \2109 \Kreset	; Alt-=
set terminal key at386 \2114 \Kbreak	; Alt-B
set terminal key at386 \2115 \Kcompose	; Alt-C
set terminal key at386 \2116 \Kdebug	; Alt-D
set terminal key at386 \2117 \Kprintff	; Alt-E
set terminal key at386 \2118 \Kfnkeys	; Alt-F
set terminal key at386 \2120 \Khelp	; Alt-H
set terminal key at386 \2123 \Kkeyclick	; Alt-K
set terminal key at386 \2124 \Klbreak	; Alt-L
set terminal key at386 \2126 \Kucs2	; Alt-N
set terminal key at386 \2127 \Kprtauto	; Alt-O
set terminal key at386 \2128 \Kdump	; Alt-P
set terminal key at386 \2129 \Kquit	; Alt-Q
set terminal key at386 \2130 \Kreset	; Alt-R
set terminal key at386 \2131 \Kstatus	; Alt-S
set terminal key at386 \2132 \Ktermtype	; Alt-T
set terminal key at386 \2133 \Khangup	; Alt-U
set terminal key at386 \2134 \Kflipscn	; Alt-V
set terminal key at386 \2136 \Kexit	; Alt-X
set terminal key at386 \2146 \Kbreak	; Alt-b
set terminal key at386 \2147 \Kcompose	; Alt-c
set terminal key at386 \2148 \Kdebug	; Alt-d
set terminal key at386 \2149 \Kprintff	; Alt-e
set terminal key at386 \2150 \Kfnkeys	; Alt-f
set terminal key at386 \2152 \Khelp	; Alt-h
set terminal key at386 \2155 \Kkeyclick	; Alt-k
set terminal key at386 \2156 \Klbreak	; Alt-l
set terminal key at386 \2158 \Kucs2	; Alt-n
set terminal key at386 \2159 \Kprtauto	; Alt-o
set terminal key at386 \2160 \Kdump	; Alt-p
set terminal key at386 \2161 \Kquit	; Alt-q
set terminal key at386 \2162 \Kreset	; Alt-r
set terminal key at386 \2163 \Kstatus	; Alt-s
set terminal key at386 \2164 \Ktermtype	; Alt-t
set terminal key at386 \2165 \Khangup	; Alt-u
set terminal key at386 \2166 \Kflipscn	; Alt-v
set terminal key at386 \2168 \Kexit	; Alt-x
set terminal key at386 \2312 \{8}	; Alt-Backspace
set terminal key at386 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key at386 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key at386 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key at386 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key at386 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key at386 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key at386 \4365 \{13}	; Gray-Enter
set terminal key at386 \4385 \Kansif51	; Gray-PageUp
set terminal key at386 \4386 \Kansif59	; Gray-PageDown
set terminal key at386 \4387 \Kansif57	; Gray-End
set terminal key at386 \4388 \Kansif49	; Gray-Home
set terminal key at386 \4389 \Kansif53	; Gray-LeftArrow
set terminal key at386 \4390 \Kansif50	; Gray-UpArrow
set terminal key at386 \4391 \Kansif55	; Gray-RightArrow
set terminal key at386 \4392 \Kansif58	; Gray-DownArrow
set terminal key at386 \4397 \Kansif60	; Gray-Insert
set terminal key at386 \4398 \{127}	; Gray-Delete
set terminal key at386 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key at386 \4444 \Kignore	; Gray-RightMSWindows
set terminal key at386 \4445 \Kignore	; Gray-TaskList
set terminal key at386 \4458 \Kdump	; Gray-Multiply
set terminal key at386 \4463 \{47}	; Gray-Divide
set terminal key at386 \4496 \Kignore	; Gray-NumLock
set terminal key at386 \4514 \Kignore	; Gray-162
set terminal key at386 \4516 \Kignore	; Gray-164
set terminal key at386 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key at386 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key at386 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key at386 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key at386 \4910 \{127}	; Shift-Gray-Delete
set terminal key at386 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key at386 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key at386 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key at386 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key at386 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key at386 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key at386 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key at386 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key at386 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key at386 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key at386 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key at386 \6435 \Kprintff	; Alt-Gray-End
set terminal key at386 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key at386 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key at386 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key at386 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key at386 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key at386 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key at386 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key at386 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key at386 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key at386 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key at386 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key at386 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY avatar/0+
set terminal key avatar/0+ \16 \Kignore	; DLE
set terminal key avatar/0+ \17 \Kignore	; DC1
set terminal key avatar/0+ \18 \Kignore	; DC2
set terminal key avatar/0+ \264 \{127}	; Backspace
set terminal key avatar/0+ \268 \Kkp5	; Clear
set terminal key avatar/0+ \269 \{13}	; Enter
set terminal key avatar/0+ \276 \Kignore	; CapsLock
set terminal key avatar/0+ \289 \Kkp9	; PageUp
set terminal key avatar/0+ \290 \Kkp3	; PageDown
set terminal key avatar/0+ \291 \Kkp1	; End
set terminal key avatar/0+ \292 \Kkp7	; Home
set terminal key avatar/0+ \293 \Kkp4	; LeftArrow
set terminal key avatar/0+ \294 \Kkp8	; UpArrow
set terminal key avatar/0+ \295 \Kkp6	; RightArrow
set terminal key avatar/0+ \296 \Kkp2	; DownArrow
set terminal key avatar/0+ \301 \Kkp0	; Insert
set terminal key avatar/0+ \302 \Kkpdot	; Delete
set terminal key avatar/0+ \352 \Kkp0	; Keypad-0
set terminal key avatar/0+ \353 \Kkp1	; Keypad-1
set terminal key avatar/0+ \354 \Kkp2	; Keypad-2
set terminal key avatar/0+ \355 \Kkp3	; Keypad-3
set terminal key avatar/0+ \356 \Kkp4	; Keypad-4
set terminal key avatar/0+ \357 \Kkp5	; Keypad-5
set terminal key avatar/0+ \358 \Kkp6	; Keypad-6
set terminal key avatar/0+ \359 \Kkp7	; Keypad-7
set terminal key avatar/0+ \360 \Kkp8	; Keypad-8
set terminal key avatar/0+ \361 \Kkp9	; Keypad-9
set terminal key avatar/0+ \362 \Kpf3	; Multiply
set terminal key avatar/0+ \363 \Kkpcoma	; Add
set terminal key avatar/0+ \364 \{47}	; Separator
set terminal key avatar/0+ \365 \Kpf4	; Subtract
set terminal key avatar/0+ \366 \Kkpdot	; Decimal
set terminal key avatar/0+ \368 \Kgold	; F1
set terminal key avatar/0+ \369 \Kpf2	; F2
set terminal key avatar/0+ \370 \Kpf3	; F3
set terminal key avatar/0+ \371 \Kpf4	; F4
set terminal key avatar/0+ \400 \Kgold	; NumLock
set terminal key avatar/0+ \401 \Kholdscrn	; ScrollLock
set terminal key avatar/0+ \539 \{27}	; Shift-ESC
set terminal key avatar/0+ \776 \{127}	; Shift-Backspace
set terminal key avatar/0+ \777 \{8}	; Shift-Tab
set terminal key avatar/0+ \912 \Kignore	; Shift-NumLock
set terminal key avatar/0+ \1056 \Knull	; SP
set terminal key avatar/0+ \1326 \{8}	; Ctrl-Delete
set terminal key avatar/0+ \1330 \Knull	; Ctrl-2
set terminal key avatar/0+ \1334 \{30}	; Ctrl-6
set terminal key avatar/0+ \1392 \Kmarkstart	; Ctrl-F1
set terminal key avatar/0+ \1393 \Kmarkcancel	; Ctrl-F2
set terminal key avatar/0+ \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key avatar/0+ \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key avatar/0+ \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key avatar/0+ \1842 \Knull	; Ctrl-Shift-2
set terminal key avatar/0+ \1846 \{30}	; Ctrl-Shift-6
set terminal key avatar/0+ \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key avatar/0+ \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key avatar/0+ \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key avatar/0+ \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key avatar/0+ \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key avatar/0+ \2092 \Kkpcoma	; Alt-,
set terminal key avatar/0+ \2093 \Kkpminus	; Alt--
set terminal key avatar/0+ \2094 \Kkpdot	; Alt-.
set terminal key avatar/0+ \2096 \Kkp0	; Alt-0
set terminal key avatar/0+ \2097 \Kkp1	; Alt-1
set terminal key avatar/0+ \2098 \Kkp2	; Alt-2
set terminal key avatar/0+ \2099 \Kkp3	; Alt-3
set terminal key avatar/0+ \2100 \Kkp4	; Alt-4
set terminal key avatar/0+ \2101 \Kkp5	; Alt-5
set terminal key avatar/0+ \2102 \Kkp6	; Alt-6
set terminal key avatar/0+ \2103 \Kkp7	; Alt-7
set terminal key avatar/0+ \2104 \Kkp8	; Alt-8
set terminal key avatar/0+ \2105 \Kkp9	; Alt-9
set terminal key avatar/0+ \2109 \Kreset	; Alt-=
set terminal key avatar/0+ \2114 \Kbreak	; Alt-B
set terminal key avatar/0+ \2115 \Kcompose	; Alt-C
set terminal key avatar/0+ \2116 \Kdebug	; Alt-D
set terminal key avatar/0+ \2117 \Kprintff	; Alt-E
set terminal key avatar/0+ \2118 \Kfnkeys	; Alt-F
set terminal key avatar/0+ \2120 \Khelp	; Alt-H
set terminal key avatar/0+ \2123 \Kkeyclick	; Alt-K
set terminal key avatar/0+ \2124 \Klbreak	; Alt-L
set terminal key avatar/0+ \2126 \Kucs2	; Alt-N
set terminal key avatar/0+ \2127 \Kprtauto	; Alt-O
set terminal key avatar/0+ \2128 \Kdump	; Alt-P
set terminal key avatar/0+ \2129 \Kquit	; Alt-Q
set terminal key avatar/0+ \2130 \Kreset	; Alt-R
set terminal key avatar/0+ \2131 \Kstatus	; Alt-S
set terminal key avatar/0+ \2132 \Ktermtype	; Alt-T
set terminal key avatar/0+ \2133 \Khangup	; Alt-U
set terminal key avatar/0+ \2134 \Kflipscn	; Alt-V
set terminal key avatar/0+ \2136 \Kexit	; Alt-X
set terminal key avatar/0+ \2146 \Kbreak	; Alt-b
set terminal key avatar/0+ \2147 \Kcompose	; Alt-c
set terminal key avatar/0+ \2148 \Kdebug	; Alt-d
set terminal key avatar/0+ \2149 \Kprintff	; Alt-e
set terminal key avatar/0+ \2150 \Kfnkeys	; Alt-f
set terminal key avatar/0+ \2152 \Khelp	; Alt-h
set terminal key avatar/0+ \2155 \Kkeyclick	; Alt-k
set terminal key avatar/0+ \2156 \Klbreak	; Alt-l
set terminal key avatar/0+ \2158 \Kucs2	; Alt-n
set terminal key avatar/0+ \2159 \Kprtauto	; Alt-o
set terminal key avatar/0+ \2160 \Kdump	; Alt-p
set terminal key avatar/0+ \2161 \Kquit	; Alt-q
set terminal key avatar/0+ \2162 \Kreset	; Alt-r
set terminal key avatar/0+ \2163 \Kstatus	; Alt-s
set terminal key avatar/0+ \2164 \Ktermtype	; Alt-t
set terminal key avatar/0+ \2165 \Khangup	; Alt-u
set terminal key avatar/0+ \2166 \Kflipscn	; Alt-v
set terminal key avatar/0+ \2168 \Kexit	; Alt-x
set terminal key avatar/0+ \2312 \{8}	; Alt-Backspace
set terminal key avatar/0+ \2411 \Kkpminus	; Alt-Add
set terminal key avatar/0+ \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key avatar/0+ \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key avatar/0+ \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key avatar/0+ \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key avatar/0+ \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key avatar/0+ \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key avatar/0+ \4143 \Kpf2	; Kp-/
set terminal key avatar/0+ \4365 \Kkpenter	; Gray-Enter
set terminal key avatar/0+ \4385 \Kupscn	; Gray-PageUp
set terminal key avatar/0+ \4386 \Kdnscn	; Gray-PageDown
set terminal key avatar/0+ \4387 \Kendscn	; Gray-End
set terminal key avatar/0+ \4388 \Khomscn	; Gray-Home
set terminal key avatar/0+ \4389 \Klfarr	; Gray-LeftArrow
set terminal key avatar/0+ \4390 \Kuparr	; Gray-UpArrow
set terminal key avatar/0+ \4391 \Krtarr	; Gray-RightArrow
set terminal key avatar/0+ \4392 \Kdnarr	; Gray-DownArrow
set terminal key avatar/0+ \4398 \{127}	; Gray-Delete
set terminal key avatar/0+ \4443 \Kignore	; Gray-LeftMSWindows
set terminal key avatar/0+ \4444 \Kignore	; Gray-RightMSWindows
set terminal key avatar/0+ \4445 \Kignore	; Gray-TaskList
set terminal key avatar/0+ \4458 \Kdump	; Gray-Multiply
set terminal key avatar/0+ \4463 \Kpf2	; Gray-Divide
set terminal key avatar/0+ \4496 \Kgold	; Gray-NumLock
set terminal key avatar/0+ \4514 \Kignore	; Gray-162
set terminal key avatar/0+ \4516 \Kignore	; Gray-164
set terminal key avatar/0+ \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key avatar/0+ \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key avatar/0+ \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key avatar/0+ \4909 \Kpaste	; Shift-Gray-Insert
set terminal key avatar/0+ \4910 \{127}	; Shift-Gray-Delete
set terminal key avatar/0+ \4970 \Kignore	; Shift-Gray-Multiply
set terminal key avatar/0+ \5008 \Kignore	; Shift-Gray-NumLock
set terminal key avatar/0+ \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key avatar/0+ \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key avatar/0+ \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key avatar/0+ \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key avatar/0+ \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key avatar/0+ \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key avatar/0+ \5422 \{8}	; Ctrl-Gray-Delete
set terminal key avatar/0+ \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key avatar/0+ \6434 \Kdos	; Alt-Gray-PageDown
set terminal key avatar/0+ \6435 \Kprintff	; Alt-Gray-End
set terminal key avatar/0+ \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key avatar/0+ \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key avatar/0+ \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key avatar/0+ \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key avatar/0+ \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key avatar/0+ \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key avatar/0+ \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key avatar/0+ \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key avatar/0+ \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key avatar/0+ \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key avatar/0+ \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key avatar/0+ \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY ba80
set terminal key ba80 \16 \Kignore	; DLE
set terminal key ba80 \17 \Kignore	; DC1
set terminal key ba80 \18 \Kignore	; DC2
set terminal key ba80 \264 \{127}	; Backspace
set terminal key ba80 \269 \{13}	; Enter
set terminal key ba80 \276 \Kignore	; CapsLock
set terminal key ba80 \290 \Kdnscn	; PageDown
set terminal key ba80 \291 \Kendscn	; End
set terminal key ba80 \292 \Khomscn	; Home
set terminal key ba80 \293 \Klfarr	; LeftArrow
set terminal key ba80 \294 \Kuparr	; UpArrow
set terminal key ba80 \295 \Krtarr	; RightArrow
set terminal key ba80 \296 \Kdnarr	; DownArrow
set terminal key ba80 \302 \{127}	; Delete
set terminal key ba80 \352 \{48}	; Keypad-0
set terminal key ba80 \353 \{49}	; Keypad-1
set terminal key ba80 \354 \{50}	; Keypad-2
set terminal key ba80 \355 \{51}	; Keypad-3
set terminal key ba80 \356 \{52}	; Keypad-4
set terminal key ba80 \357 \{53}	; Keypad-5
set terminal key ba80 \358 \{54}	; Keypad-6
set terminal key ba80 \359 \{55}	; Keypad-7
set terminal key ba80 \360 \{56}	; Keypad-8
set terminal key ba80 \361 \{57}	; Keypad-9
set terminal key ba80 \362 \{42}	; Multiply
set terminal key ba80 \363 \{43}	; Add
set terminal key ba80 \364 \{47}	; Separator
set terminal key ba80 \365 \{45}	; Subtract
set terminal key ba80 \366 \{46}	; Decimal
set terminal key ba80 \368 \Kba80_pa01	; F1
set terminal key ba80 \369 \Kba80_pa02	; F2
set terminal key ba80 \370 \Kba80_pa03	; F3
set terminal key ba80 \371 \Kba80_pa04	; F4
set terminal key ba80 \372 \Kba80_pa05	; F5
set terminal key ba80 \373 \Kba80_pa06	; F6
set terminal key ba80 \374 \Kba80_pa07	; F7
set terminal key ba80 \375 \Kba80_pa08	; F8
set terminal key ba80 \376 \Kba80_pa09	; F9
set terminal key ba80 \377 \Kba80_pa10	; F10
set terminal key ba80 \378 \Kba80_pa11	; F11
set terminal key ba80 \379 \Kba80_pa12	; F12
set terminal key ba80 \400 \Kignore	; NumLock
set terminal key ba80 \401 \Kholdscrn	; ScrollLock
set terminal key ba80 \539 \{27}	; Shift-ESC
set terminal key ba80 \776 \{127}	; Shift-Backspace
set terminal key ba80 \777 \{8}	; Shift-Tab
set terminal key ba80 \912 \Kignore	; Shift-NumLock
set terminal key ba80 /literal \1025 \{27}	; SOH
set terminal key ba80 /literal \1026 \{28}	; STX
set terminal key ba80 /literal \1027 \{29}	; ETX
set terminal key ba80 /literal \1028 \{30}	; EOT
set terminal key ba80 /literal \1029 \{31}	; ENQ
set terminal key ba80 /literal \1030 \{127}	; ACK
set terminal key ba80 \1031 \Knull	; BEL
set terminal key ba80 \1056 \Knull	; SP
set terminal key ba80 \1326 \{8}	; Ctrl-Delete
set terminal key ba80 \1330 \Knull	; Ctrl-2
set terminal key ba80 \1334 \{30}	; Ctrl-6
set terminal key ba80 \1392 \Kmarkstart	; Ctrl-F1
set terminal key ba80 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key ba80 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key ba80 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key ba80 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key ba80 \1842 \Knull	; Ctrl-Shift-2
set terminal key ba80 \1846 \{30}	; Ctrl-Shift-6
set terminal key ba80 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key ba80 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key ba80 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key ba80 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key ba80 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key ba80 \2097 \Kba80_softkey1	; Alt-1
set terminal key ba80 \2098 \Kba80_softkey2	; Alt-2
set terminal key ba80 \2099 \Kba80_softkey3	; Alt-3
set terminal key ba80 \2100 \Kba80_softkey4	; Alt-4
set terminal key ba80 \2101 \Kba80_softkey5	; Alt-5
set terminal key ba80 \2102 \Kba80_softkey6	; Alt-6
set terminal key ba80 \2103 \Kba80_softkey7	; Alt-7
set terminal key ba80 \2104 \Kba80_softkey8	; Alt-8
set terminal key ba80 \2105 \Kba80_softkey9	; Alt-9
set terminal key ba80 \2109 \Kreset	; Alt-=
set terminal key ba80 \2114 \Kbreak	; Alt-B
set terminal key ba80 \2115 \Kcompose	; Alt-C
set terminal key ba80 \2116 \Kdebug	; Alt-D
set terminal key ba80 \2117 \Kprintff	; Alt-E
set terminal key ba80 \2118 \Kfnkeys	; Alt-F
set terminal key ba80 \2120 \Khelp	; Alt-H
set terminal key ba80 \2123 \Kkeyclick	; Alt-K
set terminal key ba80 \2124 \Klbreak	; Alt-L
set terminal key ba80 \2126 \Kucs2	; Alt-N
set terminal key ba80 \2127 \Kprtauto	; Alt-O
set terminal key ba80 \2128 \Kdump	; Alt-P
set terminal key ba80 \2129 \Kquit	; Alt-Q
set terminal key ba80 \2130 \Kreset	; Alt-R
set terminal key ba80 \2131 \Kstatus	; Alt-S
set terminal key ba80 \2132 \Ktermtype	; Alt-T
set terminal key ba80 \2133 \Khangup	; Alt-U
set terminal key ba80 \2134 \Kflipscn	; Alt-V
set terminal key ba80 \2136 \Kexit	; Alt-X
set terminal key ba80 \2146 \Kbreak	; Alt-b
set terminal key ba80 \2147 \Kcompose	; Alt-c
set terminal key ba80 \2148 \Kdebug	; Alt-d
set terminal key ba80 \2149 \Kprintff	; Alt-e
set terminal key ba80 \2150 \Kfnkeys	; Alt-f
set terminal key ba80 \2152 \Khelp	; Alt-h
set terminal key ba80 \2155 \Kkeyclick	; Alt-k
set terminal key ba80 \2156 \Klbreak	; Alt-l
set terminal key ba80 \2158 \Kucs2	; Alt-n
set terminal key ba80 \2159 \Kprtauto	; Alt-o
set terminal key ba80 \2160 \Kdump	; Alt-p
set terminal key ba80 \2161 \Kquit	; Alt-q
set terminal key ba80 \2162 \Kreset	; Alt-r
set terminal key ba80 \2163 \Kstatus	; Alt-s
set terminal key ba80 \2164 \Ktermtype	; Alt-t
set terminal key ba80 \2165 \Khangup	; Alt-u
set terminal key ba80 \2166 \Kflipscn	; Alt-v
set terminal key ba80 \2168 \Kexit	; Alt-x
set terminal key ba80 \2312 \{8}	; Alt-Backspace
set terminal key ba80 \2416 \Kba80_pa13	; Alt-F1
set terminal key ba80 \2417 \Kba80_pa14	; Alt-F2
set terminal key ba80 \2418 \Kba80_pa15	; Alt-F3
set terminal key ba80 \2419 \Kba80_pa16	; Alt-F4
set terminal key ba80 \2420 \Kba80_pa17	; Alt-F5
set terminal key ba80 \2421 \Kba80_pa18	; Alt-F6
set terminal key ba80 \2422 \Kba80_pa19	; Alt-F7
set terminal key ba80 \2423 \Kba80_pa20	; Alt-F8
set terminal key ba80 \2424 \Kba80_pa21	; Alt-F9
set terminal key ba80 \2425 \Kba80_pa22	; Alt-F10
set terminal key ba80 \2426 \Kba80_pa23	; Alt-F11
set terminal key ba80 \2427 \Kba80_pa24	; Alt-F12
set terminal key ba80 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key ba80 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key ba80 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key ba80 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key ba80 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key ba80 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key ba80 \4365 \{13}	; Gray-Enter
set terminal key ba80 \4385 \Kba80_pgup	; Gray-PageUp
set terminal key ba80 \4386 \Kba80_pgdn	; Gray-PageDown
set terminal key ba80 \4387 \Kba80_end	; Gray-End
set terminal key ba80 \4388 \Kba80_home	; Gray-Home
set terminal key ba80 \4389 \Klfarr	; Gray-LeftArrow
set terminal key ba80 \4390 \Kuparr	; Gray-UpArrow
set terminal key ba80 \4391 \Krtarr	; Gray-RightArrow
set terminal key ba80 \4392 \Kdnarr	; Gray-DownArrow
set terminal key ba80 \4397 \Kba80_ins	; Gray-Insert
set terminal key ba80 \4398 \Kba80_del	; Gray-Delete
set terminal key ba80 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key ba80 \4444 \Kignore	; Gray-RightMSWindows
set terminal key ba80 \4445 \Kignore	; Gray-TaskList
set terminal key ba80 \4458 \Kdump	; Gray-Multiply
set terminal key ba80 \4463 \{47}	; Gray-Divide
set terminal key ba80 \4496 \Kignore	; Gray-NumLock
set terminal key ba80 \4514 \Kignore	; Gray-162
set terminal key ba80 \4516 \Kignore	; Gray-164
set terminal key ba80 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key ba80 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key ba80 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key ba80 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key ba80 \4910 \{127}	; Shift-Gray-Delete
set terminal key ba80 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key ba80 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key ba80 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key ba80 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key ba80 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key ba80 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key ba80 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key ba80 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key ba80 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key ba80 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key ba80 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key ba80 \6435 \Kprintff	; Alt-Gray-End
set terminal key ba80 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key ba80 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key ba80 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key ba80 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key ba80 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key ba80 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key ba80 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key ba80 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key ba80 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key ba80 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key ba80 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key ba80 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY beterm
set terminal key beterm \16 \Kignore	; DLE
set terminal key beterm \17 \Kignore	; DC1
set terminal key beterm \18 \Kignore	; DC2
set terminal key beterm \264 \{8}	; Backspace
set terminal key beterm \265 \{9}	; Tab
set terminal key beterm /literal \268 \{27}[G	; Clear
set terminal key beterm \269 \{13}	; Enter
set terminal key beterm \276 \Kignore	; CapsLock
set terminal key beterm \289 \{11}	; PageUp
set terminal key beterm \290 \{12}	; PageDown
set terminal key beterm \291 \{4}	; End
set terminal key beterm \292 \{1}	; Home
set terminal key beterm \293 \{28}	; LeftArrow
set terminal key beterm \294 \{30}	; UpArrow
set terminal key beterm \295 \{29}	; RightArrow
set terminal key beterm \296 \{31}	; DownArrow
set terminal key beterm \301 \{5}	; Insert
set terminal key beterm \302 \{127}	; Delete
set terminal key beterm \352 \{48}	; Keypad-0
set terminal key beterm \353 \{49}	; Keypad-1
set terminal key beterm \354 \{50}	; Keypad-2
set terminal key beterm \355 \{51}	; Keypad-3
set terminal key beterm \356 \{52}	; Keypad-4
set terminal key beterm \357 \{53}	; Keypad-5
set terminal key beterm \358 \{54}	; Keypad-6
set terminal key beterm \359 \{55}	; Keypad-7
set terminal key beterm \360 \{56}	; Keypad-8
set terminal key beterm \361 \{57}	; Keypad-9
set terminal key beterm \362 \{42}	; Multiply
set terminal key beterm \363 \{43}	; Add
set terminal key beterm \364 \{47}	; Separator
set terminal key beterm \365 \{45}	; Subtract
set terminal key beterm \366 \{46}	; Decimal
set terminal key beterm /literal \368 \{27}[11~	; F1
set terminal key beterm /literal \369 \{27}[12~	; F2
set terminal key beterm /literal \370 \{27}[13~	; F3
set terminal key beterm /literal \371 \{27}[14~	; F4
set terminal key beterm /literal \372 \{27}[15~	; F5
set terminal key beterm /literal \373 \{27}[16~	; F6
set terminal key beterm /literal \374 \{27}[17~	; F7
set terminal key beterm /literal \375 \{27}[18~	; F8
set terminal key beterm /literal \376 \{27}[19~	; F9
set terminal key beterm /literal \377 \{27}[20~	; F10
set terminal key beterm /literal \378 \{27}[21~	; F11
set terminal key beterm /literal \379 \{27}[22~	; F12
set terminal key beterm \400 \Kignore	; NumLock
set terminal key beterm \401 \Kholdscrn	; ScrollLock
set terminal key beterm \539 \{27}	; Shift-ESC
set terminal key beterm \776 \{127}	; Shift-Backspace
set terminal key beterm \777 \{9}	; Shift-Tab
set terminal key beterm \912 \Kignore	; Shift-NumLock
set terminal key beterm \1056 \Knull	; SP
set terminal key beterm \1326 \{8}	; Ctrl-Delete
set terminal key beterm \1330 \Knull	; Ctrl-2
set terminal key beterm \1334 \{30}	; Ctrl-6
set terminal key beterm \1392 \Kmarkstart	; Ctrl-F1
set terminal key beterm \1393 \Kmarkcancel	; Ctrl-F2
set terminal key beterm \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key beterm \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key beterm \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key beterm \1842 \Knull	; Ctrl-Shift-2
set terminal key beterm \1846 \{30}	; Ctrl-Shift-6
set terminal key beterm \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key beterm \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key beterm \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key beterm \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key beterm \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key beterm \2109 \Kreset	; Alt-=
set terminal key beterm \2114 \Kbreak	; Alt-B
set terminal key beterm \2115 \Kcompose	; Alt-C
set terminal key beterm \2116 \Kdebug	; Alt-D
set terminal key beterm \2117 \Kprintff	; Alt-E
set terminal key beterm \2118 \Kfnkeys	; Alt-F
set terminal key beterm \2120 \Khelp	; Alt-H
set terminal key beterm \2123 \Kkeyclick	; Alt-K
set terminal key beterm \2124 \Klbreak	; Alt-L
set terminal key beterm \2126 \Kucs2	; Alt-N
set terminal key beterm \2127 \Kprtauto	; Alt-O
set terminal key beterm \2128 \Kdump	; Alt-P
set terminal key beterm \2129 \Kquit	; Alt-Q
set terminal key beterm \2130 \Kreset	; Alt-R
set terminal key beterm \2131 \Kstatus	; Alt-S
set terminal key beterm \2132 \Ktermtype	; Alt-T
set terminal key beterm \2133 \Khangup	; Alt-U
set terminal key beterm \2134 \Kflipscn	; Alt-V
set terminal key beterm \2136 \Kexit	; Alt-X
set terminal key beterm \2146 \Kbreak	; Alt-b
set terminal key beterm \2147 \Kcompose	; Alt-c
set terminal key beterm \2148 \Kdebug	; Alt-d
set terminal key beterm \2149 \Kprintff	; Alt-e
set terminal key beterm \2150 \Kfnkeys	; Alt-f
set terminal key beterm \2152 \Khelp	; Alt-h
set terminal key beterm \2155 \Kkeyclick	; Alt-k
set terminal key beterm \2156 \Klbreak	; Alt-l
set terminal key beterm \2158 \Kucs2	; Alt-n
set terminal key beterm \2159 \Kprtauto	; Alt-o
set terminal key beterm \2160 \Kdump	; Alt-p
set terminal key beterm \2161 \Kquit	; Alt-q
set terminal key beterm \2162 \Kreset	; Alt-r
set terminal key beterm \2163 \Kstatus	; Alt-s
set terminal key beterm \2164 \Ktermtype	; Alt-t
set terminal key beterm \2165 \Khangup	; Alt-u
set terminal key beterm \2166 \Kflipscn	; Alt-v
set terminal key beterm \2168 \Kexit	; Alt-x
set terminal key beterm \2312 \{8}	; Alt-Backspace
set terminal key beterm \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key beterm \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key beterm \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key beterm \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key beterm \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key beterm \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key beterm \4365 \{13}	; Gray-Enter
set terminal key beterm /literal \4385 \{27}[5~	; Gray-PageUp
set terminal key beterm /literal \4386 \{27}[6~	; Gray-PageDown
set terminal key beterm /literal \4387 \{27}[4~	; Gray-End
set terminal key beterm /literal \4388 \{27}[1~	; Gray-Home
set terminal key beterm \4389 \Klfarr	; Gray-LeftArrow
set terminal key beterm \4390 \Kuparr	; Gray-UpArrow
set terminal key beterm \4391 \Krtarr	; Gray-RightArrow
set terminal key beterm \4392 \Kdnarr	; Gray-DownArrow
set terminal key beterm /literal \4397 \{27}[2~	; Gray-Insert
set terminal key beterm \4398 \{127}	; Gray-Delete
set terminal key beterm \4443 \Kignore	; Gray-LeftMSWindows
set terminal key beterm \4444 \Kignore	; Gray-RightMSWindows
set terminal key beterm \4445 \Kignore	; Gray-TaskList
set terminal key beterm \4458 \Kdump	; Gray-Multiply
set terminal key beterm \4463 \{47}	; Gray-Divide
set terminal key beterm \4496 \Kignore	; Gray-NumLock
set terminal key beterm \4514 \Kignore	; Gray-162
set terminal key beterm \4516 \Kignore	; Gray-164
set terminal key beterm \4543 \{47}	; Gray-OEM.US.Slash
set terminal key beterm \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key beterm \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key beterm \4909 \Kpaste	; Shift-Gray-Insert
set terminal key beterm \4910 \{127}	; Shift-Gray-Delete
set terminal key beterm \4970 \Kignore	; Shift-Gray-Multiply
set terminal key beterm \5008 \Kignore	; Shift-Gray-NumLock
set terminal key beterm \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key beterm \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key beterm \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key beterm \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key beterm \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key beterm \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key beterm \5422 \{8}	; Ctrl-Gray-Delete
set terminal key beterm \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key beterm \6434 \Kdos	; Alt-Gray-PageDown
set terminal key beterm \6435 \Kprintff	; Alt-Gray-End
set terminal key beterm \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key beterm \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key beterm \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key beterm \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key beterm \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key beterm \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key beterm \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key beterm \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key beterm \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key beterm \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key beterm \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key beterm \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY dg200
set terminal key dg200 \16 \Kignore	; DLE
set terminal key dg200 \17 \Kignore	; DC1
set terminal key dg200 \18 \Kignore	; DC2
set terminal key dg200 \264 \Kdgbs	; Backspace
set terminal key dg200 \265 \{9}	; Tab
set terminal key dg200 \268 \Kdghome	; Clear
set terminal key dg200 \269 \{10}	; Enter
set terminal key dg200 \276 \Kignore	; CapsLock
set terminal key dg200 \289 \Kdgc2	; PageUp
set terminal key dg200 \290 \Kdgc4	; PageDown
set terminal key dg200 \291 \Kdgc3	; End
set terminal key dg200 \292 \Kdgc1	; Home
set terminal key dg200 \293 \Klfarr	; LeftArrow
set terminal key dg200 \294 \Kuparr	; UpArrow
set terminal key dg200 \295 \Krtarr	; RightArrow
set terminal key dg200 \296 \Kdnarr	; DownArrow
set terminal key dg200 \301 \Kdgerasepage	; Insert
set terminal key dg200 \302 \Kdgeraseeol	; Delete
set terminal key dg200 \352 \{48}	; Keypad-0
set terminal key dg200 \353 \{49}	; Keypad-1
set terminal key dg200 \354 \{50}	; Keypad-2
set terminal key dg200 \355 \{51}	; Keypad-3
set terminal key dg200 \356 \{52}	; Keypad-4
set terminal key dg200 \357 \{53}	; Keypad-5
set terminal key dg200 \358 \{54}	; Keypad-6
set terminal key dg200 \359 \{55}	; Keypad-7
set terminal key dg200 \360 \{56}	; Keypad-8
set terminal key dg200 \361 \{57}	; Keypad-9
set terminal key dg200 \362 \{42}	; Multiply
set terminal key dg200 \363 \{43}	; Add
set terminal key dg200 \364 \{47}	; Separator
set terminal key dg200 \365 \{45}	; Subtract
set terminal key dg200 \366 \{46}	; Decimal
set terminal key dg200 \368 \Kdgf01	; F1
set terminal key dg200 \369 \Kdgf02	; F2
set terminal key dg200 \370 \Kdgf03	; F3
set terminal key dg200 \371 \Kdgf04	; F4
set terminal key dg200 \372 \Kdgf05	; F5
set terminal key dg200 \373 \Kdgf06	; F6
set terminal key dg200 \374 \Kdgf07	; F7
set terminal key dg200 \375 \Kdgf08	; F8
set terminal key dg200 \376 \Kdgf09	; F9
set terminal key dg200 \377 \Kdgf10	; F10
set terminal key dg200 \378 \Kdgf11	; F11
set terminal key dg200 \379 \Kdgf12	; F12
set terminal key dg200 \400 \Kignore	; NumLock
set terminal key dg200 \401 \Kholdscrn	; ScrollLock
set terminal key dg200 \539 \{27}	; Shift-ESC
set terminal key dg200 \776 \Kdgbs	; Shift-Backspace
set terminal key dg200 \777 \{8}	; Shift-Tab
set terminal key dg200 \780 \Kdgshome	; Shift-Clear
set terminal key dg200 \801 \Kdgsc2	; Shift-PageUp
set terminal key dg200 \802 \Kdgsc4	; Shift-PageDown
set terminal key dg200 \803 \Kdgsc3	; Shift-End
set terminal key dg200 \804 \Kdgsc1	; Shift-Home
set terminal key dg200 \805 \Kdgslfarr	; Shift-LeftArrow
set terminal key dg200 \806 \Kdgsuparr	; Shift-UpArrow
set terminal key dg200 \807 \Kdgsrtarr	; Shift-RightArrow
set terminal key dg200 \808 \Kdgsdnarr	; Shift-DownArrow
set terminal key dg200 \813 \Kdgserasepage	; Shift-Insert
set terminal key dg200 \814 \Kdgseraseeol	; Shift-Delete
set terminal key dg200 \880 \Kdgsf01	; Shift-F1
set terminal key dg200 \881 \Kdgsf02	; Shift-F2
set terminal key dg200 \882 \Kdgsf03	; Shift-F3
set terminal key dg200 \883 \Kdgsf04	; Shift-F4
set terminal key dg200 \884 \Kdgsf05	; Shift-F5
set terminal key dg200 \885 \Kdgsf06	; Shift-F6
set terminal key dg200 \886 \Kdgsf07	; Shift-F7
set terminal key dg200 \887 \Kdgsf08	; Shift-F8
set terminal key dg200 \888 \Kdgsf09	; Shift-F9
set terminal key dg200 \889 \Kdgsf10	; Shift-F10
set terminal key dg200 \890 \Kdgsf11	; Shift-F11
set terminal key dg200 \891 \Kdgsf12	; Shift-F12
set terminal key dg200 \912 \Kignore	; Shift-NumLock
set terminal key dg200 \1056 \Knull	; SP
set terminal key dg200 \1326 \{8}	; Ctrl-Delete
set terminal key dg200 \1330 \Knull	; Ctrl-2
set terminal key dg200 \1334 \{30}	; Ctrl-6
set terminal key dg200 \1392 \Kdgcf01	; Ctrl-F1
set terminal key dg200 \1393 \Kdgcf02	; Ctrl-F2
set terminal key dg200 \1394 \Kdgcf03	; Ctrl-F3
set terminal key dg200 \1395 \Kdgcf04	; Ctrl-F4
set terminal key dg200 \1396 \Kdgcf05	; Ctrl-F5
set terminal key dg200 \1397 \Kdgcf06	; Ctrl-F6
set terminal key dg200 \1398 \Kdgcf07	; Ctrl-F7
set terminal key dg200 \1399 \Kdgcf08	; Ctrl-F8
set terminal key dg200 \1400 \Kdgcf09	; Ctrl-F9
set terminal key dg200 \1401 \Kdgcf10	; Ctrl-F10
set terminal key dg200 \1402 \Kdgcf11	; Ctrl-F11
set terminal key dg200 \1403 \Kdgcf12	; Ctrl-F12
set terminal key dg200 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key dg200 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key dg200 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key dg200 \1842 \Knull	; Ctrl-Shift-2
set terminal key dg200 \1846 \{30}	; Ctrl-Shift-6
set terminal key dg200 \1904 \Kdgcsf01	; Ctrl-Shift-F1
set terminal key dg200 \1905 \Kdgcsf02	; Ctrl-Shift-F2
set terminal key dg200 \1906 \Kdgcsf03	; Ctrl-Shift-F3
set terminal key dg200 \1907 \Kdgcsf04	; Ctrl-Shift-F4
set terminal key dg200 \1908 \Kdgcsf05	; Ctrl-Shift-F5
set terminal key dg200 \1909 \Kdgcsf06	; Ctrl-Shift-F6
set terminal key dg200 \1910 \Kdgcsf07	; Ctrl-Shift-F7
set terminal key dg200 \1911 \Kdgcsf08	; Ctrl-Shift-F8
set terminal key dg200 \1912 \Kdgcsf09	; Ctrl-Shift-F9
set terminal key dg200 \1913 \Kdgcsf10	; Ctrl-Shift-F10
set terminal key dg200 \1914 \Kdgcsf11	; Ctrl-Shift-F11
set terminal key dg200 \1915 \Kdgcsf12	; Ctrl-Shift-F12
set terminal key dg200 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key dg200 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key dg200 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key dg200 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key dg200 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key dg200 \2109 \Kreset	; Alt-=
set terminal key dg200 \2114 \Kbreak	; Alt-B
set terminal key dg200 \2115 \Kcompose	; Alt-C
set terminal key dg200 \2116 \Kdebug	; Alt-D
set terminal key dg200 \2117 \Kprintff	; Alt-E
set terminal key dg200 \2118 \Kfnkeys	; Alt-F
set terminal key dg200 \2120 \Khelp	; Alt-H
set terminal key dg200 \2123 \Kkeyclick	; Alt-K
set terminal key dg200 \2124 \Klbreak	; Alt-L
set terminal key dg200 \2126 \Kucs2	; Alt-N
set terminal key dg200 \2127 \Kprtauto	; Alt-O
set terminal key dg200 \2128 \Kdump	; Alt-P
set terminal key dg200 \2129 \Kquit	; Alt-Q
set terminal key dg200 \2130 \Kreset	; Alt-R
set terminal key dg200 \2131 \Kstatus	; Alt-S
set terminal key dg200 \2132 \Ktermtype	; Alt-T
set terminal key dg200 \2133 \Khangup	; Alt-U
set terminal key dg200 \2134 \Kflipscn	; Alt-V
set terminal key dg200 \2136 \Kexit	; Alt-X
set terminal key dg200 \2146 \Kbreak	; Alt-b
set terminal key dg200 \2147 \Kcompose	; Alt-c
set terminal key dg200 \2148 \Kdebug	; Alt-d
set terminal key dg200 \2149 \Kprintff	; Alt-e
set terminal key dg200 \2150 \Kfnkeys	; Alt-f
set terminal key dg200 \2152 \Khelp	; Alt-h
set terminal key dg200 \2155 \Kkeyclick	; Alt-k
set terminal key dg200 \2156 \Klbreak	; Alt-l
set terminal key dg200 \2158 \Kucs2	; Alt-n
set terminal key dg200 \2159 \Kprtauto	; Alt-o
set terminal key dg200 \2160 \Kdump	; Alt-p
set terminal key dg200 \2161 \Kquit	; Alt-q
set terminal key dg200 \2162 \Kreset	; Alt-r
set terminal key dg200 \2163 \Kstatus	; Alt-s
set terminal key dg200 \2164 \Ktermtype	; Alt-t
set terminal key dg200 \2165 \Khangup	; Alt-u
set terminal key dg200 \2166 \Kflipscn	; Alt-v
set terminal key dg200 \2168 \Kexit	; Alt-x
set terminal key dg200 \2312 \{8}	; Alt-Backspace
set terminal key dg200 \2416 \Kdgf11	; Alt-F1
set terminal key dg200 \2417 \Kdgf12	; Alt-F2
set terminal key dg200 \2418 \Kdgf13	; Alt-F3
set terminal key dg200 \2419 \Kdgf14	; Alt-F4
set terminal key dg200 \2420 \Kdgf15	; Alt-F5
set terminal key dg200 \2928 \Kdgsf11	; Alt-Shift-F1
set terminal key dg200 \2929 \Kdgsf12	; Alt-Shift-F2
set terminal key dg200 \2930 \Kdgsf13	; Alt-Shift-F3
set terminal key dg200 \2931 \Kdgsf14	; Alt-Shift-F4
set terminal key dg200 \2932 \Kdgsf15	; Alt-Shift-F5
set terminal key dg200 \3440 \Kdgcf11	; Ctrl-Alt-F1
set terminal key dg200 \3441 \Kdgcf12	; Ctrl-Alt-F2
set terminal key dg200 \3442 \Kdgcf13	; Ctrl-Alt-F3
set terminal key dg200 \3443 \Kdgcf14	; Ctrl-Alt-F4
set terminal key dg200 \3444 \Kdgcf15	; Ctrl-Alt-F5
set terminal key dg200 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key dg200 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key dg200 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key dg200 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key dg200 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key dg200 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key dg200 \3952 \Kdgcsf11	; Ctrl-Alt-Shift-F1
set terminal key dg200 \3953 \Kdgcsf12	; Ctrl-Alt-Shift-F2
set terminal key dg200 \3954 \Kdgcsf13	; Ctrl-Alt-Shift-F3
set terminal key dg200 \3955 \Kdgcsf14	; Ctrl-Alt-Shift-F4
set terminal key dg200 \3956 \Kdgcsf15	; Ctrl-Alt-Shift-F5
set terminal key dg200 \4365 \{10}	; Gray-Enter
set terminal key dg200 \4385 \Kdgc2	; Gray-PageUp
set terminal key dg200 \4386 \Kdgc4	; Gray-PageDown
set terminal key dg200 \4387 \Kdgc3	; Gray-End
set terminal key dg200 \4388 \Kdgc1	; Gray-Home
set terminal key dg200 \4389 \Klfarr	; Gray-LeftArrow
set terminal key dg200 \4390 \Kuparr	; Gray-UpArrow
set terminal key dg200 \4391 \Krtarr	; Gray-RightArrow
set terminal key dg200 \4392 \Kdnarr	; Gray-DownArrow
set terminal key dg200 \4397 \Kdgerasepage	; Gray-Insert
set terminal key dg200 \4398 \Kdgeraseeol	; Gray-Delete
set terminal key dg200 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key dg200 \4444 \Kignore	; Gray-RightMSWindows
set terminal key dg200 \4445 \Kignore	; Gray-TaskList
set terminal key dg200 \4458 \Kdump	; Gray-Multiply
set terminal key dg200 \4463 \{47}	; Gray-Divide
set terminal key dg200 \4466 \Kdgf13	; Gray-F3
set terminal key dg200 \4467 \Kdgf14	; Gray-F4
set terminal key dg200 \4468 \Kdgf15	; Gray-F5
set terminal key dg200 \4479 \Kdgf13	; Gray-F16
set terminal key dg200 \4480 \Kdgf14	; Gray-F17
set terminal key dg200 \4481 \Kdgf15	; Gray-F18
set terminal key dg200 \4496 \Kignore	; Gray-NumLock
set terminal key dg200 \4514 \Kignore	; Gray-162
set terminal key dg200 \4516 \Kignore	; Gray-164
set terminal key dg200 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key dg200 \4897 \Kdgsc2	; Shift-Gray-PageUp
set terminal key dg200 \4898 \Kdgsc4	; Shift-Gray-PageDown
set terminal key dg200 \4899 \Kdgsc3	; Shift-Gray-End
set terminal key dg200 \4900 \Kdgsc1	; Shift-Gray-Home
set terminal key dg200 \4901 \Kdgslfarr	; Shift-Gray-LeftArrow
set terminal key dg200 \4902 \Kdgsuparr	; Shift-Gray-UpArrow
set terminal key dg200 \4903 \Kdgsrtarr	; Shift-Gray-RightArrow
set terminal key dg200 \4904 \Kdgsdnarr	; Shift-Gray-DownArrow
set terminal key dg200 \4909 \Kdgserasepage	; Shift-Gray-Insert
set terminal key dg200 \4910 \Kdgseraseeol	; Shift-Gray-Delete
set terminal key dg200 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key dg200 \4978 \Kdgsf13	; Shift-Gray-F3
set terminal key dg200 \4979 \Kdgsf14	; Shift-Gray-F4
set terminal key dg200 \4980 \Kdgsf15	; Shift-Gray-F5
set terminal key dg200 \4988 \Kdgsf13	; Shift-Gray-F13
set terminal key dg200 \4989 \Kdgsf14	; Shift-Gray-F14
set terminal key dg200 \4990 \Kdgsf15	; Shift-Gray-F15
set terminal key dg200 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key dg200 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key dg200 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key dg200 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key dg200 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key dg200 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key dg200 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key dg200 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key dg200 \5490 \Kdgcf13	; Ctrl-Gray-F3
set terminal key dg200 \5491 \Kdgcf14	; Ctrl-Gray-F4
set terminal key dg200 \5492 \Kdgcf15	; Ctrl-Gray-F5
set terminal key dg200 \5500 \Kdgcf13	; Ctrl-Gray-F13
set terminal key dg200 \5501 \Kdgcf14	; Ctrl-Gray-F14
set terminal key dg200 \5502 \Kdgcf15	; Ctrl-Gray-F15
set terminal key dg200 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key dg200 \6002 \Kdgcsf13	; Ctrl-Shift-Gray-F3
set terminal key dg200 \6003 \Kdgcsf14	; Ctrl-Shift-Gray-F4
set terminal key dg200 \6004 \Kdgcsf15	; Ctrl-Shift-Gray-F5
set terminal key dg200 \6012 \Kdgcsf13	; Ctrl-Shift-Gray-F13
set terminal key dg200 \6013 \Kdgcsf14	; Ctrl-Shift-Gray-F14
set terminal key dg200 \6014 \Kdgcsf15	; Ctrl-Shift-Gray-F15
set terminal key dg200 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key dg200 \6435 \Kprintff	; Alt-Gray-End
set terminal key dg200 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key dg200 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key dg200 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key dg200 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key dg200 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key dg200 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key dg200 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key dg200 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key dg200 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key dg200 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key dg200 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key dg200 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY dg210
set terminal key dg210 \16 \Kignore	; DLE
set terminal key dg210 \17 \Kignore	; DC1
set terminal key dg210 \18 \Kignore	; DC2
set terminal key dg210 \264 \Kdgbs	; Backspace
set terminal key dg210 \265 \{9}	; Tab
set terminal key dg210 \268 \Kdghome	; Clear
set terminal key dg210 \269 \{10}	; Enter
set terminal key dg210 \276 \Kignore	; CapsLock
set terminal key dg210 \289 \Kdgc2	; PageUp
set terminal key dg210 \290 \Kdgc4	; PageDown
set terminal key dg210 \291 \Kdgc3	; End
set terminal key dg210 \292 \Kdgc1	; Home
set terminal key dg210 \293 \Klfarr	; LeftArrow
set terminal key dg210 \294 \Kuparr	; UpArrow
set terminal key dg210 \295 \Krtarr	; RightArrow
set terminal key dg210 \296 \Kdnarr	; DownArrow
set terminal key dg210 \301 \Kdgerasepage	; Insert
set terminal key dg210 \302 \Kdgeraseeol	; Delete
set terminal key dg210 \352 \{48}	; Keypad-0
set terminal key dg210 \353 \{49}	; Keypad-1
set terminal key dg210 \354 \{50}	; Keypad-2
set terminal key dg210 \355 \{51}	; Keypad-3
set terminal key dg210 \356 \{52}	; Keypad-4
set terminal key dg210 \357 \{53}	; Keypad-5
set terminal key dg210 \358 \{54}	; Keypad-6
set terminal key dg210 \359 \{55}	; Keypad-7
set terminal key dg210 \360 \{56}	; Keypad-8
set terminal key dg210 \361 \{57}	; Keypad-9
set terminal key dg210 \362 \{42}	; Multiply
set terminal key dg210 \363 \{43}	; Add
set terminal key dg210 \364 \{47}	; Separator
set terminal key dg210 \365 \{45}	; Subtract
set terminal key dg210 \366 \{46}	; Decimal
set terminal key dg210 \368 \Kdgf01	; F1
set terminal key dg210 \369 \Kdgf02	; F2
set terminal key dg210 \370 \Kdgf03	; F3
set terminal key dg210 \371 \Kdgf04	; F4
set terminal key dg210 \372 \Kdgf05	; F5
set terminal key dg210 \373 \Kdgf06	; F6
set terminal key dg210 \374 \Kdgf07	; F7
set terminal key dg210 \375 \Kdgf08	; F8
set terminal key dg210 \376 \Kdgf09	; F9
set terminal key dg210 \377 \Kdgf10	; F10
set terminal key dg210 \378 \Kdgf11	; F11
set terminal key dg210 \379 \Kdgf12	; F12
set terminal key dg210 \400 \Kignore	; NumLock
set terminal key dg210 \401 \Kholdscrn	; ScrollLock
set terminal key dg210 \539 \{27}	; Shift-ESC
set terminal key dg210 \776 \Kdgbs	; Shift-Backspace
set terminal key dg210 \777 \{8}	; Shift-Tab
set terminal key dg210 \780 \Kdgshome	; Shift-Clear
set terminal key dg210 \801 \Kdgsc2	; Shift-PageUp
set terminal key dg210 \802 \Kdgsc4	; Shift-PageDown
set terminal key dg210 \803 \Kdgsc3	; Shift-End
set terminal key dg210 \804 \Kdgsc1	; Shift-Home
set terminal key dg210 \805 \Kdgslfarr	; Shift-LeftArrow
set terminal key dg210 \806 \Kdgsuparr	; Shift-UpArrow
set terminal key dg210 \807 \Kdgsrtarr	; Shift-RightArrow
set terminal key dg210 \808 \Kdgsdnarr	; Shift-DownArrow
set terminal key dg210 \813 \Kdgserasepage	; Shift-Insert
set terminal key dg210 \814 \Kdgseraseeol	; Shift-Delete
set terminal key dg210 \880 \Kdgsf01	; Shift-F1
set terminal key dg210 \881 \Kdgsf02	; Shift-F2
set terminal key dg210 \882 \Kdgsf03	; Shift-F3
set terminal key dg210 \883 \Kdgsf04	; Shift-F4
set terminal key dg210 \884 \Kdgsf05	; Shift-F5
set terminal key dg210 \885 \Kdgsf06	; Shift-F6
set terminal key dg210 \886 \Kdgsf07	; Shift-F7
set terminal key dg210 \887 \Kdgsf08	; Shift-F8
set terminal key dg210 \888 \Kdgsf09	; Shift-F9
set terminal key dg210 \889 \Kdgsf10	; Shift-F10
set terminal key dg210 \890 \Kdgsf11	; Shift-F11
set terminal key dg210 \891 \Kdgsf12	; Shift-F12
set terminal key dg210 \912 \Kignore	; Shift-NumLock
set terminal key dg210 \1056 \Knull	; SP
set terminal key dg210 \1326 \{8}	; Ctrl-Delete
set terminal key dg210 \1330 \Knull	; Ctrl-2
set terminal key dg210 \1334 \{30}	; Ctrl-6
set terminal key dg210 \1392 \Kdgcf01	; Ctrl-F1
set terminal key dg210 \1393 \Kdgcf02	; Ctrl-F2
set terminal key dg210 \1394 \Kdgcf03	; Ctrl-F3
set terminal key dg210 \1395 \Kdgcf04	; Ctrl-F4
set terminal key dg210 \1396 \Kdgcf05	; Ctrl-F5
set terminal key dg210 \1397 \Kdgcf06	; Ctrl-F6
set terminal key dg210 \1398 \Kdgcf07	; Ctrl-F7
set terminal key dg210 \1399 \Kdgcf08	; Ctrl-F8
set terminal key dg210 \1400 \Kdgcf09	; Ctrl-F9
set terminal key dg210 \1401 \Kdgcf10	; Ctrl-F10
set terminal key dg210 \1402 \Kdgcf11	; Ctrl-F11
set terminal key dg210 \1403 \Kdgcf12	; Ctrl-F12
set terminal key dg210 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key dg210 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key dg210 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key dg210 \1842 \Knull	; Ctrl-Shift-2
set terminal key dg210 \1846 \{30}	; Ctrl-Shift-6
set terminal key dg210 \1904 \Kdgcsf01	; Ctrl-Shift-F1
set terminal key dg210 \1905 \Kdgcsf02	; Ctrl-Shift-F2
set terminal key dg210 \1906 \Kdgcsf03	; Ctrl-Shift-F3
set terminal key dg210 \1907 \Kdgcsf04	; Ctrl-Shift-F4
set terminal key dg210 \1908 \Kdgcsf05	; Ctrl-Shift-F5
set terminal key dg210 \1909 \Kdgcsf06	; Ctrl-Shift-F6
set terminal key dg210 \1910 \Kdgcsf07	; Ctrl-Shift-F7
set terminal key dg210 \1911 \Kdgcsf08	; Ctrl-Shift-F8
set terminal key dg210 \1912 \Kdgcsf09	; Ctrl-Shift-F9
set terminal key dg210 \1913 \Kdgcsf10	; Ctrl-Shift-F10
set terminal key dg210 \1914 \Kdgcsf11	; Ctrl-Shift-F11
set terminal key dg210 \1915 \Kdgcsf12	; Ctrl-Shift-F12
set terminal key dg210 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key dg210 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key dg210 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key dg210 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key dg210 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key dg210 \2109 \Kreset	; Alt-=
set terminal key dg210 \2114 \Kbreak	; Alt-B
set terminal key dg210 \2115 \Kcompose	; Alt-C
set terminal key dg210 \2116 \Kdebug	; Alt-D
set terminal key dg210 \2117 \Kprintff	; Alt-E
set terminal key dg210 \2118 \Kfnkeys	; Alt-F
set terminal key dg210 \2120 \Khelp	; Alt-H
set terminal key dg210 \2123 \Kkeyclick	; Alt-K
set terminal key dg210 \2124 \Klbreak	; Alt-L
set terminal key dg210 \2126 \Kucs2	; Alt-N
set terminal key dg210 \2127 \Kprtauto	; Alt-O
set terminal key dg210 \2128 \Kdump	; Alt-P
set terminal key dg210 \2129 \Kquit	; Alt-Q
set terminal key dg210 \2130 \Kreset	; Alt-R
set terminal key dg210 \2131 \Kstatus	; Alt-S
set terminal key dg210 \2132 \Ktermtype	; Alt-T
set terminal key dg210 \2133 \Khangup	; Alt-U
set terminal key dg210 \2134 \Kflipscn	; Alt-V
set terminal key dg210 \2136 \Kexit	; Alt-X
set terminal key dg210 \2146 \Kbreak	; Alt-b
set terminal key dg210 \2147 \Kcompose	; Alt-c
set terminal key dg210 \2148 \Kdebug	; Alt-d
set terminal key dg210 \2149 \Kprintff	; Alt-e
set terminal key dg210 \2150 \Kfnkeys	; Alt-f
set terminal key dg210 \2152 \Khelp	; Alt-h
set terminal key dg210 \2155 \Kkeyclick	; Alt-k
set terminal key dg210 \2156 \Klbreak	; Alt-l
set terminal key dg210 \2158 \Kucs2	; Alt-n
set terminal key dg210 \2159 \Kprtauto	; Alt-o
set terminal key dg210 \2160 \Kdump	; Alt-p
set terminal key dg210 \2161 \Kquit	; Alt-q
set terminal key dg210 \2162 \Kreset	; Alt-r
set terminal key dg210 \2163 \Kstatus	; Alt-s
set terminal key dg210 \2164 \Ktermtype	; Alt-t
set terminal key dg210 \2165 \Khangup	; Alt-u
set terminal key dg210 \2166 \Kflipscn	; Alt-v
set terminal key dg210 \2168 \Kexit	; Alt-x
set terminal key dg210 \2312 \{8}	; Alt-Backspace
set terminal key dg210 \2416 \Kdgf11	; Alt-F1
set terminal key dg210 \2417 \Kdgf12	; Alt-F2
set terminal key dg210 \2418 \Kdgf13	; Alt-F3
set terminal key dg210 \2419 \Kdgf14	; Alt-F4
set terminal key dg210 \2420 \Kdgf15	; Alt-F5
set terminal key dg210 \2928 \Kdgsf11	; Alt-Shift-F1
set terminal key dg210 \2929 \Kdgsf12	; Alt-Shift-F2
set terminal key dg210 \2930 \Kdgsf13	; Alt-Shift-F3
set terminal key dg210 \2931 \Kdgsf14	; Alt-Shift-F4
set terminal key dg210 \2932 \Kdgsf15	; Alt-Shift-F5
set terminal key dg210 \3440 \Kdgcf11	; Ctrl-Alt-F1
set terminal key dg210 \3441 \Kdgcf12	; Ctrl-Alt-F2
set terminal key dg210 \3442 \Kdgcf13	; Ctrl-Alt-F3
set terminal key dg210 \3443 \Kdgcf14	; Ctrl-Alt-F4
set terminal key dg210 \3444 \Kdgcf15	; Ctrl-Alt-F5
set terminal key dg210 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key dg210 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key dg210 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key dg210 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key dg210 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key dg210 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key dg210 \3952 \Kdgcsf11	; Ctrl-Alt-Shift-F1
set terminal key dg210 \3953 \Kdgcsf12	; Ctrl-Alt-Shift-F2
set terminal key dg210 \3954 \Kdgcsf13	; Ctrl-Alt-Shift-F3
set terminal key dg210 \3955 \Kdgcsf14	; Ctrl-Alt-Shift-F4
set terminal key dg210 \3956 \Kdgcsf15	; Ctrl-Alt-Shift-F5
set terminal key dg210 \4365 \{10}	; Gray-Enter
set terminal key dg210 \4385 \Kdgc2	; Gray-PageUp
set terminal key dg210 \4386 \Kdgc4	; Gray-PageDown
set terminal key dg210 \4387 \Kdgc3	; Gray-End
set terminal key dg210 \4388 \Kdgc1	; Gray-Home
set terminal key dg210 \4389 \Klfarr	; Gray-LeftArrow
set terminal key dg210 \4390 \Kuparr	; Gray-UpArrow
set terminal key dg210 \4391 \Krtarr	; Gray-RightArrow
set terminal key dg210 \4392 \Kdnarr	; Gray-DownArrow
set terminal key dg210 \4397 \Kdgerasepage	; Gray-Insert
set terminal key dg210 \4398 \Kdgeraseeol	; Gray-Delete
set terminal key dg210 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key dg210 \4444 \Kignore	; Gray-RightMSWindows
set terminal key dg210 \4445 \Kignore	; Gray-TaskList
set terminal key dg210 \4458 \Kdump	; Gray-Multiply
set terminal key dg210 \4463 \{47}	; Gray-Divide
set terminal key dg210 \4466 \Kdgf13	; Gray-F3
set terminal key dg210 \4467 \Kdgf14	; Gray-F4
set terminal key dg210 \4468 \Kdgf15	; Gray-F5
set terminal key dg210 \4479 \Kdgf13	; Gray-F16
set terminal key dg210 \4480 \Kdgf14	; Gray-F17
set terminal key dg210 \4481 \Kdgf15	; Gray-F18
set terminal key dg210 \4496 \Kignore	; Gray-NumLock
set terminal key dg210 \4514 \Kignore	; Gray-162
set terminal key dg210 \4516 \Kignore	; Gray-164
set terminal key dg210 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key dg210 \4897 \Kdgsc2	; Shift-Gray-PageUp
set terminal key dg210 \4898 \Kdgsc4	; Shift-Gray-PageDown
set terminal key dg210 \4899 \Kdgsc3	; Shift-Gray-End
set terminal key dg210 \4900 \Kdgsc1	; Shift-Gray-Home
set terminal key dg210 \4901 \Kdgslfarr	; Shift-Gray-LeftArrow
set terminal key dg210 \4902 \Kdgsuparr	; Shift-Gray-UpArrow
set terminal key dg210 \4903 \Kdgsrtarr	; Shift-Gray-RightArrow
set terminal key dg210 \4904 \Kdgsdnarr	; Shift-Gray-DownArrow
set terminal key dg210 \4909 \Kdgserasepage	; Shift-Gray-Insert
set terminal key dg210 \4910 \Kdgseraseeol	; Shift-Gray-Delete
set terminal key dg210 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key dg210 \4978 \Kdgsf13	; Shift-Gray-F3
set terminal key dg210 \4979 \Kdgsf14	; Shift-Gray-F4
set terminal key dg210 \4980 \Kdgsf15	; Shift-Gray-F5
set terminal key dg210 \4988 \Kdgsf13	; Shift-Gray-F13
set terminal key dg210 \4989 \Kdgsf14	; Shift-Gray-F14
set terminal key dg210 \4990 \Kdgsf15	; Shift-Gray-F15
set terminal key dg210 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key dg210 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key dg210 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key dg210 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key dg210 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key dg210 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key dg210 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key dg210 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key dg210 \5490 \Kdgcf13	; Ctrl-Gray-F3
set terminal key dg210 \5491 \Kdgcf14	; Ctrl-Gray-F4
set terminal key dg210 \5492 \Kdgcf15	; Ctrl-Gray-F5
set terminal key dg210 \5500 \Kdgcf13	; Ctrl-Gray-F13
set terminal key dg210 \5501 \Kdgcf14	; Ctrl-Gray-F14
set terminal key dg210 \5502 \Kdgcf15	; Ctrl-Gray-F15
set terminal key dg210 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key dg210 \6002 \Kdgcsf13	; Ctrl-Shift-Gray-F3
set terminal key dg210 \6003 \Kdgcsf14	; Ctrl-Shift-Gray-F4
set terminal key dg210 \6004 \Kdgcsf15	; Ctrl-Shift-Gray-F5
set terminal key dg210 \6012 \Kdgcsf13	; Ctrl-Shift-Gray-F13
set terminal key dg210 \6013 \Kdgcsf14	; Ctrl-Shift-Gray-F14
set terminal key dg210 \6014 \Kdgcsf15	; Ctrl-Shift-Gray-F15
set terminal key dg210 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key dg210 \6435 \Kprintff	; Alt-Gray-End
set terminal key dg210 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key dg210 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key dg210 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key dg210 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key dg210 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key dg210 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key dg210 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key dg210 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key dg210 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key dg210 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key dg210 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key dg210 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY dg217
set terminal key dg217 \16 \Kignore	; DLE
set terminal key dg217 \17 \Kignore	; DC1
set terminal key dg217 \18 \Kignore	; DC2
set terminal key dg217 \264 \Kdgbs	; Backspace
set terminal key dg217 \265 \{9}	; Tab
set terminal key dg217 \268 \Kdghome	; Clear
set terminal key dg217 \269 \{10}	; Enter
set terminal key dg217 \276 \Kignore	; CapsLock
set terminal key dg217 \289 \Kdgc2	; PageUp
set terminal key dg217 \290 \Kdgc4	; PageDown
set terminal key dg217 \291 \Kdgc3	; End
set terminal key dg217 \292 \Kdgc1	; Home
set terminal key dg217 \293 \Klfarr	; LeftArrow
set terminal key dg217 \294 \Kuparr	; UpArrow
set terminal key dg217 \295 \Krtarr	; RightArrow
set terminal key dg217 \296 \Kdnarr	; DownArrow
set terminal key dg217 \301 \Kdgerasepage	; Insert
set terminal key dg217 \302 \Kdgeraseeol	; Delete
set terminal key dg217 \352 \{48}	; Keypad-0
set terminal key dg217 \353 \{49}	; Keypad-1
set terminal key dg217 \354 \{50}	; Keypad-2
set terminal key dg217 \355 \{51}	; Keypad-3
set terminal key dg217 \356 \{52}	; Keypad-4
set terminal key dg217 \357 \{53}	; Keypad-5
set terminal key dg217 \358 \{54}	; Keypad-6
set terminal key dg217 \359 \{55}	; Keypad-7
set terminal key dg217 \360 \{56}	; Keypad-8
set terminal key dg217 \361 \{57}	; Keypad-9
set terminal key dg217 \362 \{42}	; Multiply
set terminal key dg217 \363 \{43}	; Add
set terminal key dg217 \364 \{47}	; Separator
set terminal key dg217 \365 \{45}	; Subtract
set terminal key dg217 \366 \{46}	; Decimal
set terminal key dg217 \368 \Kdgf01	; F1
set terminal key dg217 \369 \Kdgf02	; F2
set terminal key dg217 \370 \Kdgf03	; F3
set terminal key dg217 \371 \Kdgf04	; F4
set terminal key dg217 \372 \Kdgf05	; F5
set terminal key dg217 \373 \Kdgf06	; F6
set terminal key dg217 \374 \Kdgf07	; F7
set terminal key dg217 \375 \Kdgf08	; F8
set terminal key dg217 \376 \Kdgf09	; F9
set terminal key dg217 \377 \Kdgf10	; F10
set terminal key dg217 \378 \Kdgf11	; F11
set terminal key dg217 \379 \Kdgf12	; F12
set terminal key dg217 \400 \Kignore	; NumLock
set terminal key dg217 \401 \Kholdscrn	; ScrollLock
set terminal key dg217 \539 \{27}	; Shift-ESC
set terminal key dg217 \776 \Kdgbs	; Shift-Backspace
set terminal key dg217 \777 \{8}	; Shift-Tab
set terminal key dg217 \780 \Kdgshome	; Shift-Clear
set terminal key dg217 \801 \Kdgsc2	; Shift-PageUp
set terminal key dg217 \802 \Kdgsc4	; Shift-PageDown
set terminal key dg217 \803 \Kdgsc3	; Shift-End
set terminal key dg217 \804 \Kdgsc1	; Shift-Home
set terminal key dg217 \805 \Kdgslfarr	; Shift-LeftArrow
set terminal key dg217 \806 \Kdgsuparr	; Shift-UpArrow
set terminal key dg217 \807 \Kdgsrtarr	; Shift-RightArrow
set terminal key dg217 \808 \Kdgsdnarr	; Shift-DownArrow
set terminal key dg217 \813 \Kdgserasepage	; Shift-Insert
set terminal key dg217 \814 \Kdgseraseeol	; Shift-Delete
set terminal key dg217 \880 \Kdgsf01	; Shift-F1
set terminal key dg217 \881 \Kdgsf02	; Shift-F2
set terminal key dg217 \882 \Kdgsf03	; Shift-F3
set terminal key dg217 \883 \Kdgsf04	; Shift-F4
set terminal key dg217 \884 \Kdgsf05	; Shift-F5
set terminal key dg217 \885 \Kdgsf06	; Shift-F6
set terminal key dg217 \886 \Kdgsf07	; Shift-F7
set terminal key dg217 \887 \Kdgsf08	; Shift-F8
set terminal key dg217 \888 \Kdgsf09	; Shift-F9
set terminal key dg217 \889 \Kdgsf10	; Shift-F10
set terminal key dg217 \890 \Kdgsf11	; Shift-F11
set terminal key dg217 \891 \Kdgsf12	; Shift-F12
set terminal key dg217 \912 \Kignore	; Shift-NumLock
set terminal key dg217 \1056 \Knull	; SP
set terminal key dg217 \1326 \{8}	; Ctrl-Delete
set terminal key dg217 \1330 \Knull	; Ctrl-2
set terminal key dg217 \1334 \{30}	; Ctrl-6
set terminal key dg217 \1392 \Kdgcf01	; Ctrl-F1
set terminal key dg217 \1393 \Kdgcf02	; Ctrl-F2
set terminal key dg217 \1394 \Kdgcf03	; Ctrl-F3
set terminal key dg217 \1395 \Kdgcf04	; Ctrl-F4
set terminal key dg217 \1396 \Kdgcf05	; Ctrl-F5
set terminal key dg217 \1397 \Kdgcf06	; Ctrl-F6
set terminal key dg217 \1398 \Kdgcf07	; Ctrl-F7
set terminal key dg217 \1399 \Kdgcf08	; Ctrl-F8
set terminal key dg217 \1400 \Kdgcf09	; Ctrl-F9
set terminal key dg217 \1401 \Kdgcf10	; Ctrl-F10
set terminal key dg217 \1402 \Kdgcf11	; Ctrl-F11
set terminal key dg217 \1403 \Kdgcf12	; Ctrl-F12
set terminal key dg217 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key dg217 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key dg217 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key dg217 \1842 \Knull	; Ctrl-Shift-2
set terminal key dg217 \1846 \{30}	; Ctrl-Shift-6
set terminal key dg217 \1904 \Kdgcsf01	; Ctrl-Shift-F1
set terminal key dg217 \1905 \Kdgcsf02	; Ctrl-Shift-F2
set terminal key dg217 \1906 \Kdgcsf03	; Ctrl-Shift-F3
set terminal key dg217 \1907 \Kdgcsf04	; Ctrl-Shift-F4
set terminal key dg217 \1908 \Kdgcsf05	; Ctrl-Shift-F5
set terminal key dg217 \1909 \Kdgcsf06	; Ctrl-Shift-F6
set terminal key dg217 \1910 \Kdgcsf07	; Ctrl-Shift-F7
set terminal key dg217 \1911 \Kdgcsf08	; Ctrl-Shift-F8
set terminal key dg217 \1912 \Kdgcsf09	; Ctrl-Shift-F9
set terminal key dg217 \1913 \Kdgcsf10	; Ctrl-Shift-F10
set terminal key dg217 \1914 \Kdgcsf11	; Ctrl-Shift-F11
set terminal key dg217 \1915 \Kdgcsf12	; Ctrl-Shift-F12
set terminal key dg217 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key dg217 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key dg217 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key dg217 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key dg217 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key dg217 \2109 \Kreset	; Alt-=
set terminal key dg217 \2114 \Kbreak	; Alt-B
set terminal key dg217 \2115 \Kcompose	; Alt-C
set terminal key dg217 \2116 \Kdebug	; Alt-D
set terminal key dg217 \2117 \Kprintff	; Alt-E
set terminal key dg217 \2118 \Kfnkeys	; Alt-F
set terminal key dg217 \2120 \Khelp	; Alt-H
set terminal key dg217 \2123 \Kkeyclick	; Alt-K
set terminal key dg217 \2124 \Klbreak	; Alt-L
set terminal key dg217 \2126 \Kucs2	; Alt-N
set terminal key dg217 \2127 \Kprtauto	; Alt-O
set terminal key dg217 \2128 \Kdump	; Alt-P
set terminal key dg217 \2129 \Kquit	; Alt-Q
set terminal key dg217 \2130 \Kreset	; Alt-R
set terminal key dg217 \2131 \Kstatus	; Alt-S
set terminal key dg217 \2132 \Ktermtype	; Alt-T
set terminal key dg217 \2133 \Khangup	; Alt-U
set terminal key dg217 \2134 \Kflipscn	; Alt-V
set terminal key dg217 \2136 \Kexit	; Alt-X
set terminal key dg217 \2146 \Kbreak	; Alt-b
set terminal key dg217 \2147 \Kcompose	; Alt-c
set terminal key dg217 \2148 \Kdebug	; Alt-d
set terminal key dg217 \2149 \Kprintff	; Alt-e
set terminal key dg217 \2150 \Kfnkeys	; Alt-f
set terminal key dg217 \2152 \Khelp	; Alt-h
set terminal key dg217 \2155 \Kkeyclick	; Alt-k
set terminal key dg217 \2156 \Klbreak	; Alt-l
set terminal key dg217 \2158 \Kucs2	; Alt-n
set terminal key dg217 \2159 \Kprtauto	; Alt-o
set terminal key dg217 \2160 \Kdump	; Alt-p
set terminal key dg217 \2161 \Kquit	; Alt-q
set terminal key dg217 \2162 \Kreset	; Alt-r
set terminal key dg217 \2163 \Kstatus	; Alt-s
set terminal key dg217 \2164 \Ktermtype	; Alt-t
set terminal key dg217 \2165 \Khangup	; Alt-u
set terminal key dg217 \2166 \Kflipscn	; Alt-v
set terminal key dg217 \2168 \Kexit	; Alt-x
set terminal key dg217 \2312 \{8}	; Alt-Backspace
set terminal key dg217 \2416 \Kdgf11	; Alt-F1
set terminal key dg217 \2417 \Kdgf12	; Alt-F2
set terminal key dg217 \2418 \Kdgf13	; Alt-F3
set terminal key dg217 \2419 \Kdgf14	; Alt-F4
set terminal key dg217 \2420 \Kdgf15	; Alt-F5
set terminal key dg217 \2928 \Kdgsf11	; Alt-Shift-F1
set terminal key dg217 \2929 \Kdgsf12	; Alt-Shift-F2
set terminal key dg217 \2930 \Kdgsf13	; Alt-Shift-F3
set terminal key dg217 \2931 \Kdgsf14	; Alt-Shift-F4
set terminal key dg217 \2932 \Kdgsf15	; Alt-Shift-F5
set terminal key dg217 \3440 \Kdgcf11	; Ctrl-Alt-F1
set terminal key dg217 \3441 \Kdgcf12	; Ctrl-Alt-F2
set terminal key dg217 \3442 \Kdgcf13	; Ctrl-Alt-F3
set terminal key dg217 \3443 \Kdgcf14	; Ctrl-Alt-F4
set terminal key dg217 \3444 \Kdgcf15	; Ctrl-Alt-F5
set terminal key dg217 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key dg217 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key dg217 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key dg217 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key dg217 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key dg217 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key dg217 \3952 \Kdgcsf11	; Ctrl-Alt-Shift-F1
set terminal key dg217 \3953 \Kdgcsf12	; Ctrl-Alt-Shift-F2
set terminal key dg217 \3954 \Kdgcsf13	; Ctrl-Alt-Shift-F3
set terminal key dg217 \3955 \Kdgcsf14	; Ctrl-Alt-Shift-F4
set terminal key dg217 \3956 \Kdgcsf15	; Ctrl-Alt-Shift-F5
set terminal key dg217 \4365 \{10}	; Gray-Enter
set terminal key dg217 \4385 \Kdgc2	; Gray-PageUp
set terminal key dg217 \4386 \Kdgc4	; Gray-PageDown
set terminal key dg217 \4387 \Kdgc3	; Gray-End
set terminal key dg217 \4388 \Kdgc1	; Gray-Home
set terminal key dg217 \4389 \Klfarr	; Gray-LeftArrow
set terminal key dg217 \4390 \Kuparr	; Gray-UpArrow
set terminal key dg217 \4391 \Krtarr	; Gray-RightArrow
set terminal key dg217 \4392 \Kdnarr	; Gray-DownArrow
set terminal key dg217 \4397 \Kdgerasepage	; Gray-Insert
set terminal key dg217 \4398 \Kdgeraseeol	; Gray-Delete
set terminal key dg217 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key dg217 \4444 \Kignore	; Gray-RightMSWindows
set terminal key dg217 \4445 \Kignore	; Gray-TaskList
set terminal key dg217 \4458 \Kdump	; Gray-Multiply
set terminal key dg217 \4463 \{47}	; Gray-Divide
set terminal key dg217 \4466 \Kdgf13	; Gray-F3
set terminal key dg217 \4467 \Kdgf14	; Gray-F4
set terminal key dg217 \4468 \Kdgf15	; Gray-F5
set terminal key dg217 \4479 \Kdgf13	; Gray-F16
set terminal key dg217 \4480 \Kdgf14	; Gray-F17
set terminal key dg217 \4481 \Kdgf15	; Gray-F18
set terminal key dg217 \4496 \Kignore	; Gray-NumLock
set terminal key dg217 \4514 \Kignore	; Gray-162
set terminal key dg217 \4516 \Kignore	; Gray-164
set terminal key dg217 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key dg217 \4897 \Kdgsc2	; Shift-Gray-PageUp
set terminal key dg217 \4898 \Kdgsc4	; Shift-Gray-PageDown
set terminal key dg217 \4899 \Kdgsc3	; Shift-Gray-End
set terminal key dg217 \4900 \Kdgsc1	; Shift-Gray-Home
set terminal key dg217 \4901 \Kdgslfarr	; Shift-Gray-LeftArrow
set terminal key dg217 \4902 \Kdgsuparr	; Shift-Gray-UpArrow
set terminal key dg217 \4903 \Kdgsrtarr	; Shift-Gray-RightArrow
set terminal key dg217 \4904 \Kdgsdnarr	; Shift-Gray-DownArrow
set terminal key dg217 \4909 \Kdgserasepage	; Shift-Gray-Insert
set terminal key dg217 \4910 \Kdgseraseeol	; Shift-Gray-Delete
set terminal key dg217 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key dg217 \4978 \Kdgsf13	; Shift-Gray-F3
set terminal key dg217 \4979 \Kdgsf14	; Shift-Gray-F4
set terminal key dg217 \4980 \Kdgsf15	; Shift-Gray-F5
set terminal key dg217 \4988 \Kdgsf13	; Shift-Gray-F13
set terminal key dg217 \4989 \Kdgsf14	; Shift-Gray-F14
set terminal key dg217 \4990 \Kdgsf15	; Shift-Gray-F15
set terminal key dg217 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key dg217 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key dg217 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key dg217 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key dg217 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key dg217 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key dg217 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key dg217 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key dg217 \5490 \Kdgcf13	; Ctrl-Gray-F3
set terminal key dg217 \5491 \Kdgcf14	; Ctrl-Gray-F4
set terminal key dg217 \5492 \Kdgcf15	; Ctrl-Gray-F5
set terminal key dg217 \5500 \Kdgcf13	; Ctrl-Gray-F13
set terminal key dg217 \5501 \Kdgcf14	; Ctrl-Gray-F14
set terminal key dg217 \5502 \Kdgcf15	; Ctrl-Gray-F15
set terminal key dg217 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key dg217 \6002 \Kdgcsf13	; Ctrl-Shift-Gray-F3
set terminal key dg217 \6003 \Kdgcsf14	; Ctrl-Shift-Gray-F4
set terminal key dg217 \6004 \Kdgcsf15	; Ctrl-Shift-Gray-F5
set terminal key dg217 \6012 \Kdgcsf13	; Ctrl-Shift-Gray-F13
set terminal key dg217 \6013 \Kdgcsf14	; Ctrl-Shift-Gray-F14
set terminal key dg217 \6014 \Kdgcsf15	; Ctrl-Shift-Gray-F15
set terminal key dg217 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key dg217 \6435 \Kprintff	; Alt-Gray-End
set terminal key dg217 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key dg217 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key dg217 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key dg217 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key dg217 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key dg217 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key dg217 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key dg217 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key dg217 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key dg217 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key dg217 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key dg217 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY emacs
set terminal key emacs /literal \2081 \{27}\{33}	; Alt-!
set terminal key emacs /literal \2082 \{27}\{34}	; Alt-"
set terminal key emacs /literal \2083 \{27}\{35}	; Alt-#
set terminal key emacs /literal \2084 \{27}\{36}	; Alt-$
set terminal key emacs /literal \2085 \{27}\{37}	; Alt-%
set terminal key emacs /literal \2086 \{27}\{38}	; Alt-&
set terminal key emacs /literal \2087 \{27}\{39}	; Alt-'
set terminal key emacs /literal \2088 \{27}\{40}	; Alt-(
set terminal key emacs /literal \2089 \{27}\{41}	; Alt-)
set terminal key emacs /literal \2090 \{27}\{42}	; Alt-*
set terminal key emacs /literal \2091 \{27}\{43}	; Alt-+
set terminal key emacs /literal \2092 \{27}\{44}	; Alt-,
set terminal key emacs /literal \2093 \{27}\{45}	; Alt--
set terminal key emacs /literal \2094 \{27}\{46}	; Alt-.
set terminal key emacs /literal \2095 \{27}\{47}	; Alt-/
set terminal key emacs /literal \2096 \{27}\{48}	; Alt-0
set terminal key emacs /literal \2097 \{27}\{49}	; Alt-1
set terminal key emacs /literal \2098 \{27}\{50}	; Alt-2
set terminal key emacs /literal \2099 \{27}\{51}	; Alt-3
set terminal key emacs /literal \2100 \{27}\{52}	; Alt-4
set terminal key emacs /literal \2101 \{27}\{53}	; Alt-5
set terminal key emacs /literal \2102 \{27}\{54}	; Alt-6
set terminal key emacs /literal \2103 \{27}\{55}	; Alt-7
set terminal key emacs /literal \2104 \{27}\{56}	; Alt-8
set terminal key emacs /literal \2105 \{27}\{57}	; Alt-9
set terminal key emacs /literal \2106 \{27}\{58}	; Alt-:
set terminal key emacs /literal \2107 \{27}\{59}	; Alt-;
set terminal key emacs /literal \2108 \{27}\{60}	; Alt-<
set terminal key emacs /literal \2109 \{27}\{61}	; Alt-=
set terminal key emacs /literal \2110 \{27}\{62}	; Alt->
set terminal key emacs /literal \2111 \{27}\{63}	; Alt-?
set terminal key emacs /literal \2112 \{27}\{64}	; Alt-@
set terminal key emacs /literal \2113 \{27}\{65}	; Alt-A
set terminal key emacs /literal \2114 \{27}\{66}	; Alt-B
set terminal key emacs /literal \2115 \{27}\{67}	; Alt-C
set terminal key emacs /literal \2116 \{27}\{68}	; Alt-D
set terminal key emacs /literal \2117 \{27}\{69}	; Alt-E
set terminal key emacs /literal \2118 \{27}\{70}	; Alt-F
set terminal key emacs /literal \2119 \{27}\{71}	; Alt-G
set terminal key emacs /literal \2120 \{27}\{72}	; Alt-H
set terminal key emacs /literal \2121 \{27}\{73}	; Alt-I
set terminal key emacs /literal \2122 \{27}\{74}	; Alt-J
set terminal key emacs /literal \2123 \{27}\{75}	; Alt-K
set terminal key emacs /literal \2124 \{27}\{76}	; Alt-L
set terminal key emacs /literal \2125 \{27}\{77}	; Alt-M
set terminal key emacs /literal \2126 \{27}\{78}	; Alt-N
set terminal key emacs /literal \2127 \{27}\{79}	; Alt-O
set terminal key emacs /literal \2128 \{27}\{80}	; Alt-P
set terminal key emacs /literal \2129 \{27}\{81}	; Alt-Q
set terminal key emacs /literal \2130 \{27}\{82}	; Alt-R
set terminal key emacs /literal \2131 \{27}\{83}	; Alt-S
set terminal key emacs /literal \2132 \{27}\{84}	; Alt-T
set terminal key emacs /literal \2133 \{27}\{85}	; Alt-U
set terminal key emacs /literal \2134 \{27}\{86}	; Alt-V
set terminal key emacs /literal \2135 \{27}\{87}	; Alt-W
set terminal key emacs /literal \2136 \{27}\{88}	; Alt-X
set terminal key emacs /literal \2137 \{27}\{89}	; Alt-Y
set terminal key emacs /literal \2138 \{27}\{90}	; Alt-Z
set terminal key emacs /literal \2139 \{27}\{91}	; Alt-[
set terminal key emacs /literal \2140 \{27}\{92}	; Alt-\
set terminal key emacs /literal \2141 \{27}\{93}	; Alt-]
set terminal key emacs /literal \2142 \{27}\{94}	; Alt-^
set terminal key emacs /literal \2143 \{27}\{95}	; Alt-_
set terminal key emacs /literal \2144 \{27}\{96}	; Alt-`
set terminal key emacs /literal \2145 \{27}\{97}	; Alt-a
set terminal key emacs /literal \2146 \{27}\{98}	; Alt-b
set terminal key emacs /literal \2147 \{27}\{99}	; Alt-c
set terminal key emacs /literal \2148 \{27}\{100}	; Alt-d
set terminal key emacs /literal \2149 \{27}\{101}	; Alt-e
set terminal key emacs /literal \2150 \{27}\{102}	; Alt-f
set terminal key emacs /literal \2151 \{27}\{103}	; Alt-g
set terminal key emacs /literal \2152 \{27}\{104}	; Alt-h
set terminal key emacs /literal \2153 \{27}\{105}	; Alt-i
set terminal key emacs /literal \2154 \{27}\{106}	; Alt-j
set terminal key emacs /literal \2155 \{27}\{107}	; Alt-k
set terminal key emacs /literal \2156 \{27}\{108}	; Alt-l
set terminal key emacs /literal \2157 \{27}\{109}	; Alt-m
set terminal key emacs /literal \2158 \{27}\{110}	; Alt-n
set terminal key emacs /literal \2159 \{27}\{111}	; Alt-o
set terminal key emacs /literal \2160 \{27}\{112}	; Alt-p
set terminal key emacs /literal \2161 \{27}\{113}	; Alt-q
set terminal key emacs /literal \2162 \{27}\{114}	; Alt-r
set terminal key emacs /literal \2163 \{27}\{115}	; Alt-s
set terminal key emacs /literal \2164 \{27}\{116}	; Alt-t
set terminal key emacs /literal \2165 \{27}\{117}	; Alt-u
set terminal key emacs /literal \2166 \{27}\{118}	; Alt-v
set terminal key emacs /literal \2167 \{27}\{119}	; Alt-w
set terminal key emacs /literal \2168 \{27}\{120}	; Alt-x
set terminal key emacs /literal \2169 \{27}\{121}	; Alt-y
set terminal key emacs /literal \2170 \{27}\{122}	; Alt-z
set terminal key emacs /literal \2171 \{27}\{123}	; Alt-{
set terminal key emacs /literal \2172 \{27}\{124}	; Alt-|
set terminal key emacs /literal \2173 \{27}\{125}	; Alt-}
set terminal key emacs /literal \2174 \{27}\{126}	; Alt-~
set terminal key emacs /literal \2312 \{27}\{8}	; Alt-Backspace
set terminal key emacs /literal \2350 \{27}\{127}	; Alt-Delete
set terminal key emacs \2416 \Khelp	; Alt-F1
set terminal key emacs \2419 \Kexit	; Alt-F4
set terminal key emacs /literal \2608 \{27}\{41}	; Alt-Shift-0
set terminal key emacs /literal \2609 \{27}\{33}	; Alt-Shift-1
set terminal key emacs /literal \2610 \{27}\{64}	; Alt-Shift-2
set terminal key emacs /literal \2611 \{27}\{35}	; Alt-Shift-3
set terminal key emacs /literal \2612 \{27}\{36}	; Alt-Shift-4
set terminal key emacs /literal \2613 \{27}\{37}	; Alt-Shift-5
set terminal key emacs /literal \2614 \{27}\{94}	; Alt-Shift-6
set terminal key emacs /literal \2615 \{27}\{38}	; Alt-Shift-7
set terminal key emacs /literal \2616 \{27}\{42}	; Alt-Shift-8
set terminal key emacs /literal \2617 \{27}\{40}	; Alt-Shift-9
set terminal key emacs /literal \3393 \{27}\{1}	; Ctrl-Alt-A
set terminal key emacs /literal \3394 \{27}\{2}	; Ctrl-Alt-B
set terminal key emacs /literal \3395 \{27}\{3}	; Ctrl-Alt-C
set terminal key emacs /literal \3396 \{27}\{4}	; Ctrl-Alt-D
set terminal key emacs /literal \3397 \{27}\{5}	; Ctrl-Alt-E
set terminal key emacs /literal \3398 \{27}\{6}	; Ctrl-Alt-F
set terminal key emacs /literal \3399 \{27}\{7}	; Ctrl-Alt-G
set terminal key emacs /literal \3400 \{27}\{8}	; Ctrl-Alt-H
set terminal key emacs /literal \3401 \{27}\{9}	; Ctrl-Alt-I
set terminal key emacs /literal \3402 \{27}\{10}	; Ctrl-Alt-J
set terminal key emacs /literal \3403 \{27}\{11}	; Ctrl-Alt-K
set terminal key emacs /literal \3404 \{27}\{12}	; Ctrl-Alt-L
set terminal key emacs /literal \3405 \{27}\{13}	; Ctrl-Alt-M
set terminal key emacs /literal \3406 \{27}\{14}	; Ctrl-Alt-N
set terminal key emacs /literal \3407 \{27}\{15}	; Ctrl-Alt-O
set terminal key emacs /literal \3408 \{27}\{16}	; Ctrl-Alt-P
set terminal key emacs /literal \3409 \{27}\{17}	; Ctrl-Alt-Q
set terminal key emacs /literal \3410 \{27}\{18}	; Ctrl-Alt-R
set terminal key emacs /literal \3411 \{27}\{19}	; Ctrl-Alt-S
set terminal key emacs /literal \3412 \{27}\{20}	; Ctrl-Alt-T
set terminal key emacs /literal \3413 \{27}\{21}	; Ctrl-Alt-U
set terminal key emacs /literal \3414 \{27}\{22}	; Ctrl-Alt-V
set terminal key emacs /literal \3415 \{27}\{23}	; Ctrl-Alt-W
set terminal key emacs /literal \3416 \{27}\{24}	; Ctrl-Alt-X
set terminal key emacs /literal \3417 \{27}\{25}	; Ctrl-Alt-Y
set terminal key emacs /literal \3418 \{27}\{26}	; Ctrl-Alt-Z
set terminal key emacs /literal \3547 \{27}\{27}	; Ctrl-Alt-OEM.US.LeftBracket
set terminal key emacs /literal \3548 \{27}\{28}	; Ctrl-Alt-OEM.US.BackSlash
set terminal key emacs /literal \3549 \{27}\{29}	; Ctrl-Alt-OEM.US.RightBracket
set terminal key emacs /literal \3894 \{27}\{30}	; Ctrl-Alt-Shift-6
set terminal key emacs /literal \4029 \{27}\{31}	; Ctrl-Alt-Shift-OEM.US.Subtract
set terminal key emacs /literal \4030 \{27}\{32}	; Ctrl-Alt-Shift-OEM.US.Period
set terminal key emacs /literal \4385 \{27}\{118}	; Gray-PageUp
set terminal key emacs \4386 \{22}	; Gray-PageDown
set terminal key emacs /literal \4387 \{27}\{62}	; Gray-End
set terminal key emacs /literal \4388 \{27}\{60}	; Gray-Home
set terminal key emacs \4389 \{2}	; Gray-LeftArrow
set terminal key emacs \4390 \{16}	; Gray-UpArrow
set terminal key emacs \4391 \{6}	; Gray-RightArrow
set terminal key emacs \4392 \{14}	; Gray-DownArrow
set terminal key emacs \4397 \Kemacs_overwrite	; Gray-Insert
set terminal key emacs \4398 \{127}	; Gray-Delete
set terminal key emacs /literal \6446 \{27}\{127}	; Alt-Gray-Delete

; SET TERMINAL KEY heath19
set terminal key heath19 \16 \Kignore	; DLE
set terminal key heath19 \17 \Kignore	; DC1
set terminal key heath19 \18 \Kignore	; DC2
set terminal key heath19 \264 \{127}	; Backspace
set terminal key heath19 \268 \Kkp5	; Clear
set terminal key heath19 \269 \{13}	; Enter
set terminal key heath19 \276 \Kignore	; CapsLock
set terminal key heath19 \289 \Kkp9	; PageUp
set terminal key heath19 \290 \Kkp3	; PageDown
set terminal key heath19 \291 \Kkp1	; End
set terminal key heath19 \292 \Kkp7	; Home
set terminal key heath19 \293 \Kkp4	; LeftArrow
set terminal key heath19 \294 \Kkp8	; UpArrow
set terminal key heath19 \295 \Kkp6	; RightArrow
set terminal key heath19 \296 \Kkp2	; DownArrow
set terminal key heath19 \301 \Kkp0	; Insert
set terminal key heath19 \302 \Kkpdot	; Delete
set terminal key heath19 \352 \Kkp0	; Keypad-0
set terminal key heath19 \353 \Kkp1	; Keypad-1
set terminal key heath19 \354 \Kkp2	; Keypad-2
set terminal key heath19 \355 \Kkp3	; Keypad-3
set terminal key heath19 \356 \Kkp4	; Keypad-4
set terminal key heath19 \357 \Kkp5	; Keypad-5
set terminal key heath19 \358 \Kkp6	; Keypad-6
set terminal key heath19 \359 \Kkp7	; Keypad-7
set terminal key heath19 \360 \Kkp8	; Keypad-8
set terminal key heath19 \361 \Kkp9	; Keypad-9
set terminal key heath19 \362 \Kpf3	; Multiply
set terminal key heath19 \363 \Kkpcoma	; Add
set terminal key heath19 \364 \{47}	; Separator
set terminal key heath19 \365 \Kpf4	; Subtract
set terminal key heath19 \366 \Kkpdot	; Decimal
set terminal key heath19 \368 \Kgold	; F1
set terminal key heath19 \369 \Kpf2	; F2
set terminal key heath19 \370 \Kpf3	; F3
set terminal key heath19 \371 \Kpf4	; F4
set terminal key heath19 \400 \Kgold	; NumLock
set terminal key heath19 \401 \Kholdscrn	; ScrollLock
set terminal key heath19 \539 \{27}	; Shift-ESC
set terminal key heath19 \776 \{127}	; Shift-Backspace
set terminal key heath19 \777 \{8}	; Shift-Tab
set terminal key heath19 \912 \Kignore	; Shift-NumLock
set terminal key heath19 \1056 \Knull	; SP
set terminal key heath19 \1326 \{8}	; Ctrl-Delete
set terminal key heath19 \1330 \Knull	; Ctrl-2
set terminal key heath19 \1334 \{30}	; Ctrl-6
set terminal key heath19 \1392 \Kmarkstart	; Ctrl-F1
set terminal key heath19 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key heath19 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key heath19 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key heath19 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key heath19 \1842 \Knull	; Ctrl-Shift-2
set terminal key heath19 \1846 \{30}	; Ctrl-Shift-6
set terminal key heath19 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key heath19 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key heath19 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key heath19 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key heath19 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key heath19 \2092 \Kkpcoma	; Alt-,
set terminal key heath19 \2093 \Kkpminus	; Alt--
set terminal key heath19 \2094 \Kkpdot	; Alt-.
set terminal key heath19 \2096 \Kkp0	; Alt-0
set terminal key heath19 \2097 \Kkp1	; Alt-1
set terminal key heath19 \2098 \Kkp2	; Alt-2
set terminal key heath19 \2099 \Kkp3	; Alt-3
set terminal key heath19 \2100 \Kkp4	; Alt-4
set terminal key heath19 \2101 \Kkp5	; Alt-5
set terminal key heath19 \2102 \Kkp6	; Alt-6
set terminal key heath19 \2103 \Kkp7	; Alt-7
set terminal key heath19 \2104 \Kkp8	; Alt-8
set terminal key heath19 \2105 \Kkp9	; Alt-9
set terminal key heath19 \2109 \Kreset	; Alt-=
set terminal key heath19 \2114 \Kbreak	; Alt-B
set terminal key heath19 \2115 \Kcompose	; Alt-C
set terminal key heath19 \2116 \Kdebug	; Alt-D
set terminal key heath19 \2117 \Kprintff	; Alt-E
set terminal key heath19 \2118 \Kfnkeys	; Alt-F
set terminal key heath19 \2120 \Khelp	; Alt-H
set terminal key heath19 \2123 \Kkeyclick	; Alt-K
set terminal key heath19 \2124 \Klbreak	; Alt-L
set terminal key heath19 \2126 \Kucs2	; Alt-N
set terminal key heath19 \2127 \Kprtauto	; Alt-O
set terminal key heath19 \2128 \Kdump	; Alt-P
set terminal key heath19 \2129 \Kquit	; Alt-Q
set terminal key heath19 \2130 \Kreset	; Alt-R
set terminal key heath19 \2131 \Kstatus	; Alt-S
set terminal key heath19 \2132 \Ktermtype	; Alt-T
set terminal key heath19 \2133 \Khangup	; Alt-U
set terminal key heath19 \2134 \Kflipscn	; Alt-V
set terminal key heath19 \2136 \Kexit	; Alt-X
set terminal key heath19 \2146 \Kbreak	; Alt-b
set terminal key heath19 \2147 \Kcompose	; Alt-c
set terminal key heath19 \2148 \Kdebug	; Alt-d
set terminal key heath19 \2149 \Kprintff	; Alt-e
set terminal key heath19 \2150 \Kfnkeys	; Alt-f
set terminal key heath19 \2152 \Khelp	; Alt-h
set terminal key heath19 \2155 \Kkeyclick	; Alt-k
set terminal key heath19 \2156 \Klbreak	; Alt-l
set terminal key heath19 \2158 \Kucs2	; Alt-n
set terminal key heath19 \2159 \Kprtauto	; Alt-o
set terminal key heath19 \2160 \Kdump	; Alt-p
set terminal key heath19 \2161 \Kquit	; Alt-q
set terminal key heath19 \2162 \Kreset	; Alt-r
set terminal key heath19 \2163 \Kstatus	; Alt-s
set terminal key heath19 \2164 \Ktermtype	; Alt-t
set terminal key heath19 \2165 \Khangup	; Alt-u
set terminal key heath19 \2166 \Kflipscn	; Alt-v
set terminal key heath19 \2168 \Kexit	; Alt-x
set terminal key heath19 \2312 \{8}	; Alt-Backspace
set terminal key heath19 \2411 \Kkpminus	; Alt-Add
set terminal key heath19 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key heath19 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key heath19 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key heath19 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key heath19 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key heath19 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key heath19 \4143 \Kpf2	; Kp-/
set terminal key heath19 \4365 \Kkpenter	; Gray-Enter
set terminal key heath19 \4385 \Kupscn	; Gray-PageUp
set terminal key heath19 \4386 \Kdnscn	; Gray-PageDown
set terminal key heath19 \4387 \Kendscn	; Gray-End
set terminal key heath19 \4388 \Khomscn	; Gray-Home
set terminal key heath19 \4389 \Klfarr	; Gray-LeftArrow
set terminal key heath19 \4390 \Kuparr	; Gray-UpArrow
set terminal key heath19 \4391 \Krtarr	; Gray-RightArrow
set terminal key heath19 \4392 \Kdnarr	; Gray-DownArrow
set terminal key heath19 \4398 \{127}	; Gray-Delete
set terminal key heath19 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key heath19 \4444 \Kignore	; Gray-RightMSWindows
set terminal key heath19 \4445 \Kignore	; Gray-TaskList
set terminal key heath19 \4458 \Kdump	; Gray-Multiply
set terminal key heath19 \4463 \Kpf2	; Gray-Divide
set terminal key heath19 \4496 \Kgold	; Gray-NumLock
set terminal key heath19 \4514 \Kignore	; Gray-162
set terminal key heath19 \4516 \Kignore	; Gray-164
set terminal key heath19 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key heath19 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key heath19 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key heath19 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key heath19 \4910 \{127}	; Shift-Gray-Delete
set terminal key heath19 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key heath19 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key heath19 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key heath19 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key heath19 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key heath19 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key heath19 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key heath19 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key heath19 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key heath19 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key heath19 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key heath19 \6435 \Kprintff	; Alt-Gray-End
set terminal key heath19 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key heath19 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key heath19 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key heath19 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key heath19 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key heath19 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key heath19 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key heath19 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key heath19 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key heath19 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key heath19 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key heath19 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY hebrew
set terminal key hebrew \39 \{44}	; '
set terminal key hebrew \44 \{154}	; ,
set terminal key hebrew \46 \{149}	; .
set terminal key hebrew \47 \{46}	; /
set terminal key hebrew \59 \{147}	; ;
set terminal key hebrew \97 \{153}	; a
set terminal key hebrew \98 \{144}	; b
set terminal key hebrew \99 \{129}	; c
set terminal key hebrew \100 \{130}	; d
set terminal key hebrew \101 \{151}	; e
set terminal key hebrew \102 \{139}	; f
set terminal key hebrew \103 \{146}	; g
set terminal key hebrew \104 \{137}	; h
set terminal key hebrew \105 \{143}	; i
set terminal key hebrew \106 \{135}	; j
set terminal key hebrew \107 \{140}	; k
set terminal key hebrew \108 \{138}	; l
set terminal key hebrew \109 \{150}	; m
set terminal key hebrew \110 \{142}	; n
set terminal key hebrew \111 \{141}	; o
set terminal key hebrew \112 \{148}	; p
set terminal key hebrew \113 \{47}	; q
set terminal key hebrew \114 \{152}	; r
set terminal key hebrew \115 \{131}	; s
set terminal key hebrew \116 \{128}	; t
set terminal key hebrew \117 \{133}	; u
set terminal key hebrew \118 \{132}	; v
set terminal key hebrew \119 \{39}	; w
set terminal key hebrew \120 \{145}	; x
set terminal key hebrew \121 \{136}	; y
set terminal key hebrew \122 \{134}	; z

; SET TERMINAL KEY hft
set terminal key hft \16 \Kignore	; DLE
set terminal key hft \17 \Kignore	; DC1
set terminal key hft \18 \Kignore	; DC2
set terminal key hft \264 \{8}	; Backspace
set terminal key hft \269 \{13}	; Enter
set terminal key hft \276 \Kignore	; CapsLock
set terminal key hft \290 \Kdnscn	; PageDown
set terminal key hft \291 \Kendscn	; End
set terminal key hft \292 \Khomscn	; Home
set terminal key hft \293 \Klfarr	; LeftArrow
set terminal key hft \294 \Kuparr	; UpArrow
set terminal key hft \295 \Krtarr	; RightArrow
set terminal key hft \296 \Kdnarr	; DownArrow
set terminal key hft /literal \298 \{27}[209q	; Print
set terminal key hft \302 \{127}	; Delete
set terminal key hft \352 \{48}	; Keypad-0
set terminal key hft \353 \{49}	; Keypad-1
set terminal key hft \354 \{50}	; Keypad-2
set terminal key hft \355 \{51}	; Keypad-3
set terminal key hft \356 \{52}	; Keypad-4
set terminal key hft \357 \{53}	; Keypad-5
set terminal key hft \358 \{54}	; Keypad-6
set terminal key hft \359 \{55}	; Keypad-7
set terminal key hft \360 \{56}	; Keypad-8
set terminal key hft \361 \{57}	; Keypad-9
set terminal key hft \362 \{42}	; Multiply
set terminal key hft \363 \{43}	; Add
set terminal key hft \364 \{47}	; Separator
set terminal key hft \365 \{45}	; Subtract
set terminal key hft \366 \{46}	; Decimal
set terminal key hft /literal \368 \{27}[001q	; F1
set terminal key hft /literal \369 \{27}[002q	; F2
set terminal key hft /literal \370 \{27}[003q	; F3
set terminal key hft /literal \371 \{27}[004q	; F4
set terminal key hft /literal \372 \{27}[005q	; F5
set terminal key hft /literal \373 \{27}[006q	; F6
set terminal key hft /literal \374 \{27}[007q	; F7
set terminal key hft /literal \375 \{27}[008q	; F8
set terminal key hft /literal \376 \{27}[009q	; F9
set terminal key hft /literal \377 \{27}[010q	; F10
set terminal key hft /literal \378 \{27}[011q	; F11
set terminal key hft /literal \379 \{27}[012q	; F12
set terminal key hft \400 \Kignore	; NumLock
set terminal key hft \401 \Kholdscrn	; ScrollLock
set terminal key hft \539 \{27}	; Shift-ESC
set terminal key hft \776 \{127}	; Shift-Backspace
set terminal key hft /literal \777 \{27}[Z	; Shift-Tab
set terminal key hft /literal \880 \{27}[013q	; Shift-F1
set terminal key hft /literal \881 \{27}[014q	; Shift-F2
set terminal key hft /literal \882 \{27}[015q	; Shift-F3
set terminal key hft /literal \883 \{27}[016q	; Shift-F4
set terminal key hft /literal \884 \{27}[017q	; Shift-F5
set terminal key hft /literal \885 \{27}[018q	; Shift-F6
set terminal key hft /literal \886 \{27}[019q	; Shift-F7
set terminal key hft /literal \887 \{27}[020q	; Shift-F8
set terminal key hft /literal \888 \{27}[021q	; Shift-F9
set terminal key hft /literal \889 \{27}[022q	; Shift-F10
set terminal key hft /literal \890 \{27}[023q	; Shift-F11
set terminal key hft /literal \891 \{27}[024q	; Shift-F12
set terminal key hft \912 \Kignore	; Shift-NumLock
set terminal key hft \1056 \Knull	; SP
set terminal key hft \1151 \{127}	; DEL
set terminal key hft /literal \1289 \{27}[072q	; Ctrl-Tab
set terminal key hft /literal \1292 \{27}[184q	; Ctrl-Clear
set terminal key hft /literal \1313 \{27}[190q	; Ctrl-PageUp
set terminal key hft /literal \1314 \{27}[194q	; Ctrl-PageDown
set terminal key hft /literal \1315 \{27}[176q	; Ctrl-End
set terminal key hft /literal \1316 \{27}[172q	; Ctrl-Home
set terminal key hft /literal \1317 \{27}[174q	; Ctrl-LeftArrow
set terminal key hft /literal \1318 \{27}[182q	; Ctrl-UpArrow
set terminal key hft /literal \1319 \{27}[192q	; Ctrl-RightArrow
set terminal key hft /literal \1320 \{27}[186q	; Ctrl-DownArrow
set terminal key hft /literal \1322 \{27}[211q	; Ctrl-Print
set terminal key hft /literal \1325 \{27}[178q	; Ctrl-Insert
set terminal key hft /literal \1326 \{27}[196q	; Ctrl-Delete
set terminal key hft /literal \1328 \{27}[056q	; Ctrl-0
set terminal key hft /literal \1329 \{27}[049q	; Ctrl-1
set terminal key hft \1330 \Knull	; Ctrl-2
set terminal key hft /literal \1331 \{27}[050q	; Ctrl-3
set terminal key hft /literal \1332 \{27}[051q	; Ctrl-4
set terminal key hft /literal \1333 \{27}[052q	; Ctrl-5
set terminal key hft \1334 \{30}	; Ctrl-6
set terminal key hft /literal \1335 \{27}[053q	; Ctrl-7
set terminal key hft /literal \1336 \{27}[054q	; Ctrl-8
set terminal key hft /literal \1337 \{27}[055q	; Ctrl-9
set terminal key hft /literal \1386 \{27}[187q	; Ctrl-Multiply
set terminal key hft /literal \1387 \{27}[200q	; Ctrl-Add
set terminal key hft /literal \1389 \{27}[198q	; Ctrl-Subtract
set terminal key hft /literal \1392 \{27}[025q	; Ctrl-F1
set terminal key hft /literal \1393 \{27}[026q	; Ctrl-F2
set terminal key hft /literal \1394 \{27}[027q	; Ctrl-F3
set terminal key hft /literal \1395 \{27}[028q	; Ctrl-F4
set terminal key hft /literal \1396 \{27}[029q	; Ctrl-F5
set terminal key hft /literal \1397 \{27}[030q	; Ctrl-F6
set terminal key hft /literal \1398 \{27}[031q	; Ctrl-F7
set terminal key hft /literal \1399 \{27}[032q	; Ctrl-F8
set terminal key hft /literal \1400 \{27}[033q	; Ctrl-F9
set terminal key hft /literal \1401 \{27}[034q	; Ctrl-F10
set terminal key hft /literal \1402 \{27}[035q	; Ctrl-F11
set terminal key hft /literal \1403 \{27}[036q	; Ctrl-F12
set terminal key hft \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key hft \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key hft /literal \1472 \{27}[057q	; Ctrl-OEM.US.Grave
set terminal key hft \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key hft \1842 \Knull	; Ctrl-Shift-2
set terminal key hft \1846 \{30}	; Ctrl-Shift-6
set terminal key hft \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key hft \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key hft \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key hft \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key hft \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key hft /literal \2096 \{27}[067q	; Alt-0
set terminal key hft /literal \2097 \{27}[058q	; Alt-1
set terminal key hft /literal \2098 \{27}[059q	; Alt-2
set terminal key hft /literal \2099 \{27}[060q	; Alt-3
set terminal key hft /literal \2100 \{27}[061q	; Alt-4
set terminal key hft /literal \2101 \{27}[062q	; Alt-5
set terminal key hft /literal \2102 \{27}[063q	; Alt-6
set terminal key hft /literal \2103 \{27}[064q	; Alt-7
set terminal key hft /literal \2104 \{27}[065q	; Alt-8
set terminal key hft /literal \2105 \{27}[066q	; Alt-9
set terminal key hft \2109 \Kreset	; Alt-=
set terminal key hft \2114 \Kbreak	; Alt-B
set terminal key hft \2115 \Kcompose	; Alt-C
set terminal key hft \2116 \Kdebug	; Alt-D
set terminal key hft \2117 \Kprintff	; Alt-E
set terminal key hft \2118 \Kfnkeys	; Alt-F
set terminal key hft \2120 \Khelp	; Alt-H
set terminal key hft \2123 \Kkeyclick	; Alt-K
set terminal key hft \2124 \Klbreak	; Alt-L
set terminal key hft \2126 \Kucs2	; Alt-N
set terminal key hft \2127 \Kprtauto	; Alt-O
set terminal key hft \2128 \Kdump	; Alt-P
set terminal key hft \2129 \Kquit	; Alt-Q
set terminal key hft \2130 \Kreset	; Alt-R
set terminal key hft \2131 \Kstatus	; Alt-S
set terminal key hft \2132 \Ktermtype	; Alt-T
set terminal key hft \2133 \Khangup	; Alt-U
set terminal key hft \2134 \Kflipscn	; Alt-V
set terminal key hft \2136 \Kexit	; Alt-X
set terminal key hft /literal \2145 \{27}[087q	; Alt-a
set terminal key hft /literal \2146 \{27}[105q	; Alt-b
set terminal key hft /literal \2147 \{27}[103q	; Alt-c
set terminal key hft /literal \2148 \{27}[089q	; Alt-d
set terminal key hft /literal \2149 \{27}[076q	; Alt-e
set terminal key hft /literal \2150 \{27}[090q	; Alt-f
set terminal key hft /literal \2151 \{27}[091q	; Alt-g
set terminal key hft /literal \2152 \{27}[092q	; Alt-h
set terminal key hft /literal \2153 \{27}[081q	; Alt-i
set terminal key hft /literal \2154 \{27}[093q	; Alt-j
set terminal key hft /literal \2155 \{27}[094q	; Alt-k
set terminal key hft /literal \2156 \{27}[095q	; Alt-l
set terminal key hft /literal \2157 \{27}[107q	; Alt-m
set terminal key hft /literal \2158 \{27}[106q	; Alt-n
set terminal key hft /literal \2159 \{27}[082q	; Alt-o
set terminal key hft /literal \2160 \{27}[083q	; Alt-p
set terminal key hft /literal \2161 \{27}[074q	; Alt-q
set terminal key hft /literal \2162 \{27}[077q	; Alt-r
set terminal key hft /literal \2163 \{27}[088q	; Alt-s
set terminal key hft /literal \2164 \{27}[078q	; Alt-t
set terminal key hft /literal \2165 \{27}[080q	; Alt-u
set terminal key hft /literal \2166 \{27}[104q	; Alt-v
set terminal key hft /literal \2167 \{27}[075q	; Alt-w
set terminal key hft /literal \2168 \{27}[102q	; Alt-x
set terminal key hft /literal \2169 \{27}[079q	; Alt-y
set terminal key hft /literal \2170 \{27}[101q	; Alt-z
set terminal key hft /literal \2312 \{27}[071q	; Alt-Backspace
set terminal key hft /literal \2317 \{27}[100q	; Alt-Enter
set terminal key hft /literal \2346 \{27}[212q	; Alt-Print
set terminal key hft /literal \2350 \{27}[197q	; Alt-Delete
set terminal key hft /literal \2410 \{27}[188q	; Alt-Multiply
set terminal key hft /literal \2411 \{27}[201q	; Alt-Add
set terminal key hft /literal \2413 \{27}[199q	; Alt-Subtract
set terminal key hft /literal \2416 \{27}[037q	; Alt-F1
set terminal key hft /literal \2417 \{27}[038q	; Alt-F2
set terminal key hft /literal \2418 \{27}[039q	; Alt-F3
set terminal key hft /literal \2419 \{27}[040q	; Alt-F4
set terminal key hft /literal \2420 \{27}[041q	; Alt-F5
set terminal key hft /literal \2421 \{27}[042q	; Alt-F6
set terminal key hft /literal \2422 \{27}[043q	; Alt-F7
set terminal key hft /literal \2423 \{27}[044q	; Alt-F8
set terminal key hft /literal \2424 \{27}[045q	; Alt-F9
set terminal key hft /literal \2425 \{27}[046q	; Alt-F10
set terminal key hft /literal \2426 \{27}[047q	; Alt-F11
set terminal key hft /literal \2427 \{27}[048q	; Alt-F12
set terminal key hft \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key hft \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key hft \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key hft \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key hft \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key hft \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key hft \4365 \{13}	; Gray-Enter
set terminal key hft /literal \4385 \{27}[150q	; Gray-PageUp
set terminal key hft /literal \4386 \{27}[154q	; Gray-PageDown
set terminal key hft /literal \4387 \{27}[146q	; Gray-End
set terminal key hft /literal \4388 \{27}[H	; Gray-Home
set terminal key hft \4389 \Klfarr	; Gray-LeftArrow
set terminal key hft \4390 \Kuparr	; Gray-UpArrow
set terminal key hft \4391 \Krtarr	; Gray-RightArrow
set terminal key hft \4392 \Kdnarr	; Gray-DownArrow
set terminal key hft /literal \4397 \{27}[139q	; Gray-Insert
set terminal key hft /literal \4398 \{27}[P	; Gray-Delete
set terminal key hft \4443 \Kignore	; Gray-LeftMSWindows
set terminal key hft \4444 \Kignore	; Gray-RightMSWindows
set terminal key hft \4445 \Kignore	; Gray-TaskList
set terminal key hft \4458 \Kdump	; Gray-Multiply
set terminal key hft \4463 \{47}	; Gray-Divide
set terminal key hft \4496 \Kignore	; Gray-NumLock
set terminal key hft \4514 \Kignore	; Gray-162
set terminal key hft \4516 \Kignore	; Gray-164
set terminal key hft \4543 \{47}	; Gray-OEM.US.Slash
set terminal key hft /literal \4897 \{27}[151q	; Shift-Gray-PageUp
set terminal key hft /literal \4898 \{27}[155q	; Shift-Gray-PageDown
set terminal key hft /literal \4899 \{27}[147q	; Shift-Gray-End
set terminal key hft /literal \4900 \{27}[143q	; Shift-Gray-Home
set terminal key hft /literal \4901 \{27}[158q	; Shift-Gray-LeftArrow
set terminal key hft /literal \4902 \{27}[161q	; Shift-Gray-UpArrow
set terminal key hft /literal \4903 \{27}[167q	; Shift-Gray-RightArrow
set terminal key hft /literal \4904 \{27}[164q	; Shift-Gray-DownArrow
set terminal key hft /literal \4909 \{27}[139q	; Shift-Gray-Insert
set terminal key hft /literal \4910 \{27}[P	; Shift-Gray-Delete
set terminal key hft \4970 \Kignore	; Shift-Gray-Multiply
set terminal key hft \5008 \Kignore	; Shift-Gray-NumLock
set terminal key hft /literal \5409 \{27}[152q	; Ctrl-Gray-PageUp
set terminal key hft /literal \5410 \{27}[156q	; Ctrl-Gray-PageDown
set terminal key hft /literal \5411 \{27}[148q	; Ctrl-Gray-End
set terminal key hft /literal \5412 \{27}[144q	; Ctrl-Gray-Home
set terminal key hft /literal \5413 \{27}[159q	; Ctrl-Gray-LeftArrow
set terminal key hft /literal \5414 \{27}[162q	; Ctrl-Gray-UpArrow
set terminal key hft /literal \5415 \{27}[168q	; Ctrl-Gray-RightArrow
set terminal key hft /literal \5416 \{27}[165q	; Ctrl-Gray-DownArrow
set terminal key hft /literal \5421 \{27}[140q	; Ctrl-Gray-Insert
set terminal key hft /literal \5422 \{27}[142q	; Ctrl-Gray-Delete
set terminal key hft /literal \5487 \{27}[179q	; Ctrl-Gray-Divide
set terminal key hft \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key hft /literal \6433 \{27}[153q	; Alt-Gray-PageUp
set terminal key hft /literal \6434 \{27}[157q	; Alt-Gray-PageDown
set terminal key hft /literal \6435 \{27}[149q	; Alt-Gray-End
set terminal key hft /literal \6436 \{27}[145q	; Alt-Gray-Home
set terminal key hft /literal \6437 \{27}[160q	; Alt-Gray-LeftArrow
set terminal key hft /literal \6438 \{27}[162q	; Alt-Gray-UpArrow
set terminal key hft /literal \6439 \{27}[169q	; Alt-Gray-RightArrow
set terminal key hft /literal \6440 \{27}[165q	; Alt-Gray-DownArrow
set terminal key hft /literal \6445 \{27}[141q	; Alt-Gray-Insert
set terminal key hft /literal \6446 \{27}[M	; Alt-Gray-Delete
set terminal key hft /literal \6511 \{27}[180q	; Alt-Gray-Divide
set terminal key hft \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key hft \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key hft \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key hft \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key hft \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key hft \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key hft \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key hft \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY hp2621a
set terminal key hp2621a \16 \Kignore	; DLE
set terminal key hp2621a \17 \Kignore	; DC1
set terminal key hp2621a \18 \Kignore	; DC2
set terminal key hp2621a \264 \{8}	; Backspace
set terminal key hp2621a \265 \{9}	; Tab
set terminal key hp2621a \269 \Khpreturn	; Enter
set terminal key hp2621a \276 \Kignore	; CapsLock
set terminal key hp2621a \290 \Kdnscn	; PageDown
set terminal key hp2621a \291 \Kendscn	; End
set terminal key hp2621a \292 \Khomscn	; Home
set terminal key hp2621a \293 \Klfarr	; LeftArrow
set terminal key hp2621a \294 \Kuparr	; UpArrow
set terminal key hp2621a \295 \Krtarr	; RightArrow
set terminal key hp2621a \296 \Kdnarr	; DownArrow
set terminal key hp2621a \302 \{127}	; Delete
set terminal key hp2621a \352 \{48}	; Keypad-0
set terminal key hp2621a \353 \{49}	; Keypad-1
set terminal key hp2621a \354 \{50}	; Keypad-2
set terminal key hp2621a \355 \{51}	; Keypad-3
set terminal key hp2621a \356 \{52}	; Keypad-4
set terminal key hp2621a \357 \{53}	; Keypad-5
set terminal key hp2621a \358 \{54}	; Keypad-6
set terminal key hp2621a \359 \{55}	; Keypad-7
set terminal key hp2621a \360 \{56}	; Keypad-8
set terminal key hp2621a \361 \{57}	; Keypad-9
set terminal key hp2621a \362 \{42}	; Multiply
set terminal key hp2621a \363 \{43}	; Add
set terminal key hp2621a \364 \{47}	; Separator
set terminal key hp2621a \365 \{45}	; Subtract
set terminal key hp2621a \366 \{46}	; Decimal
set terminal key hp2621a \368 \Khpf01	; F1
set terminal key hp2621a \369 \Khpf02	; F2
set terminal key hp2621a \370 \Khpf03	; F3
set terminal key hp2621a \371 \Khpf04	; F4
set terminal key hp2621a \372 \Khpf05	; F5
set terminal key hp2621a \373 \Khpf06	; F6
set terminal key hp2621a \374 \Khpf07	; F7
set terminal key hp2621a \375 \Khpf08	; F8
set terminal key hp2621a \376 \Khpf09	; F9
set terminal key hp2621a \377 \Khpf10	; F10
set terminal key hp2621a \378 \Khpf11	; F11
set terminal key hp2621a \379 \Khpf12	; F12
set terminal key hp2621a \400 \Kignore	; NumLock
set terminal key hp2621a \401 \Kholdscrn	; ScrollLock
set terminal key hp2621a \539 \{27}	; Shift-ESC
set terminal key hp2621a \776 \{127}	; Shift-Backspace
set terminal key hp2621a \777 \Khpbacktab	; Shift-Tab
set terminal key hp2621a \880 \Khpf09	; Shift-F1
set terminal key hp2621a \881 \Khpf10	; Shift-F2
set terminal key hp2621a \882 \Khpf11	; Shift-F3
set terminal key hp2621a \883 \Khpf12	; Shift-F4
set terminal key hp2621a \884 \Khpf13	; Shift-F5
set terminal key hp2621a \885 \Khpf14	; Shift-F6
set terminal key hp2621a \886 \Khpf15	; Shift-F7
set terminal key hp2621a \887 \Khpf16	; Shift-F8
set terminal key hp2621a \912 \Kignore	; Shift-NumLock
set terminal key hp2621a \1056 \Knull	; SP
set terminal key hp2621a \1326 \{8}	; Ctrl-Delete
set terminal key hp2621a \1330 \Knull	; Ctrl-2
set terminal key hp2621a \1334 \{30}	; Ctrl-6
set terminal key hp2621a \1392 \Kmarkstart	; Ctrl-F1
set terminal key hp2621a \1393 \Kmarkcancel	; Ctrl-F2
set terminal key hp2621a \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key hp2621a \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key hp2621a \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key hp2621a \1842 \Knull	; Ctrl-Shift-2
set terminal key hp2621a \1846 \{30}	; Ctrl-Shift-6
set terminal key hp2621a \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key hp2621a \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key hp2621a \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key hp2621a \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key hp2621a \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key hp2621a \2109 \Kreset	; Alt-=
set terminal key hp2621a \2114 \Kbreak	; Alt-B
set terminal key hp2621a \2115 \Kcompose	; Alt-C
set terminal key hp2621a \2116 \Kdebug	; Alt-D
set terminal key hp2621a \2117 \Kprintff	; Alt-E
set terminal key hp2621a \2118 \Kfnkeys	; Alt-F
set terminal key hp2621a \2120 \Khelp	; Alt-H
set terminal key hp2621a \2123 \Kkeyclick	; Alt-K
set terminal key hp2621a \2124 \Klbreak	; Alt-L
set terminal key hp2621a \2126 \Kucs2	; Alt-N
set terminal key hp2621a \2127 \Kprtauto	; Alt-O
set terminal key hp2621a \2128 \Kdump	; Alt-P
set terminal key hp2621a \2129 \Kquit	; Alt-Q
set terminal key hp2621a \2130 \Kreset	; Alt-R
set terminal key hp2621a \2131 \Kstatus	; Alt-S
set terminal key hp2621a \2132 \Ktermtype	; Alt-T
set terminal key hp2621a \2133 \Khangup	; Alt-U
set terminal key hp2621a \2134 \Kflipscn	; Alt-V
set terminal key hp2621a \2136 \Kexit	; Alt-X
set terminal key hp2621a \2146 \Kbreak	; Alt-b
set terminal key hp2621a \2147 \Kcompose	; Alt-c
set terminal key hp2621a \2148 \Kdebug	; Alt-d
set terminal key hp2621a \2149 \Kprintff	; Alt-e
set terminal key hp2621a \2150 \Kfnkeys	; Alt-f
set terminal key hp2621a \2152 \Khelp	; Alt-h
set terminal key hp2621a \2155 \Kkeyclick	; Alt-k
set terminal key hp2621a \2156 \Klbreak	; Alt-l
set terminal key hp2621a \2158 \Kucs2	; Alt-n
set terminal key hp2621a \2159 \Kprtauto	; Alt-o
set terminal key hp2621a \2160 \Kdump	; Alt-p
set terminal key hp2621a \2161 \Kquit	; Alt-q
set terminal key hp2621a \2162 \Kreset	; Alt-r
set terminal key hp2621a \2163 \Kstatus	; Alt-s
set terminal key hp2621a \2164 \Ktermtype	; Alt-t
set terminal key hp2621a \2165 \Khangup	; Alt-u
set terminal key hp2621a \2166 \Kflipscn	; Alt-v
set terminal key hp2621a \2168 \Kexit	; Alt-x
set terminal key hp2621a \2312 \{8}	; Alt-Backspace
set terminal key hp2621a \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key hp2621a \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key hp2621a \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key hp2621a \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key hp2621a \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key hp2621a \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key hp2621a \4365 \Khpenter	; Gray-Enter
set terminal key hp2621a \4385 \Kupscn	; Gray-PageUp
set terminal key hp2621a \4386 \Kdnscn	; Gray-PageDown
set terminal key hp2621a \4387 \Kendscn	; Gray-End
set terminal key hp2621a \4388 \Khomscn	; Gray-Home
set terminal key hp2621a \4389 \Klfarr	; Gray-LeftArrow
set terminal key hp2621a \4390 \Kuparr	; Gray-UpArrow
set terminal key hp2621a \4391 \Krtarr	; Gray-RightArrow
set terminal key hp2621a \4392 \Kdnarr	; Gray-DownArrow
set terminal key hp2621a \4398 \{127}	; Gray-Delete
set terminal key hp2621a \4443 \Kignore	; Gray-LeftMSWindows
set terminal key hp2621a \4444 \Kignore	; Gray-RightMSWindows
set terminal key hp2621a \4445 \Kignore	; Gray-TaskList
set terminal key hp2621a \4458 \Kdump	; Gray-Multiply
set terminal key hp2621a \4463 \{47}	; Gray-Divide
set terminal key hp2621a \4496 \Kignore	; Gray-NumLock
set terminal key hp2621a \4514 \Kignore	; Gray-162
set terminal key hp2621a \4516 \Kignore	; Gray-164
set terminal key hp2621a \4543 \{47}	; Gray-OEM.US.Slash
set terminal key hp2621a \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key hp2621a \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key hp2621a \4909 \Kpaste	; Shift-Gray-Insert
set terminal key hp2621a \4910 \{127}	; Shift-Gray-Delete
set terminal key hp2621a \4970 \Kignore	; Shift-Gray-Multiply
set terminal key hp2621a \5008 \Kignore	; Shift-Gray-NumLock
set terminal key hp2621a \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key hp2621a \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key hp2621a \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key hp2621a \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key hp2621a \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key hp2621a \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key hp2621a \5422 \{8}	; Ctrl-Gray-Delete
set terminal key hp2621a \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key hp2621a \6434 \Kdos	; Alt-Gray-PageDown
set terminal key hp2621a \6435 \Kprintff	; Alt-Gray-End
set terminal key hp2621a \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key hp2621a \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key hp2621a \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key hp2621a \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key hp2621a \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key hp2621a \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key hp2621a \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key hp2621a \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key hp2621a \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key hp2621a \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key hp2621a \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key hp2621a \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY hpterm
set terminal key hpterm \16 \Kignore	; DLE
set terminal key hpterm \17 \Kignore	; DC1
set terminal key hpterm \18 \Kignore	; DC2
set terminal key hpterm \264 \{8}	; Backspace
set terminal key hpterm \265 \{9}	; Tab
set terminal key hpterm \269 \Khpreturn	; Enter
set terminal key hpterm \276 \Kignore	; CapsLock
set terminal key hpterm \290 \Kdnscn	; PageDown
set terminal key hpterm \291 \Kendscn	; End
set terminal key hpterm \292 \Khomscn	; Home
set terminal key hpterm \293 \Klfarr	; LeftArrow
set terminal key hpterm \294 \Kuparr	; UpArrow
set terminal key hpterm \295 \Krtarr	; RightArrow
set terminal key hpterm \296 \Kdnarr	; DownArrow
set terminal key hpterm \302 \{127}	; Delete
set terminal key hpterm \352 \{48}	; Keypad-0
set terminal key hpterm \353 \{49}	; Keypad-1
set terminal key hpterm \354 \{50}	; Keypad-2
set terminal key hpterm \355 \{51}	; Keypad-3
set terminal key hpterm \356 \{52}	; Keypad-4
set terminal key hpterm \357 \{53}	; Keypad-5
set terminal key hpterm \358 \{54}	; Keypad-6
set terminal key hpterm \359 \{55}	; Keypad-7
set terminal key hpterm \360 \{56}	; Keypad-8
set terminal key hpterm \361 \{57}	; Keypad-9
set terminal key hpterm \362 \{42}	; Multiply
set terminal key hpterm \363 \{43}	; Add
set terminal key hpterm \364 \{47}	; Separator
set terminal key hpterm \365 \{45}	; Subtract
set terminal key hpterm \366 \{46}	; Decimal
set terminal key hpterm \368 \Khpf01	; F1
set terminal key hpterm \369 \Khpf02	; F2
set terminal key hpterm \370 \Khpf03	; F3
set terminal key hpterm \371 \Khpf04	; F4
set terminal key hpterm \372 \Khpf05	; F5
set terminal key hpterm \373 \Khpf06	; F6
set terminal key hpterm \374 \Khpf07	; F7
set terminal key hpterm \375 \Khpf08	; F8
set terminal key hpterm \376 \Khpf09	; F9
set terminal key hpterm \377 \Khpf10	; F10
set terminal key hpterm \378 \Khpf11	; F11
set terminal key hpterm \379 \Khpf12	; F12
set terminal key hpterm \400 \Kignore	; NumLock
set terminal key hpterm \401 \Kholdscrn	; ScrollLock
set terminal key hpterm \539 \{27}	; Shift-ESC
set terminal key hpterm \776 \{127}	; Shift-Backspace
set terminal key hpterm \777 \Khpbacktab	; Shift-Tab
set terminal key hpterm \880 \Khpf09	; Shift-F1
set terminal key hpterm \881 \Khpf10	; Shift-F2
set terminal key hpterm \882 \Khpf11	; Shift-F3
set terminal key hpterm \883 \Khpf12	; Shift-F4
set terminal key hpterm \884 \Khpf13	; Shift-F5
set terminal key hpterm \885 \Khpf14	; Shift-F6
set terminal key hpterm \886 \Khpf15	; Shift-F7
set terminal key hpterm \887 \Khpf16	; Shift-F8
set terminal key hpterm \912 \Kignore	; Shift-NumLock
set terminal key hpterm \1056 \Knull	; SP
set terminal key hpterm \1326 \{8}	; Ctrl-Delete
set terminal key hpterm \1330 \Knull	; Ctrl-2
set terminal key hpterm \1334 \{30}	; Ctrl-6
set terminal key hpterm \1392 \Kmarkstart	; Ctrl-F1
set terminal key hpterm \1393 \Kmarkcancel	; Ctrl-F2
set terminal key hpterm \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key hpterm \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key hpterm \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key hpterm \1842 \Knull	; Ctrl-Shift-2
set terminal key hpterm \1846 \{30}	; Ctrl-Shift-6
set terminal key hpterm \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key hpterm \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key hpterm \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key hpterm \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key hpterm \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key hpterm \2109 \Kreset	; Alt-=
set terminal key hpterm \2114 \Kbreak	; Alt-B
set terminal key hpterm \2115 \Kcompose	; Alt-C
set terminal key hpterm \2116 \Kdebug	; Alt-D
set terminal key hpterm \2117 \Kprintff	; Alt-E
set terminal key hpterm \2118 \Kfnkeys	; Alt-F
set terminal key hpterm \2120 \Khelp	; Alt-H
set terminal key hpterm \2123 \Kkeyclick	; Alt-K
set terminal key hpterm \2124 \Klbreak	; Alt-L
set terminal key hpterm \2126 \Kucs2	; Alt-N
set terminal key hpterm \2127 \Kprtauto	; Alt-O
set terminal key hpterm \2128 \Kdump	; Alt-P
set terminal key hpterm \2129 \Kquit	; Alt-Q
set terminal key hpterm \2130 \Kreset	; Alt-R
set terminal key hpterm \2131 \Kstatus	; Alt-S
set terminal key hpterm \2132 \Ktermtype	; Alt-T
set terminal key hpterm \2133 \Khangup	; Alt-U
set terminal key hpterm \2134 \Kflipscn	; Alt-V
set terminal key hpterm \2136 \Kexit	; Alt-X
set terminal key hpterm \2146 \Kbreak	; Alt-b
set terminal key hpterm \2147 \Kcompose	; Alt-c
set terminal key hpterm \2148 \Kdebug	; Alt-d
set terminal key hpterm \2149 \Kprintff	; Alt-e
set terminal key hpterm \2150 \Kfnkeys	; Alt-f
set terminal key hpterm \2152 \Khelp	; Alt-h
set terminal key hpterm \2155 \Kkeyclick	; Alt-k
set terminal key hpterm \2156 \Klbreak	; Alt-l
set terminal key hpterm \2158 \Kucs2	; Alt-n
set terminal key hpterm \2159 \Kprtauto	; Alt-o
set terminal key hpterm \2160 \Kdump	; Alt-p
set terminal key hpterm \2161 \Kquit	; Alt-q
set terminal key hpterm \2162 \Kreset	; Alt-r
set terminal key hpterm \2163 \Kstatus	; Alt-s
set terminal key hpterm \2164 \Ktermtype	; Alt-t
set terminal key hpterm \2165 \Khangup	; Alt-u
set terminal key hpterm \2166 \Kflipscn	; Alt-v
set terminal key hpterm \2168 \Kexit	; Alt-x
set terminal key hpterm \2312 \{8}	; Alt-Backspace
set terminal key hpterm \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key hpterm \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key hpterm \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key hpterm \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key hpterm \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key hpterm \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key hpterm \4365 \Khpenter	; Gray-Enter
set terminal key hpterm \4385 \Kupscn	; Gray-PageUp
set terminal key hpterm \4386 \Kdnscn	; Gray-PageDown
set terminal key hpterm \4387 \Kendscn	; Gray-End
set terminal key hpterm \4388 \Khomscn	; Gray-Home
set terminal key hpterm \4389 \Klfarr	; Gray-LeftArrow
set terminal key hpterm \4390 \Kuparr	; Gray-UpArrow
set terminal key hpterm \4391 \Krtarr	; Gray-RightArrow
set terminal key hpterm \4392 \Kdnarr	; Gray-DownArrow
set terminal key hpterm \4398 \{127}	; Gray-Delete
set terminal key hpterm \4443 \Kignore	; Gray-LeftMSWindows
set terminal key hpterm \4444 \Kignore	; Gray-RightMSWindows
set terminal key hpterm \4445 \Kignore	; Gray-TaskList
set terminal key hpterm \4458 \Kdump	; Gray-Multiply
set terminal key hpterm \4463 \{47}	; Gray-Divide
set terminal key hpterm \4496 \Kignore	; Gray-NumLock
set terminal key hpterm \4514 \Kignore	; Gray-162
set terminal key hpterm \4516 \Kignore	; Gray-164
set terminal key hpterm \4543 \{47}	; Gray-OEM.US.Slash
set terminal key hpterm \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key hpterm \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key hpterm \4909 \Kpaste	; Shift-Gray-Insert
set terminal key hpterm \4910 \{127}	; Shift-Gray-Delete
set terminal key hpterm \4970 \Kignore	; Shift-Gray-Multiply
set terminal key hpterm \5008 \Kignore	; Shift-Gray-NumLock
set terminal key hpterm \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key hpterm \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key hpterm \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key hpterm \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key hpterm \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key hpterm \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key hpterm \5422 \{8}	; Ctrl-Gray-Delete
set terminal key hpterm \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key hpterm \6434 \Kdos	; Alt-Gray-PageDown
set terminal key hpterm \6435 \Kprintff	; Alt-Gray-End
set terminal key hpterm \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key hpterm \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key hpterm \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key hpterm \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key hpterm \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key hpterm \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key hpterm \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key hpterm \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key hpterm \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key hpterm \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key hpterm \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key hpterm \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY hz1500
set terminal key hz1500 \16 \Kignore	; DLE
set terminal key hz1500 \17 \Kignore	; DC1
set terminal key hz1500 \18 \Kignore	; DC2
set terminal key hz1500 \264 \{8}	; Backspace
set terminal key hz1500 \265 \{9}	; Tab
set terminal key hz1500 \269 \{13}	; Enter
set terminal key hz1500 \276 \Kignore	; CapsLock
set terminal key hz1500 \290 \Kdnscn	; PageDown
set terminal key hz1500 \291 \Kendscn	; End
set terminal key hz1500 \292 \Khomscn	; Home
set terminal key hz1500 \293 \Klfarr	; LeftArrow
set terminal key hz1500 \294 \Kuparr	; UpArrow
set terminal key hz1500 \295 \Krtarr	; RightArrow
set terminal key hz1500 \296 \Kdnarr	; DownArrow
set terminal key hz1500 \301 \{4}	; Insert
set terminal key hz1500 \302 \{127}	; Delete
set terminal key hz1500 \352 \{48}	; Keypad-0
set terminal key hz1500 \353 \{49}	; Keypad-1
set terminal key hz1500 \354 \{50}	; Keypad-2
set terminal key hz1500 \355 \{51}	; Keypad-3
set terminal key hz1500 \356 \{52}	; Keypad-4
set terminal key hz1500 \357 \{53}	; Keypad-5
set terminal key hz1500 \358 \{54}	; Keypad-6
set terminal key hz1500 \359 \{55}	; Keypad-7
set terminal key hz1500 \360 \{56}	; Keypad-8
set terminal key hz1500 \361 \{57}	; Keypad-9
set terminal key hz1500 \362 \{42}	; Multiply
set terminal key hz1500 \363 \{43}	; Add
set terminal key hz1500 \364 \{47}	; Separator
set terminal key hz1500 \365 \{45}	; Subtract
set terminal key hz1500 \366 \{46}	; Decimal
set terminal key hz1500 \368 \{1}	; F1
set terminal key hz1500 \369 \{2}	; F2
set terminal key hz1500 \370 \{3}	; F3
set terminal key hz1500 \371 \{4}	; F4
set terminal key hz1500 \372 \{5}	; F5
set terminal key hz1500 \373 \{6}	; F6
set terminal key hz1500 \374 \{18}	; F7
set terminal key hz1500 \375 \{20}	; F8
set terminal key hz1500 \376 \{28}	; F9
set terminal key hz1500 \377 \{29}	; F10
set terminal key hz1500 \378 \{30}	; F11
set terminal key hz1500 \379 \{31}	; F12
set terminal key hz1500 \400 \Kignore	; NumLock
set terminal key hz1500 \401 \Kholdscrn	; ScrollLock
set terminal key hz1500 \539 \{27}	; Shift-ESC
set terminal key hz1500 \776 \{127}	; Shift-Backspace
set terminal key hz1500 /literal \777 ~\{9}	; Shift-Tab
set terminal key hz1500 \912 \Kignore	; Shift-NumLock
set terminal key hz1500 \1056 \Knull	; SP
set terminal key hz1500 \1326 \{8}	; Ctrl-Delete
set terminal key hz1500 \1330 \Knull	; Ctrl-2
set terminal key hz1500 \1334 \{30}	; Ctrl-6
set terminal key hz1500 \1392 \Kmarkstart	; Ctrl-F1
set terminal key hz1500 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key hz1500 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key hz1500 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key hz1500 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key hz1500 \1842 \Knull	; Ctrl-Shift-2
set terminal key hz1500 \1846 \{30}	; Ctrl-Shift-6
set terminal key hz1500 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key hz1500 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key hz1500 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key hz1500 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key hz1500 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key hz1500 \2109 \Kreset	; Alt-=
set terminal key hz1500 \2114 \Kbreak	; Alt-B
set terminal key hz1500 \2115 \Kcompose	; Alt-C
set terminal key hz1500 \2116 \Kdebug	; Alt-D
set terminal key hz1500 \2117 \Kprintff	; Alt-E
set terminal key hz1500 \2118 \Kfnkeys	; Alt-F
set terminal key hz1500 \2120 \Khelp	; Alt-H
set terminal key hz1500 \2123 \Kkeyclick	; Alt-K
set terminal key hz1500 \2124 \Klbreak	; Alt-L
set terminal key hz1500 \2126 \Kucs2	; Alt-N
set terminal key hz1500 \2127 \Kprtauto	; Alt-O
set terminal key hz1500 \2128 \Kdump	; Alt-P
set terminal key hz1500 \2129 \Kquit	; Alt-Q
set terminal key hz1500 \2130 \Kreset	; Alt-R
set terminal key hz1500 \2131 \Kstatus	; Alt-S
set terminal key hz1500 \2132 \Ktermtype	; Alt-T
set terminal key hz1500 \2133 \Khangup	; Alt-U
set terminal key hz1500 \2134 \Kflipscn	; Alt-V
set terminal key hz1500 \2136 \Kexit	; Alt-X
set terminal key hz1500 \2146 \Kbreak	; Alt-b
set terminal key hz1500 \2147 \Kcompose	; Alt-c
set terminal key hz1500 \2148 \Kdebug	; Alt-d
set terminal key hz1500 \2149 \Kprintff	; Alt-e
set terminal key hz1500 \2150 \Kfnkeys	; Alt-f
set terminal key hz1500 \2152 \Khelp	; Alt-h
set terminal key hz1500 \2155 \Kkeyclick	; Alt-k
set terminal key hz1500 \2156 \Klbreak	; Alt-l
set terminal key hz1500 \2158 \Kucs2	; Alt-n
set terminal key hz1500 \2159 \Kprtauto	; Alt-o
set terminal key hz1500 \2160 \Kdump	; Alt-p
set terminal key hz1500 \2161 \Kquit	; Alt-q
set terminal key hz1500 \2162 \Kreset	; Alt-r
set terminal key hz1500 \2163 \Kstatus	; Alt-s
set terminal key hz1500 \2164 \Ktermtype	; Alt-t
set terminal key hz1500 \2165 \Khangup	; Alt-u
set terminal key hz1500 \2166 \Kflipscn	; Alt-v
set terminal key hz1500 \2168 \Kexit	; Alt-x
set terminal key hz1500 \2312 \{8}	; Alt-Backspace
set terminal key hz1500 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key hz1500 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key hz1500 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key hz1500 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key hz1500 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key hz1500 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key hz1500 \4365 \{13}	; Gray-Enter
set terminal key hz1500 \4385 \{5}	; Gray-PageUp
set terminal key hz1500 \4386 \{1}	; Gray-PageDown
set terminal key hz1500 /literal \4387 ~\{15}	; Gray-End
set terminal key hz1500 /literal \4388 ~\{18}	; Gray-Home
set terminal key hz1500 \4389 \Klfarr	; Gray-LeftArrow
set terminal key hz1500 \4390 \Kuparr	; Gray-UpArrow
set terminal key hz1500 \4391 \Krtarr	; Gray-RightArrow
set terminal key hz1500 \4392 \Kdnarr	; Gray-DownArrow
set terminal key hz1500 \4397 \{21}	; Gray-Insert
set terminal key hz1500 \4398 \{2}	; Gray-Delete
set terminal key hz1500 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key hz1500 \4444 \Kignore	; Gray-RightMSWindows
set terminal key hz1500 \4445 \Kignore	; Gray-TaskList
set terminal key hz1500 \4458 \Kdump	; Gray-Multiply
set terminal key hz1500 \4463 \{47}	; Gray-Divide
set terminal key hz1500 \4496 \Kignore	; Gray-NumLock
set terminal key hz1500 \4514 \Kignore	; Gray-162
set terminal key hz1500 \4516 \Kignore	; Gray-164
set terminal key hz1500 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key hz1500 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key hz1500 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key hz1500 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key hz1500 \4910 \{127}	; Shift-Gray-Delete
set terminal key hz1500 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key hz1500 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key hz1500 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key hz1500 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key hz1500 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key hz1500 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key hz1500 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key hz1500 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key hz1500 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key hz1500 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key hz1500 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key hz1500 \6435 \Kprintff	; Alt-Gray-End
set terminal key hz1500 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key hz1500 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key hz1500 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key hz1500 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key hz1500 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key hz1500 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key hz1500 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key hz1500 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key hz1500 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key hz1500 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key hz1500 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key hz1500 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY ibm3151
set terminal key ibm3151 \16 \Kignore	; DLE
set terminal key ibm3151 \17 \Kignore	; DC1
set terminal key ibm3151 \18 \Kignore	; DC2
set terminal key ibm3151 \264 \{127}	; Backspace
set terminal key ibm3151 \269 \{13}	; Enter
set terminal key ibm3151 \276 \Kignore	; CapsLock
set terminal key ibm3151 \290 \Kdnscn	; PageDown
set terminal key ibm3151 \291 \Kendscn	; End
set terminal key ibm3151 \292 \Khomscn	; Home
set terminal key ibm3151 \293 \Klfarr	; LeftArrow
set terminal key ibm3151 \294 \Kuparr	; UpArrow
set terminal key ibm3151 \295 \Krtarr	; RightArrow
set terminal key ibm3151 \296 \Kdnarr	; DownArrow
set terminal key ibm3151 \302 \{127}	; Delete
set terminal key ibm3151 \352 \{48}	; Keypad-0
set terminal key ibm3151 \353 \{49}	; Keypad-1
set terminal key ibm3151 \354 \{50}	; Keypad-2
set terminal key ibm3151 \355 \{51}	; Keypad-3
set terminal key ibm3151 \356 \{52}	; Keypad-4
set terminal key ibm3151 \357 \{53}	; Keypad-5
set terminal key ibm3151 \358 \{54}	; Keypad-6
set terminal key ibm3151 \359 \{55}	; Keypad-7
set terminal key ibm3151 \360 \{56}	; Keypad-8
set terminal key ibm3151 \361 \{57}	; Keypad-9
set terminal key ibm3151 \362 \{42}	; Multiply
set terminal key ibm3151 \363 \{43}	; Add
set terminal key ibm3151 \364 \{47}	; Separator
set terminal key ibm3151 \365 \{45}	; Subtract
set terminal key ibm3151 \366 \{46}	; Decimal
set terminal key ibm3151 \368 \Ki31_f01	; F1
set terminal key ibm3151 \369 \Ki31_f02	; F2
set terminal key ibm3151 \370 \Ki31_f03	; F3
set terminal key ibm3151 \371 \Ki31_f04	; F4
set terminal key ibm3151 \372 \Ki31_f05	; F5
set terminal key ibm3151 \373 \Ki31_f06	; F6
set terminal key ibm3151 \374 \Ki31_f07	; F7
set terminal key ibm3151 \375 \Ki31_f08	; F8
set terminal key ibm3151 \376 \Ki31_f09	; F9
set terminal key ibm3151 \377 \Ki31_f10	; F10
set terminal key ibm3151 \378 \Ki31_f11	; F11
set terminal key ibm3151 \379 \Ki31_f12	; F12
set terminal key ibm3151 \400 \Kignore	; NumLock
set terminal key ibm3151 \401 \Kholdscrn	; ScrollLock
set terminal key ibm3151 \539 \{27}	; Shift-ESC
set terminal key ibm3151 \776 \{127}	; Shift-Backspace
set terminal key ibm3151 \777 \{8}	; Shift-Tab
set terminal key ibm3151 \912 \Kignore	; Shift-NumLock
set terminal key ibm3151 \1056 \Knull	; SP
set terminal key ibm3151 \1326 \{8}	; Ctrl-Delete
set terminal key ibm3151 \1330 \Knull	; Ctrl-2
set terminal key ibm3151 \1334 \{30}	; Ctrl-6
set terminal key ibm3151 \1392 \Kmarkstart	; Ctrl-F1
set terminal key ibm3151 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key ibm3151 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key ibm3151 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key ibm3151 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key ibm3151 \1842 \Knull	; Ctrl-Shift-2
set terminal key ibm3151 \1846 \{30}	; Ctrl-Shift-6
set terminal key ibm3151 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key ibm3151 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key ibm3151 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key ibm3151 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key ibm3151 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key ibm3151 \2097 \Ki31_pa1	; Alt-1
set terminal key ibm3151 \2098 \Ki31_pa2	; Alt-2
set terminal key ibm3151 \2099 \Ki31_pa3	; Alt-3
set terminal key ibm3151 \2109 \Kreset	; Alt-=
set terminal key ibm3151 \2114 \Kbreak	; Alt-B
set terminal key ibm3151 \2115 \Kcompose	; Alt-C
set terminal key ibm3151 \2116 \Kdebug	; Alt-D
set terminal key ibm3151 \2117 \Kprintff	; Alt-E
set terminal key ibm3151 \2118 \Kfnkeys	; Alt-F
set terminal key ibm3151 \2120 \Khelp	; Alt-H
set terminal key ibm3151 \2123 \Kkeyclick	; Alt-K
set terminal key ibm3151 \2124 \Klbreak	; Alt-L
set terminal key ibm3151 \2126 \Kucs2	; Alt-N
set terminal key ibm3151 \2127 \Kprtauto	; Alt-O
set terminal key ibm3151 \2128 \Kdump	; Alt-P
set terminal key ibm3151 \2129 \Kquit	; Alt-Q
set terminal key ibm3151 \2130 \Kreset	; Alt-R
set terminal key ibm3151 \2131 \Kstatus	; Alt-S
set terminal key ibm3151 \2132 \Ktermtype	; Alt-T
set terminal key ibm3151 \2133 \Khangup	; Alt-U
set terminal key ibm3151 \2134 \Kflipscn	; Alt-V
set terminal key ibm3151 \2136 \Kexit	; Alt-X
set terminal key ibm3151 \2146 \Kbreak	; Alt-b
set terminal key ibm3151 \2147 \Kcompose	; Alt-c
set terminal key ibm3151 \2148 \Kdebug	; Alt-d
set terminal key ibm3151 \2149 \Kprintff	; Alt-e
set terminal key ibm3151 \2150 \Kfnkeys	; Alt-f
set terminal key ibm3151 \2152 \Khelp	; Alt-h
set terminal key ibm3151 \2155 \Kkeyclick	; Alt-k
set terminal key ibm3151 \2156 \Klbreak	; Alt-l
set terminal key ibm3151 \2158 \Kucs2	; Alt-n
set terminal key ibm3151 \2159 \Kprtauto	; Alt-o
set terminal key ibm3151 \2160 \Kdump	; Alt-p
set terminal key ibm3151 \2161 \Kquit	; Alt-q
set terminal key ibm3151 \2162 \Kreset	; Alt-r
set terminal key ibm3151 \2163 \Kstatus	; Alt-s
set terminal key ibm3151 \2164 \Ktermtype	; Alt-t
set terminal key ibm3151 \2165 \Khangup	; Alt-u
set terminal key ibm3151 \2166 \Kflipscn	; Alt-v
set terminal key ibm3151 \2168 \Kexit	; Alt-x
set terminal key ibm3151 \2312 \{8}	; Alt-Backspace
set terminal key ibm3151 \2416 \Ki31_f13	; Alt-F1
set terminal key ibm3151 \2417 \Ki31_f14	; Alt-F2
set terminal key ibm3151 \2418 \Ki31_f15	; Alt-F3
set terminal key ibm3151 \2419 \Ki31_f16	; Alt-F4
set terminal key ibm3151 \2420 \Ki31_f17	; Alt-F5
set terminal key ibm3151 \2421 \Ki31_f18	; Alt-F6
set terminal key ibm3151 \2422 \Ki31_f19	; Alt-F7
set terminal key ibm3151 \2423 \Ki31_f20	; Alt-F8
set terminal key ibm3151 \2424 \Ki31_f11	; Alt-F9
set terminal key ibm3151 \2425 \Ki31_f22	; Alt-F10
set terminal key ibm3151 \2426 \Ki31_f23	; Alt-F11
set terminal key ibm3151 \2427 \Ki31_f24	; Alt-F12
set terminal key ibm3151 \2928 \Ki31_f25	; Alt-Shift-F1
set terminal key ibm3151 \2929 \Ki31_f26	; Alt-Shift-F2
set terminal key ibm3151 \2930 \Ki31_f27	; Alt-Shift-F3
set terminal key ibm3151 \2931 \Ki31_f28	; Alt-Shift-F4
set terminal key ibm3151 \2932 \Ki31_f29	; Alt-Shift-F5
set terminal key ibm3151 \2933 \Ki31_f30	; Alt-Shift-F6
set terminal key ibm3151 \2934 \Ki31_f31	; Alt-Shift-F7
set terminal key ibm3151 \2935 \Ki31_f32	; Alt-Shift-F8
set terminal key ibm3151 \2936 \Ki31_f33	; Alt-Shift-F9
set terminal key ibm3151 \2937 \Ki31_f34	; Alt-Shift-F10
set terminal key ibm3151 \2938 \Ki31_f35	; Alt-Shift-F11
set terminal key ibm3151 \2939 \Ki31_f36	; Alt-Shift-F12
set terminal key ibm3151 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key ibm3151 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key ibm3151 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key ibm3151 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key ibm3151 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key ibm3151 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key ibm3151 \4365 \{13}	; Gray-Enter
set terminal key ibm3151 \4385 \Kupscn	; Gray-PageUp
set terminal key ibm3151 \4386 \Kdnscn	; Gray-PageDown
set terminal key ibm3151 \4387 \Kendscn	; Gray-End
set terminal key ibm3151 \4388 \Khomscn	; Gray-Home
set terminal key ibm3151 \4389 \Klfarr	; Gray-LeftArrow
set terminal key ibm3151 \4390 \Kuparr	; Gray-UpArrow
set terminal key ibm3151 \4391 \Krtarr	; Gray-RightArrow
set terminal key ibm3151 \4392 \Kdnarr	; Gray-DownArrow
set terminal key ibm3151 \4398 \{127}	; Gray-Delete
set terminal key ibm3151 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key ibm3151 \4444 \Kignore	; Gray-RightMSWindows
set terminal key ibm3151 \4445 \Kignore	; Gray-TaskList
set terminal key ibm3151 \4458 \Kdump	; Gray-Multiply
set terminal key ibm3151 \4463 \{47}	; Gray-Divide
set terminal key ibm3151 \4496 \Kignore	; Gray-NumLock
set terminal key ibm3151 \4514 \Kignore	; Gray-162
set terminal key ibm3151 \4516 \Kignore	; Gray-164
set terminal key ibm3151 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key ibm3151 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key ibm3151 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key ibm3151 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key ibm3151 \4910 \{127}	; Shift-Gray-Delete
set terminal key ibm3151 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key ibm3151 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key ibm3151 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key ibm3151 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key ibm3151 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key ibm3151 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key ibm3151 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key ibm3151 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key ibm3151 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key ibm3151 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key ibm3151 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key ibm3151 \6435 \Kprintff	; Alt-Gray-End
set terminal key ibm3151 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key ibm3151 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key ibm3151 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key ibm3151 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key ibm3151 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key ibm3151 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key ibm3151 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key ibm3151 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key ibm3151 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key ibm3151 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key ibm3151 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key ibm3151 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY linux
set terminal key linux \16 \Kignore	; DLE
set terminal key linux \17 \Kignore	; DC1
set terminal key linux \18 \Kignore	; DC2
set terminal key linux \264 \{8}	; Backspace
set terminal key linux \268 \Kansif54	; Clear
set terminal key linux \269 \{13}	; Enter
set terminal key linux \276 \Kignore	; CapsLock
set terminal key linux \289 \Kansif51	; PageUp
set terminal key linux \290 \Kansif59	; PageDown
set terminal key linux \291 \Kansif57	; End
set terminal key linux \292 \Kansif49	; Home
set terminal key linux \293 \Kansif53	; LeftArrow
set terminal key linux \294 \Kansif50	; UpArrow
set terminal key linux \295 \Kansif55	; RightArrow
set terminal key linux \296 \Kansif58	; DownArrow
set terminal key linux \301 \Kansif60	; Insert
set terminal key linux \302 \Kansif61	; Delete
set terminal key linux \352 \{48}	; Keypad-0
set terminal key linux \353 \{49}	; Keypad-1
set terminal key linux \354 \{50}	; Keypad-2
set terminal key linux \355 \{51}	; Keypad-3
set terminal key linux \356 \{52}	; Keypad-4
set terminal key linux \357 \{53}	; Keypad-5
set terminal key linux \358 \{54}	; Keypad-6
set terminal key linux \359 \{55}	; Keypad-7
set terminal key linux \360 \{56}	; Keypad-8
set terminal key linux \361 \{57}	; Keypad-9
set terminal key linux \362 \{42}	; Multiply
set terminal key linux \363 \{43}	; Add
set terminal key linux \364 \{47}	; Separator
set terminal key linux \365 \{45}	; Subtract
set terminal key linux \366 \{46}	; Decimal
set terminal key linux \368 \Kansif01	; F1
set terminal key linux \369 \Kansif02	; F2
set terminal key linux \370 \Kansif03	; F3
set terminal key linux \371 \Kansif04	; F4
set terminal key linux \372 \Kansif05	; F5
set terminal key linux \373 \Kansif06	; F6
set terminal key linux \374 \Kansif07	; F7
set terminal key linux \375 \Kansif08	; F8
set terminal key linux \376 \Kansif09	; F9
set terminal key linux \377 \Kansif10	; F10
set terminal key linux \378 \Kansif11	; F11
set terminal key linux \379 \Kansif12	; F12
set terminal key linux \400 \Kignore	; NumLock
set terminal key linux \401 \Kholdscrn	; ScrollLock
set terminal key linux \539 \{27}	; Shift-ESC
set terminal key linux \776 \{127}	; Shift-Backspace
set terminal key linux /literal \777 \{27}[Z	; Shift-Tab
set terminal key linux \875 \Kansif56	; Shift-Add
set terminal key linux \877 \Kansif52	; Shift-Subtract
set terminal key linux \880 \Kansif13	; Shift-F1
set terminal key linux \881 \Kansif14	; Shift-F2
set terminal key linux \882 \Kansif15	; Shift-F3
set terminal key linux \883 \Kansif16	; Shift-F4
set terminal key linux \884 \Kansif17	; Shift-F5
set terminal key linux \885 \Kansif18	; Shift-F6
set terminal key linux \886 \Kansif19	; Shift-F7
set terminal key linux \887 \Kansif20	; Shift-F8
set terminal key linux \888 \Kansif21	; Shift-F9
set terminal key linux \889 \Kansif22	; Shift-F10
set terminal key linux \890 \Kansif23	; Shift-F11
set terminal key linux \891 \Kansif24	; Shift-F12
set terminal key linux \912 \Kignore	; Shift-NumLock
set terminal key linux \1056 \Knull	; SP
set terminal key linux \1326 \{8}	; Ctrl-Delete
set terminal key linux \1330 \Knull	; Ctrl-2
set terminal key linux \1334 \{30}	; Ctrl-6
set terminal key linux \1392 \Kansif25	; Ctrl-F1
set terminal key linux \1393 \Kansif26	; Ctrl-F2
set terminal key linux \1394 \Kansif27	; Ctrl-F3
set terminal key linux \1395 \Kansif28	; Ctrl-F4
set terminal key linux \1396 \Kansif29	; Ctrl-F5
set terminal key linux \1397 \Kansif30	; Ctrl-F6
set terminal key linux \1398 \Kansif31	; Ctrl-F7
set terminal key linux \1399 \Kansif32	; Ctrl-F8
set terminal key linux \1400 \Kansif33	; Ctrl-F9
set terminal key linux \1401 \Kansif34	; Ctrl-F10
set terminal key linux \1402 \Kansif35	; Ctrl-F11
set terminal key linux \1403 \Kansif36	; Ctrl-F12
set terminal key linux \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key linux \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key linux \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key linux \1842 \Knull	; Ctrl-Shift-2
set terminal key linux \1846 \{30}	; Ctrl-Shift-6
set terminal key linux \1899 \Kansif56	; Ctrl-Shift-Add
set terminal key linux \1901 \Kansif52	; Ctrl-Shift-Subtract
set terminal key linux \1904 \Kansif37	; Ctrl-Shift-F1
set terminal key linux \1905 \Kansif38	; Ctrl-Shift-F2
set terminal key linux \1906 \Kansif39	; Ctrl-Shift-F3
set terminal key linux \1907 \Kansif40	; Ctrl-Shift-F4
set terminal key linux \1908 \Kansif41	; Ctrl-Shift-F5
set terminal key linux \1909 \Kansif42	; Ctrl-Shift-F6
set terminal key linux \1910 \Kansif43	; Ctrl-Shift-F7
set terminal key linux \1911 \Kansif44	; Ctrl-Shift-F8
set terminal key linux \1912 \Kansif45	; Ctrl-Shift-F9
set terminal key linux \1913 \Kansif46	; Ctrl-Shift-F10
set terminal key linux \1914 \Kansif47	; Ctrl-Shift-F11
set terminal key linux \1915 \Kansif48	; Ctrl-Shift-F12
set terminal key linux \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key linux \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key linux \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key linux \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key linux \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key linux \2109 \Kreset	; Alt-=
set terminal key linux \2114 \Kbreak	; Alt-B
set terminal key linux \2115 \Kcompose	; Alt-C
set terminal key linux \2116 \Kdebug	; Alt-D
set terminal key linux \2117 \Kprintff	; Alt-E
set terminal key linux \2118 \Kfnkeys	; Alt-F
set terminal key linux \2120 \Khelp	; Alt-H
set terminal key linux \2123 \Kkeyclick	; Alt-K
set terminal key linux \2124 \Klbreak	; Alt-L
set terminal key linux \2126 \Kucs2	; Alt-N
set terminal key linux \2127 \Kprtauto	; Alt-O
set terminal key linux \2128 \Kdump	; Alt-P
set terminal key linux \2129 \Kquit	; Alt-Q
set terminal key linux \2130 \Kreset	; Alt-R
set terminal key linux \2131 \Kstatus	; Alt-S
set terminal key linux \2132 \Ktermtype	; Alt-T
set terminal key linux \2133 \Khangup	; Alt-U
set terminal key linux \2134 \Kflipscn	; Alt-V
set terminal key linux \2136 \Kexit	; Alt-X
set terminal key linux \2146 \Kbreak	; Alt-b
set terminal key linux \2147 \Kcompose	; Alt-c
set terminal key linux \2148 \Kdebug	; Alt-d
set terminal key linux \2149 \Kprintff	; Alt-e
set terminal key linux \2150 \Kfnkeys	; Alt-f
set terminal key linux \2152 \Khelp	; Alt-h
set terminal key linux \2155 \Kkeyclick	; Alt-k
set terminal key linux \2156 \Klbreak	; Alt-l
set terminal key linux \2158 \Kucs2	; Alt-n
set terminal key linux \2159 \Kprtauto	; Alt-o
set terminal key linux \2160 \Kdump	; Alt-p
set terminal key linux \2161 \Kquit	; Alt-q
set terminal key linux \2162 \Kreset	; Alt-r
set terminal key linux \2163 \Kstatus	; Alt-s
set terminal key linux \2164 \Ktermtype	; Alt-t
set terminal key linux \2165 \Khangup	; Alt-u
set terminal key linux \2166 \Kflipscn	; Alt-v
set terminal key linux \2168 \Kexit	; Alt-x
set terminal key linux \2312 \{8}	; Alt-Backspace
set terminal key linux \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key linux \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key linux \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key linux \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key linux \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key linux \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key linux \4365 \{13}	; Gray-Enter
set terminal key linux \4385 \Kansif51	; Gray-PageUp
set terminal key linux \4386 \Kansif59	; Gray-PageDown
set terminal key linux \4387 \Kansif57	; Gray-End
set terminal key linux \4388 \Kansif49	; Gray-Home
set terminal key linux \4389 \Kansif53	; Gray-LeftArrow
set terminal key linux \4390 \Kansif50	; Gray-UpArrow
set terminal key linux \4391 \Kansif55	; Gray-RightArrow
set terminal key linux \4392 \Kansif58	; Gray-DownArrow
set terminal key linux \4397 \Kansif60	; Gray-Insert
set terminal key linux \4398 \Kansif61	; Gray-Delete
set terminal key linux \4443 \Kignore	; Gray-LeftMSWindows
set terminal key linux \4444 \Kignore	; Gray-RightMSWindows
set terminal key linux \4445 \Kignore	; Gray-TaskList
set terminal key linux \4458 \Kdump	; Gray-Multiply
set terminal key linux \4463 \{47}	; Gray-Divide
set terminal key linux \4496 \Kignore	; Gray-NumLock
set terminal key linux \4514 \Kignore	; Gray-162
set terminal key linux \4516 \Kignore	; Gray-164
set terminal key linux \4543 \{47}	; Gray-OEM.US.Slash
set terminal key linux \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key linux \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key linux \4909 \Kpaste	; Shift-Gray-Insert
set terminal key linux \4910 \{127}	; Shift-Gray-Delete
set terminal key linux \4970 \Kignore	; Shift-Gray-Multiply
set terminal key linux \5008 \Kignore	; Shift-Gray-NumLock
set terminal key linux \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key linux \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key linux \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key linux \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key linux \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key linux \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key linux \5422 \{8}	; Ctrl-Gray-Delete
set terminal key linux \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key linux \6434 \Kdos	; Alt-Gray-PageDown
set terminal key linux \6435 \Kprintff	; Alt-Gray-End
set terminal key linux \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key linux \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key linux \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key linux \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key linux \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key linux \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key linux \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key linux \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key linux \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key linux \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key linux \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key linux \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY qansi
set terminal key qansi \16 \Kignore	; DLE
set terminal key qansi \17 \Kignore	; DC1
set terminal key qansi \18 \Kignore	; DC2
set terminal key qansi \264 \{127}	; Backspace
set terminal key qansi \269 \{13}	; Enter
set terminal key qansi \276 \Kignore	; CapsLock
set terminal key qansi /literal \289 \{27}[V	; PageUp
set terminal key qansi /literal \290 \{27}[U	; PageDown
set terminal key qansi \291 \Kendscn	; End
set terminal key qansi /literal \292 \{27}[H	; Home
set terminal key qansi \293 \Klfarr	; LeftArrow
set terminal key qansi \294 \Kuparr	; UpArrow
set terminal key qansi \295 \Krtarr	; RightArrow
set terminal key qansi \296 \Kdnarr	; DownArrow
set terminal key qansi /literal \301 \{27}[@	; Insert
set terminal key qansi /literal \302 \{27}[P	; Delete
set terminal key qansi \352 \{48}	; Keypad-0
set terminal key qansi \353 \{49}	; Keypad-1
set terminal key qansi \354 \{50}	; Keypad-2
set terminal key qansi \355 \{51}	; Keypad-3
set terminal key qansi \356 \{52}	; Keypad-4
set terminal key qansi \357 \{53}	; Keypad-5
set terminal key qansi \358 \{54}	; Keypad-6
set terminal key qansi \359 \{55}	; Keypad-7
set terminal key qansi \360 \{56}	; Keypad-8
set terminal key qansi \361 \{57}	; Keypad-9
set terminal key qansi \362 \{42}	; Multiply
set terminal key qansi \363 \{43}	; Add
set terminal key qansi \364 \{47}	; Separator
set terminal key qansi \365 \{45}	; Subtract
set terminal key qansi \366 \{46}	; Decimal
set terminal key qansi /literal \368 \{27}OP	; F1
set terminal key qansi /literal \369 \{27}OQ	; F2
set terminal key qansi /literal \370 \{27}OR	; F3
set terminal key qansi /literal \371 \{27}OS	; F4
set terminal key qansi /literal \372 \{27}OT	; F5
set terminal key qansi /literal \373 \{27}OU	; F6
set terminal key qansi /literal \374 \{27}OV	; F7
set terminal key qansi /literal \375 \{27}OW	; F8
set terminal key qansi /literal \376 \{27}OX	; F9
set terminal key qansi /literal \377 \{27}OY	; F10
set terminal key qansi \400 \Kignore	; NumLock
set terminal key qansi \401 \Kholdscrn	; ScrollLock
set terminal key qansi \539 \{27}	; Shift-ESC
set terminal key qansi /literal \776 \{27}[Z	; Shift-Backspace
set terminal key qansi /literal \777 \{27}[Z	; Shift-Tab
set terminal key qansi \912 \Kignore	; Shift-NumLock
set terminal key qansi \1056 \Knull	; SP
set terminal key qansi /literal \1318 \{27}[a	; Ctrl-UpArrow
set terminal key qansi /literal \1320 \{27}[b	; Ctrl-DownArrow
set terminal key qansi \1326 \{8}	; Ctrl-Delete
set terminal key qansi \1330 \Knull	; Ctrl-2
set terminal key qansi \1334 \{30}	; Ctrl-6
set terminal key qansi \1392 \Kmarkstart	; Ctrl-F1
set terminal key qansi \1393 \Kmarkcancel	; Ctrl-F2
set terminal key qansi \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key qansi \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key qansi \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key qansi \1842 \Knull	; Ctrl-Shift-2
set terminal key qansi \1846 \{30}	; Ctrl-Shift-6
set terminal key qansi \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key qansi \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key qansi \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key qansi \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key qansi \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key qansi \2109 \Kreset	; Alt-=
set terminal key qansi \2114 \Kbreak	; Alt-B
set terminal key qansi \2115 \Kcompose	; Alt-C
set terminal key qansi \2116 \Kdebug	; Alt-D
set terminal key qansi \2117 \Kprintff	; Alt-E
set terminal key qansi \2118 \Kfnkeys	; Alt-F
set terminal key qansi \2120 \Khelp	; Alt-H
set terminal key qansi \2123 \Kkeyclick	; Alt-K
set terminal key qansi \2124 \Klbreak	; Alt-L
set terminal key qansi \2126 \Kucs2	; Alt-N
set terminal key qansi \2127 \Kprtauto	; Alt-O
set terminal key qansi \2128 \Kdump	; Alt-P
set terminal key qansi \2129 \Kquit	; Alt-Q
set terminal key qansi \2130 \Kreset	; Alt-R
set terminal key qansi \2131 \Kstatus	; Alt-S
set terminal key qansi \2132 \Ktermtype	; Alt-T
set terminal key qansi \2133 \Khangup	; Alt-U
set terminal key qansi \2134 \Kflipscn	; Alt-V
set terminal key qansi \2136 \Kexit	; Alt-X
set terminal key qansi /literal \2145 \{27}Na	; Alt-a
set terminal key qansi /literal \2146 \{27}Nb	; Alt-b
set terminal key qansi /literal \2147 \{27}Nc	; Alt-c
set terminal key qansi /literal \2148 \{27}Nd	; Alt-d
set terminal key qansi /literal \2149 \{27}Ne	; Alt-e
set terminal key qansi /literal \2150 \{27}Nf	; Alt-f
set terminal key qansi /literal \2151 \{27}Ng	; Alt-g
set terminal key qansi /literal \2152 \{27}Nh	; Alt-h
set terminal key qansi /literal \2153 \{27}Ni	; Alt-i
set terminal key qansi /literal \2154 \{27}Nj	; Alt-j
set terminal key qansi /literal \2155 \{27}Nk	; Alt-k
set terminal key qansi /literal \2156 \{27}Nl	; Alt-l
set terminal key qansi /literal \2157 \{27}Nm	; Alt-m
set terminal key qansi /literal \2158 \{27}Nn	; Alt-n
set terminal key qansi /literal \2159 \{27}No	; Alt-o
set terminal key qansi /literal \2160 \{27}Np	; Alt-p
set terminal key qansi /literal \2161 \{27}Nq	; Alt-q
set terminal key qansi /literal \2162 \{27}Nr	; Alt-r
set terminal key qansi /literal \2163 \{27}Ns	; Alt-s
set terminal key qansi /literal \2164 \{27}Nt	; Alt-t
set terminal key qansi /literal \2165 \{27}Nu	; Alt-u
set terminal key qansi /literal \2166 \{27}Nv	; Alt-v
set terminal key qansi /literal \2167 \{27}Nw	; Alt-w
set terminal key qansi /literal \2168 \{27}Nx	; Alt-x
set terminal key qansi /literal \2169 \{27}Ny	; Alt-y
set terminal key qansi /literal \2170 \{27}Nz	; Alt-z
set terminal key qansi \2312 \{8}	; Alt-Backspace
set terminal key qansi \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key qansi \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key qansi \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key qansi \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key qansi \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key qansi \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key qansi \4365 \{13}	; Gray-Enter
set terminal key qansi /literal \4385 \{27}[V	; Gray-PageUp
set terminal key qansi /literal \4386 \{27}[U	; Gray-PageDown
set terminal key qansi \4387 \Kendscn	; Gray-End
set terminal key qansi /literal \4388 \{27}[H	; Gray-Home
set terminal key qansi \4389 \Klfarr	; Gray-LeftArrow
set terminal key qansi \4390 \Kuparr	; Gray-UpArrow
set terminal key qansi \4391 \Krtarr	; Gray-RightArrow
set terminal key qansi \4392 \Kdnarr	; Gray-DownArrow
set terminal key qansi /literal \4397 \{27}[@	; Gray-Insert
set terminal key qansi /literal \4398 \{27}[P	; Gray-Delete
set terminal key qansi \4443 \Kignore	; Gray-LeftMSWindows
set terminal key qansi \4444 \Kignore	; Gray-RightMSWindows
set terminal key qansi \4445 \Kignore	; Gray-TaskList
set terminal key qansi \4458 \Kdump	; Gray-Multiply
set terminal key qansi \4463 \{47}	; Gray-Divide
set terminal key qansi \4496 \Kignore	; Gray-NumLock
set terminal key qansi \4514 \Kignore	; Gray-162
set terminal key qansi \4516 \Kignore	; Gray-164
set terminal key qansi \4543 \{47}	; Gray-OEM.US.Slash
set terminal key qansi \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key qansi \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key qansi \4909 \Kpaste	; Shift-Gray-Insert
set terminal key qansi \4910 \{127}	; Shift-Gray-Delete
set terminal key qansi \4970 \Kignore	; Shift-Gray-Multiply
set terminal key qansi \5008 \Kignore	; Shift-Gray-NumLock
set terminal key qansi \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key qansi \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key qansi \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key qansi /literal \5414 \{27}[a	; Ctrl-Gray-UpArrow
set terminal key qansi \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key qansi /literal \5416 \{27}[b	; Ctrl-Gray-DownArrow
set terminal key qansi \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key qansi \5422 \{8}	; Ctrl-Gray-Delete
set terminal key qansi \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key qansi \6434 \Kdos	; Alt-Gray-PageDown
set terminal key qansi \6435 \Kprintff	; Alt-Gray-End
set terminal key qansi \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key qansi \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key qansi \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key qansi \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key qansi \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key qansi \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key qansi \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key qansi \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key qansi \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key qansi \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key qansi \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key qansi \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY qnx
set terminal key qnx \16 \Kignore	; DLE
set terminal key qnx \17 \Kignore	; DC1
set terminal key qnx \18 \Kignore	; DC2
set terminal key qnx \264 \{127}	; Backspace
set terminal key qnx /literal \268 \{255}\{165}	; Clear
set terminal key qnx \269 \{13}	; Enter
set terminal key qnx \276 \Kignore	; CapsLock
set terminal key qnx /literal \289 \{255}\{162}	; PageUp
set terminal key qnx /literal \290 \{255}\{170}	; PageDown
set terminal key qnx /literal \291 \{255}\{168}	; End
set terminal key qnx /literal \292 \{255}\{160}	; Home
set terminal key qnx \293 \Klfarr	; LeftArrow
set terminal key qnx \294 \Kuparr	; UpArrow
set terminal key qnx \295 \Krtarr	; RightArrow
set terminal key qnx \296 \Kdnarr	; DownArrow
set terminal key qnx /literal \298 \{255}\{173}	; Print
set terminal key qnx /literal \301 \{255}\{171}	; Insert
set terminal key qnx /literal \302 \{255}\{172}	; Delete
set terminal key qnx \352 \{48}	; Keypad-0
set terminal key qnx \353 \{49}	; Keypad-1
set terminal key qnx \354 \{50}	; Keypad-2
set terminal key qnx \355 \{51}	; Keypad-3
set terminal key qnx \356 \{52}	; Keypad-4
set terminal key qnx \357 \{53}	; Keypad-5
set terminal key qnx \358 \{54}	; Keypad-6
set terminal key qnx \359 \{55}	; Keypad-7
set terminal key qnx \360 \{56}	; Keypad-8
set terminal key qnx \361 \{57}	; Keypad-9
set terminal key qnx \362 \{42}	; Multiply
set terminal key qnx /literal \363 \{255}\{167}	; Add
set terminal key qnx \364 \{47}	; Separator
set terminal key qnx /literal \365 \{255}\{163}	; Subtract
set terminal key qnx \366 \{46}	; Decimal
set terminal key qnx /literal \368 \{255}\{129}	; F1
set terminal key qnx /literal \369 \{255}\{130}	; F2
set terminal key qnx /literal \370 \{255}\{131}	; F3
set terminal key qnx /literal \371 \{255}\{132}	; F4
set terminal key qnx /literal \372 \{255}\{133}	; F5
set terminal key qnx /literal \373 \{255}\{134}	; F6
set terminal key qnx /literal \374 \{255}\{135}	; F7
set terminal key qnx /literal \375 \{255}\{136}	; F8
set terminal key qnx /literal \376 \{255}\{137}	; F9
set terminal key qnx /literal \377 \{255}\{138}	; F10
set terminal key qnx /literal \378 \{255}\{174}	; F11
set terminal key qnx /literal \379 \{255}\{175}	; F12
set terminal key qnx \400 \Kignore	; NumLock
set terminal key qnx \401 \Kholdscrn	; ScrollLock
set terminal key qnx \539 \{27}	; Shift-ESC
set terminal key qnx /literal \776 \{255}\{252}	; Shift-Backspace
set terminal key qnx /literal \777 \{255}\{128}	; Shift-Tab
set terminal key qnx /literal \781 \{255}\{224}	; Shift-Enter
set terminal key qnx /literal \880 \{255}\{139}	; Shift-F1
set terminal key qnx /literal \881 \{255}\{140}	; Shift-F2
set terminal key qnx /literal \882 \{255}\{141}	; Shift-F3
set terminal key qnx /literal \883 \{255}\{142}	; Shift-F4
set terminal key qnx /literal \884 \{255}\{143}	; Shift-F5
set terminal key qnx /literal \885 \{255}\{144}	; Shift-F6
set terminal key qnx /literal \886 \{255}\{145}	; Shift-F7
set terminal key qnx /literal \887 \{255}\{146}	; Shift-F8
set terminal key qnx /literal \888 \{255}\{147}	; Shift-F9
set terminal key qnx /literal \889 \{255}\{148}	; Shift-F10
set terminal key qnx /literal \890 \{255}\{219}	; Shift-F11
set terminal key qnx /literal \891 \{255}\{220}	; Shift-F12
set terminal key qnx \912 \Kignore	; Shift-NumLock
set terminal key qnx \1056 \Knull	; SP
set terminal key qnx /literal \1151 \{255}\{222}	; DEL
set terminal key qnx /literal \1289 \{255}\{159}	; Ctrl-Tab
set terminal key qnx /literal \1292 \{255}\{181}	; Ctrl-Clear
set terminal key qnx /literal \1293 \{255}\{208}	; Ctrl-Enter
set terminal key qnx /literal \1313 \{255}\{178}	; Ctrl-PageUp
set terminal key qnx /literal \1314 \{255}\{186}	; Ctrl-PageDown
set terminal key qnx /literal \1315 \{255}\{184}	; Ctrl-End
set terminal key qnx /literal \1316 \{255}\{176}	; Ctrl-Home
set terminal key qnx /literal \1317 \{255}\{180}	; Ctrl-LeftArrow
set terminal key qnx /literal \1318 \{255}\{177}	; Ctrl-UpArrow
set terminal key qnx /literal \1319 \{255}\{182}	; Ctrl-RightArrow
set terminal key qnx /literal \1320 \{255}\{185}	; Ctrl-DownArrow
set terminal key qnx /literal \1322 \{255}\{189}	; Ctrl-Print
set terminal key qnx /literal \1325 \{255}\{187}	; Ctrl-Insert
set terminal key qnx /literal \1326 \{255}\{188}	; Ctrl-Delete
set terminal key qnx \1330 \Knull	; Ctrl-2
set terminal key qnx \1334 \{30}	; Ctrl-6
set terminal key qnx /literal \1387 \{255}\{183}	; Ctrl-Add
set terminal key qnx /literal \1389 \{255}\{179}	; Ctrl-Subtract
set terminal key qnx /literal \1392 \{255}\{149}	; Ctrl-F1
set terminal key qnx /literal \1393 \{255}\{150}	; Ctrl-F2
set terminal key qnx /literal \1394 \{255}\{151}	; Ctrl-F3
set terminal key qnx /literal \1395 \{255}\{152}	; Ctrl-F4
set terminal key qnx /literal \1396 \{255}\{153}	; Ctrl-F5
set terminal key qnx /literal \1397 \{255}\{154}	; Ctrl-F6
set terminal key qnx /literal \1398 \{255}\{155}	; Ctrl-F7
set terminal key qnx /literal \1399 \{255}\{156}	; Ctrl-F8
set terminal key qnx /literal \1400 \{255}\{157}	; Ctrl-F9
set terminal key qnx /literal \1401 \{255}\{158}	; Ctrl-F10
set terminal key qnx /literal \1402 \{255}\{190}	; Ctrl-F11
set terminal key qnx /literal \1403 \{255}\{191}	; Ctrl-F12
set terminal key qnx \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key qnx \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key qnx \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key qnx \1842 \Knull	; Ctrl-Shift-2
set terminal key qnx \1846 \{30}	; Ctrl-Shift-6
set terminal key qnx \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key qnx \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key qnx \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key qnx \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key qnx \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key qnx \2109 \Kreset	; Alt-=
set terminal key qnx \2114 \Kbreak	; Alt-B
set terminal key qnx \2115 \Kcompose	; Alt-C
set terminal key qnx \2116 \Kdebug	; Alt-D
set terminal key qnx \2117 \Kprintff	; Alt-E
set terminal key qnx \2118 \Kfnkeys	; Alt-F
set terminal key qnx \2120 \Khelp	; Alt-H
set terminal key qnx \2123 \Kkeyclick	; Alt-K
set terminal key qnx \2124 \Klbreak	; Alt-L
set terminal key qnx \2126 \Kucs2	; Alt-N
set terminal key qnx \2127 \Kprtauto	; Alt-O
set terminal key qnx \2128 \Kdump	; Alt-P
set terminal key qnx \2129 \Kquit	; Alt-Q
set terminal key qnx \2130 \Kreset	; Alt-R
set terminal key qnx \2131 \Kstatus	; Alt-S
set terminal key qnx \2132 \Ktermtype	; Alt-T
set terminal key qnx \2133 \Khangup	; Alt-U
set terminal key qnx \2134 \Kflipscn	; Alt-V
set terminal key qnx \2136 \Kexit	; Alt-X
set terminal key qnx /literal \2145 \{255}\{225}	; Alt-a
set terminal key qnx /literal \2146 \{255}\{226}	; Alt-b
set terminal key qnx /literal \2147 \{255}\{227}	; Alt-c
set terminal key qnx /literal \2148 \{255}\{228}	; Alt-d
set terminal key qnx /literal \2149 \{255}\{229}	; Alt-e
set terminal key qnx /literal \2150 \{255}\{230}	; Alt-f
set terminal key qnx /literal \2151 \{255}\{231}	; Alt-g
set terminal key qnx /literal \2152 \{255}\{232}	; Alt-h
set terminal key qnx /literal \2153 \{255}\{233}	; Alt-i
set terminal key qnx /literal \2154 \{255}\{234}	; Alt-j
set terminal key qnx /literal \2155 \{255}\{235}	; Alt-k
set terminal key qnx /literal \2156 \{255}\{236}	; Alt-l
set terminal key qnx /literal \2157 \{255}\{237}	; Alt-m
set terminal key qnx /literal \2158 \{255}\{238}	; Alt-n
set terminal key qnx /literal \2159 \{255}\{239}	; Alt-o
set terminal key qnx /literal \2160 \{255}\{240}	; Alt-p
set terminal key qnx /literal \2161 \{255}\{241}	; Alt-q
set terminal key qnx /literal \2162 \{255}\{242}	; Alt-r
set terminal key qnx /literal \2163 \{255}\{243}	; Alt-s
set terminal key qnx /literal \2164 \{255}\{244}	; Alt-t
set terminal key qnx /literal \2165 \{255}\{245}	; Alt-u
set terminal key qnx /literal \2166 \{255}\{246}	; Alt-v
set terminal key qnx /literal \2167 \{255}\{247}	; Alt-w
set terminal key qnx /literal \2168 \{255}\{248}	; Alt-x
set terminal key qnx /literal \2169 \{255}\{249}	; Alt-y
set terminal key qnx /literal \2170 \{255}\{250}	; Alt-z
set terminal key qnx /literal \2312 \{255}\{223}	; Alt-Backspace
set terminal key qnx /literal \2316 \{255}\{197}	; Alt-Clear
set terminal key qnx /literal \2317 \{255}\{251}	; Alt-Enter
set terminal key qnx /literal \2337 \{255}\{194}	; Alt-PageUp
set terminal key qnx /literal \2338 \{255}\{202}	; Alt-PageDown
set terminal key qnx /literal \2339 \{255}\{200}	; Alt-End
set terminal key qnx /literal \2340 \{255}\{192}	; Alt-Home
set terminal key qnx /literal \2341 \{255}\{196}	; Alt-LeftArrow
set terminal key qnx /literal \2342 \{255}\{193}	; Alt-UpArrow
set terminal key qnx /literal \2343 \{255}\{198}	; Alt-RightArrow
set terminal key qnx /literal \2344 \{255}\{201}	; Alt-DownArrow
set terminal key qnx /literal \2346 \{255}\{221}	; Alt-Print
set terminal key qnx /literal \2349 \{255}\{203}	; Alt-Insert
set terminal key qnx /literal \2350 \{255}\{204}	; Alt-Delete
set terminal key qnx /literal \2410 \{255}\{205}	; Alt-Multiply
set terminal key qnx /literal \2411 \{255}\{199}	; Alt-Add
set terminal key qnx /literal \2413 \{255}\{195}	; Alt-Subtract
set terminal key qnx /literal \2416 \{255}\{209}	; Alt-F1
set terminal key qnx /literal \2417 \{255}\{210}	; Alt-F2
set terminal key qnx /literal \2418 \{255}\{211}	; Alt-F3
set terminal key qnx /literal \2419 \{255}\{212}	; Alt-F4
set terminal key qnx /literal \2420 \{255}\{213}	; Alt-F5
set terminal key qnx /literal \2421 \{255}\{214}	; Alt-F6
set terminal key qnx /literal \2422 \{255}\{215}	; Alt-F7
set terminal key qnx /literal \2423 \{255}\{216}	; Alt-F8
set terminal key qnx /literal \2424 \{255}\{217}	; Alt-F9
set terminal key qnx /literal \2425 \{255}\{218}	; Alt-F10
set terminal key qnx /literal \2426 \{255}\{206}	; Alt-F11
set terminal key qnx /literal \2427 \{255}\{207}	; Alt-F12
set terminal key qnx \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key qnx \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key qnx \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key qnx \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key qnx \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key qnx \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key qnx \4365 \{13}	; Gray-Enter
set terminal key qnx /literal \4385 \{255}\{162}	; Gray-PageUp
set terminal key qnx /literal \4386 \{255}\{170}	; Gray-PageDown
set terminal key qnx /literal \4387 \{255}\{168}	; Gray-End
set terminal key qnx /literal \4388 \{255}\{160}	; Gray-Home
set terminal key qnx \4389 \Klfarr	; Gray-LeftArrow
set terminal key qnx \4390 \Kuparr	; Gray-UpArrow
set terminal key qnx \4391 \Krtarr	; Gray-RightArrow
set terminal key qnx \4392 \Kdnarr	; Gray-DownArrow
set terminal key qnx /literal \4397 \{255}\{171}	; Gray-Insert
set terminal key qnx /literal \4398 \{255}\{172}	; Gray-Delete
set terminal key qnx \4443 \Kignore	; Gray-LeftMSWindows
set terminal key qnx \4444 \Kignore	; Gray-RightMSWindows
set terminal key qnx \4445 \Kignore	; Gray-TaskList
set terminal key qnx \4458 \Kdump	; Gray-Multiply
set terminal key qnx \4463 \{47}	; Gray-Divide
set terminal key qnx \4496 \Kignore	; Gray-NumLock
set terminal key qnx \4514 \Kignore	; Gray-162
set terminal key qnx \4516 \Kignore	; Gray-164
set terminal key qnx \4543 \{47}	; Gray-OEM.US.Slash
set terminal key qnx /literal \4877 \{255}\{224}	; Shift-Gray-Enter
set terminal key qnx \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key qnx \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key qnx \4909 \Kpaste	; Shift-Gray-Insert
set terminal key qnx \4910 \{127}	; Shift-Gray-Delete
set terminal key qnx \4970 \Kignore	; Shift-Gray-Multiply
set terminal key qnx \5008 \Kignore	; Shift-Gray-NumLock
set terminal key qnx /literal \5389 \{255}\{208}	; Ctrl-Gray-Enter
set terminal key qnx /literal \5409 \{255}\{178}	; Ctrl-Gray-PageUp
set terminal key qnx /literal \5410 \{255}\{186}	; Ctrl-Gray-PageDown
set terminal key qnx /literal \5411 \{255}\{184}	; Ctrl-Gray-End
set terminal key qnx /literal \5412 \{255}\{176}	; Ctrl-Gray-Home
set terminal key qnx /literal \5413 \{255}\{180}	; Ctrl-Gray-LeftArrow
set terminal key qnx /literal \5414 \{255}\{177}	; Ctrl-Gray-UpArrow
set terminal key qnx /literal \5415 \{255}\{182}	; Ctrl-Gray-RightArrow
set terminal key qnx /literal \5416 \{255}\{185}	; Ctrl-Gray-DownArrow
set terminal key qnx /literal \5421 \{255}\{187}	; Ctrl-Gray-Insert
set terminal key qnx /literal \5422 \{255}\{188}	; Ctrl-Gray-Delete
set terminal key qnx \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key qnx /literal \6413 \{255}\{251}	; Alt-Gray-Enter
set terminal key qnx /literal \6433 \{255}\{194}	; Alt-Gray-PageUp
set terminal key qnx /literal \6434 \{255}\{202}	; Alt-Gray-PageDown
set terminal key qnx /literal \6435 \{255}\{200}	; Alt-Gray-End
set terminal key qnx /literal \6436 \{255}\{192}	; Alt-Gray-Home
set terminal key qnx /literal \6437 \{255}\{196}	; Alt-Gray-LeftArrow
set terminal key qnx /literal \6438 \{255}\{193}	; Alt-Gray-UpArrow
set terminal key qnx /literal \6439 \{255}\{198}	; Alt-Gray-RightArrow
set terminal key qnx /literal \6440 \{255}\{201}	; Alt-Gray-DownArrow
set terminal key qnx /literal \6445 \{255}\{203}	; Alt-Gray-Insert
set terminal key qnx /literal \6446 \{255}\{204}	; Alt-Gray-Delete
set terminal key qnx \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key qnx \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key qnx \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key qnx \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key qnx \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key qnx \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key qnx \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key qnx \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY russian
set terminal key russian \35 \{252}	; #
set terminal key russian \36 \{37}	; $
set terminal key russian \44 \{161}	; ,
set terminal key russian \46 \{238}	; .
set terminal key russian \47 \{46}	; /
set terminal key russian \58 \{157}	; :
set terminal key russian \59 \{237}	; ;
set terminal key russian \60 \{129}	; <
set terminal key russian \62 \{158}	; >
set terminal key russian \63 \{44}	; ?
set terminal key russian \64 \{34}	; @
set terminal key russian \65 \{148}	; A
set terminal key russian \66 \{136}	; B
set terminal key russian \67 \{145}	; C
set terminal key russian \68 \{130}	; D
set terminal key russian \69 \{147}	; E
set terminal key russian \70 \{128}	; F
set terminal key russian \71 \{143}	; G
set terminal key russian \72 \{144}	; H
set terminal key russian \73 \{152}	; I
set terminal key russian \74 \{142}	; J
set terminal key russian \75 \{139}	; K
set terminal key russian \76 \{132}	; L
set terminal key russian \77 \{156}	; M
set terminal key russian \78 \{146}	; N
set terminal key russian \79 \{153}	; O
set terminal key russian \80 \{135}	; P
set terminal key russian \81 \{137}	; Q
set terminal key russian \82 \{138}	; R
set terminal key russian \83 \{155}	; S
set terminal key russian \84 \{133}	; T
set terminal key russian \85 \{131}	; U
set terminal key russian \86 \{140}	; V
set terminal key russian \87 \{150}	; W
set terminal key russian \88 \{151}	; X
set terminal key russian \89 \{141}	; Y
set terminal key russian \90 \{159}	; Z
set terminal key russian \91 \{229}	; [
set terminal key russian \92 \{47}	; \
set terminal key russian \93 \{234}	; ]
set terminal key russian \94 \{58}	; ^
set terminal key russian \96 \{241}	; `
set terminal key russian \97 \{228}	; a
set terminal key russian \98 \{168}	; b
set terminal key russian \99 \{225}	; c
set terminal key russian \100 \{162}	; d
set terminal key russian \101 \{227}	; e
set terminal key russian \102 \{160}	; f
set terminal key russian \103 \{175}	; g
set terminal key russian \104 \{224}	; h
set terminal key russian \105 \{232}	; i
set terminal key russian \106 \{174}	; j
set terminal key russian \107 \{171}	; k
set terminal key russian \108 \{164}	; l
set terminal key russian \109 \{236}	; m
set terminal key russian \110 \{226}	; n
set terminal key russian \111 \{233}	; o
set terminal key russian \112 \{167}	; p
set terminal key russian \113 \{169}	; q
set terminal key russian \114 \{170}	; r
set terminal key russian \115 \{235}	; s
set terminal key russian \116 \{165}	; t
set terminal key russian \117 \{163}	; u
set terminal key russian \118 \{172}	; v
set terminal key russian \119 \{230}	; w
set terminal key russian \120 \{231}	; x
set terminal key russian \121 \{173}	; y
set terminal key russian \122 \{239}	; z
set terminal key russian \123 \{149}	; {
set terminal key russian \125 \{154}	; }
set terminal key russian \126 \{240}	; ~

; SET TERMINAL KEY scoansi
set terminal key scoansi \16 \Kignore	; DLE
set terminal key scoansi \17 \Kignore	; DC1
set terminal key scoansi \18 \Kignore	; DC2
set terminal key scoansi \264 \{8}	; Backspace
set terminal key scoansi \268 \Kansif54	; Clear
set terminal key scoansi \269 \{13}	; Enter
set terminal key scoansi \276 \Kignore	; CapsLock
set terminal key scoansi \289 \Kansif51	; PageUp
set terminal key scoansi \290 \Kansif59	; PageDown
set terminal key scoansi \291 \Kansif57	; End
set terminal key scoansi \292 \Kansif49	; Home
set terminal key scoansi \293 \Kansif53	; LeftArrow
set terminal key scoansi \294 \Kansif50	; UpArrow
set terminal key scoansi \295 \Kansif55	; RightArrow
set terminal key scoansi \296 \Kansif58	; DownArrow
set terminal key scoansi \301 \Kansif60	; Insert
set terminal key scoansi \302 \{127}	; Delete
set terminal key scoansi \352 \{48}	; Keypad-0
set terminal key scoansi \353 \{49}	; Keypad-1
set terminal key scoansi \354 \{50}	; Keypad-2
set terminal key scoansi \355 \{51}	; Keypad-3
set terminal key scoansi \356 \{52}	; Keypad-4
set terminal key scoansi \357 \{53}	; Keypad-5
set terminal key scoansi \358 \{54}	; Keypad-6
set terminal key scoansi \359 \{55}	; Keypad-7
set terminal key scoansi \360 \{56}	; Keypad-8
set terminal key scoansi \361 \{57}	; Keypad-9
set terminal key scoansi \362 \{42}	; Multiply
set terminal key scoansi \363 \{43}	; Add
set terminal key scoansi \364 \{47}	; Separator
set terminal key scoansi \365 \{45}	; Subtract
set terminal key scoansi \366 \{46}	; Decimal
set terminal key scoansi \368 \Kansif01	; F1
set terminal key scoansi \369 \Kansif02	; F2
set terminal key scoansi \370 \Kansif03	; F3
set terminal key scoansi \371 \Kansif04	; F4
set terminal key scoansi \372 \Kansif05	; F5
set terminal key scoansi \373 \Kansif06	; F6
set terminal key scoansi \374 \Kansif07	; F7
set terminal key scoansi \375 \Kansif08	; F8
set terminal key scoansi \376 \Kansif09	; F9
set terminal key scoansi \377 \Kansif10	; F10
set terminal key scoansi \378 \Kansif11	; F11
set terminal key scoansi \379 \Kansif12	; F12
set terminal key scoansi \400 \Kignore	; NumLock
set terminal key scoansi \401 \Kholdscrn	; ScrollLock
set terminal key scoansi \539 \{27}	; Shift-ESC
set terminal key scoansi \776 \{127}	; Shift-Backspace
set terminal key scoansi \777 \Kansif14	; Shift-Tab
set terminal key scoansi \875 \Kansif56	; Shift-Add
set terminal key scoansi \877 \Kansif52	; Shift-Subtract
set terminal key scoansi \880 \Kansif13	; Shift-F1
set terminal key scoansi \881 \Kansif14	; Shift-F2
set terminal key scoansi \882 \Kansif15	; Shift-F3
set terminal key scoansi \883 \Kansif16	; Shift-F4
set terminal key scoansi \884 \Kansif17	; Shift-F5
set terminal key scoansi \885 \Kansif18	; Shift-F6
set terminal key scoansi \886 \Kansif19	; Shift-F7
set terminal key scoansi \887 \Kansif20	; Shift-F8
set terminal key scoansi \888 \Kansif21	; Shift-F9
set terminal key scoansi \889 \Kansif22	; Shift-F10
set terminal key scoansi \890 \Kansif23	; Shift-F11
set terminal key scoansi \891 \Kansif24	; Shift-F12
set terminal key scoansi \912 \Kignore	; Shift-NumLock
set terminal key scoansi \1056 \Knull	; SP
set terminal key scoansi \1326 \{8}	; Ctrl-Delete
set terminal key scoansi \1330 \Knull	; Ctrl-2
set terminal key scoansi \1334 \{30}	; Ctrl-6
set terminal key scoansi \1392 \Kansif25	; Ctrl-F1
set terminal key scoansi \1393 \Kansif26	; Ctrl-F2
set terminal key scoansi \1394 \Kansif27	; Ctrl-F3
set terminal key scoansi \1395 \Kansif28	; Ctrl-F4
set terminal key scoansi \1396 \Kansif29	; Ctrl-F5
set terminal key scoansi \1397 \Kansif30	; Ctrl-F6
set terminal key scoansi \1398 \Kansif31	; Ctrl-F7
set terminal key scoansi \1399 \Kansif32	; Ctrl-F8
set terminal key scoansi \1400 \Kansif33	; Ctrl-F9
set terminal key scoansi \1401 \Kansif34	; Ctrl-F10
set terminal key scoansi \1402 \Kansif35	; Ctrl-F11
set terminal key scoansi \1403 \Kansif36	; Ctrl-F12
set terminal key scoansi \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key scoansi \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key scoansi \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key scoansi \1842 \Knull	; Ctrl-Shift-2
set terminal key scoansi \1846 \{30}	; Ctrl-Shift-6
set terminal key scoansi \1899 \Kansif56	; Ctrl-Shift-Add
set terminal key scoansi \1901 \Kansif52	; Ctrl-Shift-Subtract
set terminal key scoansi \1904 \Kansif37	; Ctrl-Shift-F1
set terminal key scoansi \1905 \Kansif38	; Ctrl-Shift-F2
set terminal key scoansi \1906 \Kansif39	; Ctrl-Shift-F3
set terminal key scoansi \1907 \Kansif40	; Ctrl-Shift-F4
set terminal key scoansi \1908 \Kansif41	; Ctrl-Shift-F5
set terminal key scoansi \1909 \Kansif42	; Ctrl-Shift-F6
set terminal key scoansi \1910 \Kansif43	; Ctrl-Shift-F7
set terminal key scoansi \1911 \Kansif44	; Ctrl-Shift-F8
set terminal key scoansi \1912 \Kansif45	; Ctrl-Shift-F9
set terminal key scoansi \1913 \Kansif46	; Ctrl-Shift-F10
set terminal key scoansi \1914 \Kansif47	; Ctrl-Shift-F11
set terminal key scoansi \1915 \Kansif48	; Ctrl-Shift-F12
set terminal key scoansi \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key scoansi \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key scoansi \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key scoansi \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key scoansi \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key scoansi \2109 \Kreset	; Alt-=
set terminal key scoansi \2114 \Kbreak	; Alt-B
set terminal key scoansi \2115 \Kcompose	; Alt-C
set terminal key scoansi \2116 \Kdebug	; Alt-D
set terminal key scoansi \2117 \Kprintff	; Alt-E
set terminal key scoansi \2118 \Kfnkeys	; Alt-F
set terminal key scoansi \2120 \Khelp	; Alt-H
set terminal key scoansi \2123 \Kkeyclick	; Alt-K
set terminal key scoansi \2124 \Klbreak	; Alt-L
set terminal key scoansi \2126 \Kucs2	; Alt-N
set terminal key scoansi \2127 \Kprtauto	; Alt-O
set terminal key scoansi \2128 \Kdump	; Alt-P
set terminal key scoansi \2129 \Kquit	; Alt-Q
set terminal key scoansi \2130 \Kreset	; Alt-R
set terminal key scoansi \2131 \Kstatus	; Alt-S
set terminal key scoansi \2132 \Ktermtype	; Alt-T
set terminal key scoansi \2133 \Khangup	; Alt-U
set terminal key scoansi \2134 \Kflipscn	; Alt-V
set terminal key scoansi \2136 \Kexit	; Alt-X
set terminal key scoansi \2146 \Kbreak	; Alt-b
set terminal key scoansi \2147 \Kcompose	; Alt-c
set terminal key scoansi \2148 \Kdebug	; Alt-d
set terminal key scoansi \2149 \Kprintff	; Alt-e
set terminal key scoansi \2150 \Kfnkeys	; Alt-f
set terminal key scoansi \2152 \Khelp	; Alt-h
set terminal key scoansi \2155 \Kkeyclick	; Alt-k
set terminal key scoansi \2156 \Klbreak	; Alt-l
set terminal key scoansi \2158 \Kucs2	; Alt-n
set terminal key scoansi \2159 \Kprtauto	; Alt-o
set terminal key scoansi \2160 \Kdump	; Alt-p
set terminal key scoansi \2161 \Kquit	; Alt-q
set terminal key scoansi \2162 \Kreset	; Alt-r
set terminal key scoansi \2163 \Kstatus	; Alt-s
set terminal key scoansi \2164 \Ktermtype	; Alt-t
set terminal key scoansi \2165 \Khangup	; Alt-u
set terminal key scoansi \2166 \Kflipscn	; Alt-v
set terminal key scoansi \2168 \Kexit	; Alt-x
set terminal key scoansi \2312 \{8}	; Alt-Backspace
set terminal key scoansi \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key scoansi \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key scoansi \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key scoansi \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key scoansi \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key scoansi \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key scoansi \4365 \{13}	; Gray-Enter
set terminal key scoansi \4385 \Kansif51	; Gray-PageUp
set terminal key scoansi \4386 \Kansif59	; Gray-PageDown
set terminal key scoansi \4387 \Kansif57	; Gray-End
set terminal key scoansi \4388 \Kansif49	; Gray-Home
set terminal key scoansi \4389 \Kansif53	; Gray-LeftArrow
set terminal key scoansi \4390 \Kansif50	; Gray-UpArrow
set terminal key scoansi \4391 \Kansif55	; Gray-RightArrow
set terminal key scoansi \4392 \Kansif58	; Gray-DownArrow
set terminal key scoansi \4397 \Kansif60	; Gray-Insert
set terminal key scoansi \4398 \{127}	; Gray-Delete
set terminal key scoansi \4443 \Kignore	; Gray-LeftMSWindows
set terminal key scoansi \4444 \Kignore	; Gray-RightMSWindows
set terminal key scoansi \4445 \Kignore	; Gray-TaskList
set terminal key scoansi \4458 \Kdump	; Gray-Multiply
set terminal key scoansi \4463 \{47}	; Gray-Divide
set terminal key scoansi \4496 \Kignore	; Gray-NumLock
set terminal key scoansi \4514 \Kignore	; Gray-162
set terminal key scoansi \4516 \Kignore	; Gray-164
set terminal key scoansi \4543 \{47}	; Gray-OEM.US.Slash
set terminal key scoansi \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key scoansi \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key scoansi \4909 \Kpaste	; Shift-Gray-Insert
set terminal key scoansi \4910 \{127}	; Shift-Gray-Delete
set terminal key scoansi \4970 \Kignore	; Shift-Gray-Multiply
set terminal key scoansi \5008 \Kignore	; Shift-Gray-NumLock
set terminal key scoansi \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key scoansi \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key scoansi \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key scoansi \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key scoansi \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key scoansi \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key scoansi \5422 \{8}	; Ctrl-Gray-Delete
set terminal key scoansi \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key scoansi \6434 \Kdos	; Alt-Gray-PageDown
set terminal key scoansi \6435 \Kprintff	; Alt-Gray-End
set terminal key scoansi \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key scoansi \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key scoansi \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key scoansi \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key scoansi \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key scoansi \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key scoansi \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key scoansi \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key scoansi \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key scoansi \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key scoansi \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key scoansi \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY sni-97801
set terminal key sni-97801 \16 \Kignore	; DLE
set terminal key sni-97801 \17 \Kignore	; DC1
set terminal key sni-97801 \18 \Kignore	; DC2
set terminal key sni-97801 \264 \{8}	; Backspace
set terminal key sni-97801 \265 \Ksni_tab	; Tab
set terminal key sni-97801 \269 \{13}	; Enter
set terminal key sni-97801 \276 \Kignore	; CapsLock
set terminal key sni-97801 \290 \Kdnscn	; PageDown
set terminal key sni-97801 \291 \Kendscn	; End
set terminal key sni-97801 \292 \Khomscn	; Home
set terminal key sni-97801 \293 \Klfarr	; LeftArrow
set terminal key sni-97801 \294 \Kuparr	; UpArrow
set terminal key sni-97801 \295 \Krtarr	; RightArrow
set terminal key sni-97801 \296 \Kdnarr	; DownArrow
set terminal key sni-97801 \302 \{127}	; Delete
set terminal key sni-97801 \352 \{48}	; Keypad-0
set terminal key sni-97801 \353 \{49}	; Keypad-1
set terminal key sni-97801 \354 \{50}	; Keypad-2
set terminal key sni-97801 \355 \{51}	; Keypad-3
set terminal key sni-97801 \356 \{52}	; Keypad-4
set terminal key sni-97801 \357 \{53}	; Keypad-5
set terminal key sni-97801 \358 \{54}	; Keypad-6
set terminal key sni-97801 \359 \{55}	; Keypad-7
set terminal key sni-97801 \360 \{56}	; Keypad-8
set terminal key sni-97801 \361 \{57}	; Keypad-9
set terminal key sni-97801 \362 \{42}	; Multiply
set terminal key sni-97801 \363 \{43}	; Add
set terminal key sni-97801 \364 \{47}	; Separator
set terminal key sni-97801 \365 \{45}	; Subtract
set terminal key sni-97801 \366 \{46}	; Decimal
set terminal key sni-97801 \368 \Ksni_f01	; F1
set terminal key sni-97801 \369 \Ksni_f02	; F2
set terminal key sni-97801 \370 \Ksni_f03	; F3
set terminal key sni-97801 \371 \Ksni_f04	; F4
set terminal key sni-97801 \372 \Ksni_f05	; F5
set terminal key sni-97801 \373 \Ksni_f06	; F6
set terminal key sni-97801 \374 \Ksni_f07	; F7
set terminal key sni-97801 \375 \Ksni_f08	; F8
set terminal key sni-97801 \376 \Ksni_f09	; F9
set terminal key sni-97801 \377 \Ksni_f10	; F10
set terminal key sni-97801 \378 \Ksni_f11	; F11
set terminal key sni-97801 \379 \Ksni_f12	; F12
set terminal key sni-97801 \400 \Kignore	; NumLock
set terminal key sni-97801 \401 \Kholdscrn	; ScrollLock
set terminal key sni-97801 \539 \{27}	; Shift-ESC
set terminal key sni-97801 \776 \{127}	; Shift-Backspace
set terminal key sni-97801 \777 \{8}	; Shift-Tab
set terminal key sni-97801 \880 \Ksni_s_f01	; Shift-F1
set terminal key sni-97801 \881 \Ksni_s_f02	; Shift-F2
set terminal key sni-97801 \882 \Ksni_s_f03	; Shift-F3
set terminal key sni-97801 \883 \Ksni_s_f04	; Shift-F4
set terminal key sni-97801 \884 \Ksni_s_f05	; Shift-F5
set terminal key sni-97801 \885 \Ksni_s_f06	; Shift-F6
set terminal key sni-97801 \886 \Ksni_s_f07	; Shift-F7
set terminal key sni-97801 \887 \Ksni_s_f08	; Shift-F8
set terminal key sni-97801 \888 \Ksni_s_f09	; Shift-F9
set terminal key sni-97801 \889 \Ksni_s_f10	; Shift-F10
set terminal key sni-97801 \890 \Ksni_s_f11	; Shift-F11
set terminal key sni-97801 \891 \Ksni_s_f12	; Shift-F12
set terminal key sni-97801 \912 \Kignore	; Shift-NumLock
set terminal key sni-97801 \1028 \Ksni_mode	; EOT
set terminal key sni-97801 \1032 \Ksni_help	; BS
set terminal key sni-97801 \1040 \Ksni_print	; DLE
set terminal key sni-97801 \1043 \Ksni_start	; DC3
set terminal key sni-97801 \1056 \Knull	; SP
set terminal key sni-97801 \1326 \{8}	; Ctrl-Delete
set terminal key sni-97801 \1330 \Knull	; Ctrl-2
set terminal key sni-97801 \1334 \{30}	; Ctrl-6
set terminal key sni-97801 \1392 \Ksni_f11	; Ctrl-F1
set terminal key sni-97801 \1393 \Ksni_f12	; Ctrl-F2
set terminal key sni-97801 \1394 \Ksni_f13	; Ctrl-F3
set terminal key sni-97801 \1395 \Ksni_f14	; Ctrl-F4
set terminal key sni-97801 \1396 \Ksni_f15	; Ctrl-F5
set terminal key sni-97801 \1397 \Ksni_f16	; Ctrl-F6
set terminal key sni-97801 \1398 \Ksni_f17	; Ctrl-F7
set terminal key sni-97801 \1399 \Ksni_f18	; Ctrl-F8
set terminal key sni-97801 \1400 \Ksni_f19	; Ctrl-F9
set terminal key sni-97801 \1401 \Ksni_f20	; Ctrl-F10
set terminal key sni-97801 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key sni-97801 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key sni-97801 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key sni-97801 \1842 \Knull	; Ctrl-Shift-2
set terminal key sni-97801 \1846 \{30}	; Ctrl-Shift-6
set terminal key sni-97801 \1904 \Ksni_s_f11	; Ctrl-Shift-F1
set terminal key sni-97801 \1905 \Ksni_s_f12	; Ctrl-Shift-F2
set terminal key sni-97801 \1906 \Ksni_s_f13	; Ctrl-Shift-F3
set terminal key sni-97801 \1907 \Ksni_s_f14	; Ctrl-Shift-F4
set terminal key sni-97801 \1908 \Ksni_s_f15	; Ctrl-Shift-F5
set terminal key sni-97801 \1909 \Ksni_s_f16	; Ctrl-Shift-F6
set terminal key sni-97801 \1910 \Ksni_s_f17	; Ctrl-Shift-F7
set terminal key sni-97801 \1911 \Ksni_s_f18	; Ctrl-Shift-F8
set terminal key sni-97801 \1912 \Ksni_s_f19	; Ctrl-Shift-F9
set terminal key sni-97801 \1913 \Ksni_s_f20	; Ctrl-Shift-F10
set terminal key sni-97801 \1914 \Ksni_s_f19	; Ctrl-Shift-F11
set terminal key sni-97801 \1915 \Ksni_s_f20	; Ctrl-Shift-F12
set terminal key sni-97801 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key sni-97801 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key sni-97801 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key sni-97801 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key sni-97801 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key sni-97801 \2081 \Ksni_s_f21	; Alt-!
set terminal key sni-97801 \2082 \Ksni_s_f22	; Alt-"
set terminal key sni-97801 \2097 \Ksni_f21	; Alt-1
set terminal key sni-97801 \2098 \Ksni_f22	; Alt-2
set terminal key sni-97801 \2099 \Ksni_user1	; Alt-3
set terminal key sni-97801 \2100 \Ksni_user2	; Alt-4
set terminal key sni-97801 \2101 \Ksni_user3	; Alt-5
set terminal key sni-97801 \2102 \Ksni_user4	; Alt-6
set terminal key sni-97801 \2103 \Ksni_user5	; Alt-7
set terminal key sni-97801 \2109 \Kreset	; Alt-=
set terminal key sni-97801 \2114 \Kbreak	; Alt-B
set terminal key sni-97801 \2115 \Kcompose	; Alt-C
set terminal key sni-97801 \2116 \Kdebug	; Alt-D
set terminal key sni-97801 \2117 \Kprintff	; Alt-E
set terminal key sni-97801 \2118 \Kfnkeys	; Alt-F
set terminal key sni-97801 \2120 \Khelp	; Alt-H
set terminal key sni-97801 \2123 \Kkeyclick	; Alt-K
set terminal key sni-97801 \2124 \Klbreak	; Alt-L
set terminal key sni-97801 \2126 \Kucs2	; Alt-N
set terminal key sni-97801 \2127 \Kprtauto	; Alt-O
set terminal key sni-97801 \2128 \Kdump	; Alt-P
set terminal key sni-97801 \2129 \Kquit	; Alt-Q
set terminal key sni-97801 \2130 \Kreset	; Alt-R
set terminal key sni-97801 \2131 \Kstatus	; Alt-S
set terminal key sni-97801 \2132 \Ktermtype	; Alt-T
set terminal key sni-97801 \2133 \Khangup	; Alt-U
set terminal key sni-97801 \2134 \Kflipscn	; Alt-V
set terminal key sni-97801 \2136 \Kexit	; Alt-X
set terminal key sni-97801 \2146 \Kbreak	; Alt-b
set terminal key sni-97801 \2147 \Kcompose	; Alt-c
set terminal key sni-97801 \2148 \Ksni_mode	; Alt-d
set terminal key sni-97801 \2149 \Kprintff	; Alt-e
set terminal key sni-97801 \2150 \Kfnkeys	; Alt-f
set terminal key sni-97801 \2152 \Ksni_help	; Alt-h
set terminal key sni-97801 \2155 \Kkeyclick	; Alt-k
set terminal key sni-97801 \2156 \Klbreak	; Alt-l
set terminal key sni-97801 \2158 \Kucs2	; Alt-n
set terminal key sni-97801 \2159 \Kprtauto	; Alt-o
set terminal key sni-97801 \2160 \Ksni_print	; Alt-p
set terminal key sni-97801 \2161 \Kquit	; Alt-q
set terminal key sni-97801 \2162 \Kreset	; Alt-r
set terminal key sni-97801 \2163 \Ksni_start	; Alt-s
set terminal key sni-97801 \2164 \Ktermtype	; Alt-t
set terminal key sni-97801 \2165 \Khangup	; Alt-u
set terminal key sni-97801 \2166 \Kflipscn	; Alt-v
set terminal key sni-97801 \2168 \Kexit	; Alt-x
set terminal key sni-97801 \2312 \{8}	; Alt-Backspace
set terminal key sni-97801 \2928 \Ksni_c_f01	; Alt-Shift-F1
set terminal key sni-97801 \2929 \Ksni_c_f02	; Alt-Shift-F2
set terminal key sni-97801 \2930 \Ksni_c_f03	; Alt-Shift-F3
set terminal key sni-97801 \2931 \Ksni_c_f04	; Alt-Shift-F4
set terminal key sni-97801 \2932 \Ksni_c_f05	; Alt-Shift-F5
set terminal key sni-97801 \2933 \Ksni_c_f06	; Alt-Shift-F6
set terminal key sni-97801 \2934 \Ksni_c_f07	; Alt-Shift-F7
set terminal key sni-97801 \2935 \Ksni_c_f08	; Alt-Shift-F8
set terminal key sni-97801 \2936 \Ksni_c_f09	; Alt-Shift-F9
set terminal key sni-97801 \2937 \Ksni_c_f10	; Alt-Shift-F10
set terminal key sni-97801 \2938 \Ksni_c_f11	; Alt-Shift-F11
set terminal key sni-97801 \2939 \Ksni_c_f12	; Alt-Shift-F12
set terminal key sni-97801 \3889 \Ksni_c_f21	; Ctrl-Alt-Shift-1
set terminal key sni-97801 \3890 \Ksni_c_f22	; Ctrl-Alt-Shift-2
set terminal key sni-97801 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key sni-97801 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key sni-97801 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key sni-97801 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key sni-97801 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key sni-97801 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key sni-97801 \3952 \Ksni_c_f11	; Ctrl-Alt-Shift-F1
set terminal key sni-97801 \3953 \Ksni_c_f12	; Ctrl-Alt-Shift-F2
set terminal key sni-97801 \3954 \Ksni_c_f13	; Ctrl-Alt-Shift-F3
set terminal key sni-97801 \3955 \Ksni_c_f14	; Ctrl-Alt-Shift-F4
set terminal key sni-97801 \3956 \Ksni_c_f15	; Ctrl-Alt-Shift-F5
set terminal key sni-97801 \3957 \Ksni_c_f16	; Ctrl-Alt-Shift-F6
set terminal key sni-97801 \3958 \Ksni_c_f17	; Ctrl-Alt-Shift-F7
set terminal key sni-97801 \3959 \Ksni_c_f18	; Ctrl-Alt-Shift-F8
set terminal key sni-97801 \3960 \Ksni_c_f19	; Ctrl-Alt-Shift-F9
set terminal key sni-97801 \3961 \Ksni_c_f20	; Ctrl-Alt-Shift-F10
set terminal key sni-97801 \4365 \{13}	; Gray-Enter
set terminal key sni-97801 \4385 \Ksni_scroll_up	; Gray-PageUp
set terminal key sni-97801 \4386 \Ksni_scroll_dn	; Gray-PageDown
set terminal key sni-97801 \4387 \Ksni_end	; Gray-End
set terminal key sni-97801 \4388 \Ksni_home	; Gray-Home
set terminal key sni-97801 \4389 \Klfarr	; Gray-LeftArrow
set terminal key sni-97801 \4390 \Kuparr	; Gray-UpArrow
set terminal key sni-97801 \4391 \Krtarr	; Gray-RightArrow
set terminal key sni-97801 \4392 \Kdnarr	; Gray-DownArrow
set terminal key sni-97801 \4397 \Ksni_ins_char	; Gray-Insert
set terminal key sni-97801 /literal \4398 \{127}	; Gray-Delete
set terminal key sni-97801 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key sni-97801 \4444 \Kignore	; Gray-RightMSWindows
set terminal key sni-97801 \4445 \Kignore	; Gray-TaskList
set terminal key sni-97801 \4458 \Kdump	; Gray-Multiply
set terminal key sni-97801 \4463 \{47}	; Gray-Divide
set terminal key sni-97801 \4496 \Kignore	; Gray-NumLock
set terminal key sni-97801 \4514 \Kignore	; Gray-162
set terminal key sni-97801 \4516 \Kignore	; Gray-164
set terminal key sni-97801 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key sni-97801 \4897 \Ksni_scroll_up	; Shift-Gray-PageUp
set terminal key sni-97801 \4898 \Ksni_scroll_dn	; Shift-Gray-PageDown
set terminal key sni-97801 \4899 \Ksni_end	; Shift-Gray-End
set terminal key sni-97801 \4900 \Ksni_home	; Shift-Gray-Home
set terminal key sni-97801 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key sni-97801 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key sni-97801 \4909 \Ksni_ins_char	; Shift-Gray-Insert
set terminal key sni-97801 \4910 \Ksni_del_char	; Shift-Gray-Delete
set terminal key sni-97801 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key sni-97801 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key sni-97801 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key sni-97801 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key sni-97801 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key sni-97801 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key sni-97801 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key sni-97801 \5421 \Ksni_ins_word	; Ctrl-Gray-Insert
set terminal key sni-97801 \5422 \Ksni_del_word	; Ctrl-Gray-Delete
set terminal key sni-97801 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key sni-97801 \6433 \Ksni_ch_code	; Alt-Gray-PageUp
set terminal key sni-97801 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key sni-97801 \6435 \Ksni_endmarke	; Alt-Gray-End
set terminal key sni-97801 \6436 \Ksni_ce	; Alt-Gray-Home
set terminal key sni-97801 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key sni-97801 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key sni-97801 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key sni-97801 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key sni-97801 \6445 \Ksni_ins_line	; Alt-Gray-Insert
set terminal key sni-97801 \6446 \Ksni_del_line	; Alt-Gray-Delete
set terminal key sni-97801 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key sni-97801 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key sni-97801 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key sni-97801 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key sni-97801 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key sni-97801 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key sni-97801 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key sni-97801 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY sun
set terminal key sun \16 \Kignore	; DLE
set terminal key sun \17 \Kignore	; DC1
set terminal key sun \18 \Kignore	; DC2
set terminal key sun \264 \{8}	; Backspace
set terminal key sun /literal \268 \{27}[218z	; Clear
set terminal key sun \269 \{13}	; Enter
set terminal key sun /literal \275 \{27}[208z	; Pause
set terminal key sun \276 \Kignore	; CapsLock
set terminal key sun /literal \289 \{27}[216z	; PageUp
set terminal key sun /literal \290 \{27}[222z	; PageDown
set terminal key sun /literal \291 \{27}[220z	; End
set terminal key sun /literal \292 \{27}[214z	; Home
set terminal key sun \293 \Klfarr	; LeftArrow
set terminal key sun \294 \Kuparr	; UpArrow
set terminal key sun \295 \Krtarr	; RightArrow
set terminal key sun \296 \Kdnarr	; DownArrow
set terminal key sun /literal \298 \{27}[209z	; Print
set terminal key sun /literal \301 \{27}[247z	; Insert
set terminal key sun /literal \302 \{27}[249z	; Delete
set terminal key sun \352 \{48}	; Keypad-0
set terminal key sun \353 \{49}	; Keypad-1
set terminal key sun \354 \{50}	; Keypad-2
set terminal key sun \355 \{51}	; Keypad-3
set terminal key sun \356 \{52}	; Keypad-4
set terminal key sun \357 \{53}	; Keypad-5
set terminal key sun \358 \{54}	; Keypad-6
set terminal key sun \359 \{55}	; Keypad-7
set terminal key sun \360 \{56}	; Keypad-8
set terminal key sun \361 \{57}	; Keypad-9
set terminal key sun /literal \362 \{27}[213z	; Multiply
set terminal key sun /literal \363 \{27}[253z	; Add
set terminal key sun \364 \{47}	; Separator
set terminal key sun /literal \365 \{27}[254z	; Subtract
set terminal key sun \366 \{46}	; Decimal
set terminal key sun /literal \368 \{27}[224z	; F1
set terminal key sun /literal \369 \{27}[225z	; F2
set terminal key sun /literal \370 \{27}[226z	; F3
set terminal key sun /literal \371 \{27}[227z	; F4
set terminal key sun /literal \372 \{27}[228z	; F5
set terminal key sun /literal \373 \{27}[229z	; F6
set terminal key sun /literal \374 \{27}[230z	; F7
set terminal key sun /literal \375 \{27}[231z	; F8
set terminal key sun /literal \376 \{27}[232z	; F9
set terminal key sun /literal \377 \{27}[233z	; F10
set terminal key sun /literal \378 \{27}[234z	; F11
set terminal key sun /literal \379 \{27}[235z	; F12
set terminal key sun \400 \Kignore	; NumLock
set terminal key sun /literal \401 \{27}[210z	; ScrollLock
set terminal key sun \539 \{27}	; Shift-ESC
set terminal key sun \776 \{127}	; Shift-Backspace
set terminal key sun \777 \{8}	; Shift-Tab
set terminal key sun /literal \880 \{27}[224z	; Shift-F1
set terminal key sun /literal \881 \{27}[225z	; Shift-F2
set terminal key sun /literal \882 \{27}[226z	; Shift-F3
set terminal key sun /literal \883 \{27}[227z	; Shift-F4
set terminal key sun /literal \884 \{27}[228z	; Shift-F5
set terminal key sun /literal \885 \{27}[229z	; Shift-F6
set terminal key sun /literal \886 \{27}[230z	; Shift-F7
set terminal key sun /literal \887 \{27}[231z	; Shift-F8
set terminal key sun /literal \888 \{27}[232z	; Shift-F9
set terminal key sun /literal \889 \{27}[233z	; Shift-F10
set terminal key sun /literal \890 \{27}[234z	; Shift-F11
set terminal key sun /literal \891 \{27}[235z	; Shift-F12
set terminal key sun \912 \Kignore	; Shift-NumLock
set terminal key sun \1056 \Knull	; SP
set terminal key sun /literal \1292 \{27}[218z	; Ctrl-Clear
set terminal key sun /literal \1313 \{27}[216z	; Ctrl-PageUp
set terminal key sun /literal \1314 \{27}[222z	; Ctrl-PageDown
set terminal key sun /literal \1315 \{27}[220z	; Ctrl-End
set terminal key sun /literal \1316 \{27}[214z	; Ctrl-Home
set terminal key sun /literal \1317 \{27}[D	; Ctrl-LeftArrow
set terminal key sun /literal \1318 \{27}[A	; Ctrl-UpArrow
set terminal key sun /literal \1319 \{27}[C	; Ctrl-RightArrow
set terminal key sun /literal \1320 \{27}[B	; Ctrl-DownArrow
set terminal key sun /literal \1322 \{27}[209z	; Ctrl-Print
set terminal key sun /literal \1325 \{27}[247z	; Ctrl-Insert
set terminal key sun /literal \1326 \{27}[249z	; Ctrl-Delete
set terminal key sun \1329 \{0}	; Ctrl-1
set terminal key sun \1330 \Knull	; Ctrl-2
set terminal key sun \1334 \{30}	; Ctrl-6
set terminal key sun /literal \1386 \{27}[213z	; Ctrl-Multiply
set terminal key sun /literal \1387 \{27}[253z	; Ctrl-Add
set terminal key sun /literal \1389 \{27}[254z	; Ctrl-Subtract
set terminal key sun /literal \1392 \{27}[224z	; Ctrl-F1
set terminal key sun /literal \1393 \{27}[225z	; Ctrl-F2
set terminal key sun /literal \1394 \{27}[226z	; Ctrl-F3
set terminal key sun /literal \1395 \{27}[227z	; Ctrl-F4
set terminal key sun /literal \1396 \{27}[228z	; Ctrl-F5
set terminal key sun /literal \1397 \{27}[229z	; Ctrl-F6
set terminal key sun /literal \1398 \{27}[230z	; Ctrl-F7
set terminal key sun /literal \1399 \{27}[231z	; Ctrl-F8
set terminal key sun /literal \1400 \{27}[232z	; Ctrl-F9
set terminal key sun /literal \1401 \{27}[233z	; Ctrl-F10
set terminal key sun /literal \1402 \{27}[234z	; Ctrl-F11
set terminal key sun /literal \1403 \{27}[235z	; Ctrl-F12
set terminal key sun \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key sun \1471 \{31}	; Ctrl-OEM.US.Slash
set terminal key sun \1472 \{28}	; Ctrl-OEM.US.Grave
set terminal key sun \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key sun \1842 \Knull	; Ctrl-Shift-2
set terminal key sun \1846 \{30}	; Ctrl-Shift-6
set terminal key sun \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key sun \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key sun \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key sun \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key sun \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key sun \2109 \Kreset	; Alt-=
set terminal key sun \2114 \Kbreak	; Alt-B
set terminal key sun \2115 \Kcompose	; Alt-C
set terminal key sun \2116 \Kdebug	; Alt-D
set terminal key sun \2117 \Kprintff	; Alt-E
set terminal key sun \2118 \Kfnkeys	; Alt-F
set terminal key sun \2120 \Khelp	; Alt-H
set terminal key sun \2123 \Kkeyclick	; Alt-K
set terminal key sun \2124 \Klbreak	; Alt-L
set terminal key sun \2126 \Kucs2	; Alt-N
set terminal key sun \2127 \Kprtauto	; Alt-O
set terminal key sun \2128 \Kdump	; Alt-P
set terminal key sun \2129 \Kquit	; Alt-Q
set terminal key sun \2130 \Kreset	; Alt-R
set terminal key sun \2131 \Kstatus	; Alt-S
set terminal key sun \2132 \Ktermtype	; Alt-T
set terminal key sun \2133 \Khangup	; Alt-U
set terminal key sun \2134 \Kflipscn	; Alt-V
set terminal key sun \2136 \Kexit	; Alt-X
set terminal key sun \2146 \Kbreak	; Alt-b
set terminal key sun \2147 \Kcompose	; Alt-c
set terminal key sun \2148 \Kdebug	; Alt-d
set terminal key sun \2149 \Kprintff	; Alt-e
set terminal key sun \2150 \Kfnkeys	; Alt-f
set terminal key sun \2152 \Khelp	; Alt-h
set terminal key sun \2155 \Kkeyclick	; Alt-k
set terminal key sun \2156 \Klbreak	; Alt-l
set terminal key sun \2158 \Kucs2	; Alt-n
set terminal key sun \2159 \Kprtauto	; Alt-o
set terminal key sun \2160 \Kdump	; Alt-p
set terminal key sun \2161 \Kquit	; Alt-q
set terminal key sun \2162 \Kreset	; Alt-r
set terminal key sun \2163 \Kstatus	; Alt-s
set terminal key sun \2164 \Ktermtype	; Alt-t
set terminal key sun \2165 \Khangup	; Alt-u
set terminal key sun \2166 \Kflipscn	; Alt-v
set terminal key sun \2168 \Kexit	; Alt-x
set terminal key sun \2312 \{8}	; Alt-Backspace
set terminal key sun /literal \2346 \{27}[209z	; Alt-Print
set terminal key sun /literal \2350 \{27}[197q	; Alt-Delete
set terminal key sun /literal \2410 \{27}[188q	; Alt-Multiply
set terminal key sun /literal \2411 \{27}[201q	; Alt-Add
set terminal key sun /literal \2413 \{27}[199q	; Alt-Subtract
set terminal key sun /literal \2416 \{27}[224z	; Alt-F1
set terminal key sun /literal \2417 \{27}[225z	; Alt-F2
set terminal key sun /literal \2418 \{27}[226z	; Alt-F3
set terminal key sun /literal \2419 \{27}[227z	; Alt-F4
set terminal key sun /literal \2420 \{27}[228z	; Alt-F5
set terminal key sun /literal \2421 \{27}[229z	; Alt-F6
set terminal key sun /literal \2422 \{27}[230z	; Alt-F7
set terminal key sun /literal \2423 \{27}[231z	; Alt-F8
set terminal key sun /literal \2424 \{27}[232z	; Alt-F9
set terminal key sun /literal \2425 \{27}[233z	; Alt-F10
set terminal key sun /literal \2426 \{27}[234z	; Alt-F11
set terminal key sun /literal \2427 \{27}[235z	; Alt-F12
set terminal key sun \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key sun \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key sun \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key sun \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key sun \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key sun \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key sun /literal \4143 \{27}[212z	; Kp-/
set terminal key sun \4365 \{10}	; Gray-Enter
set terminal key sun /literal \4385 \{27}[216z	; Gray-PageUp
set terminal key sun /literal \4386 \{27}[222z	; Gray-PageDown
set terminal key sun /literal \4387 \{27}[220z	; Gray-End
set terminal key sun /literal \4388 \{27}[214z	; Gray-Home
set terminal key sun \4389 \Klfarr	; Gray-LeftArrow
set terminal key sun \4390 \Kuparr	; Gray-UpArrow
set terminal key sun \4391 \Krtarr	; Gray-RightArrow
set terminal key sun \4392 \Kdnarr	; Gray-DownArrow
set terminal key sun /literal \4397 \{27}[247z	; Gray-Insert
set terminal key sun \4398 \{127}	; Gray-Delete
set terminal key sun \4443 \Kignore	; Gray-LeftMSWindows
set terminal key sun \4444 \Kignore	; Gray-RightMSWindows
set terminal key sun \4445 \Kignore	; Gray-TaskList
set terminal key sun \4458 \Kdump	; Gray-Multiply
set terminal key sun /literal \4463 \{27}[212z	; Gray-Divide
set terminal key sun \4496 \Kignore	; Gray-NumLock
set terminal key sun \4514 \Kignore	; Gray-162
set terminal key sun \4516 \Kignore	; Gray-164
set terminal key sun \4543 \{47}	; Gray-OEM.US.Slash
set terminal key sun /literal \4897 \{27}[216z	; Shift-Gray-PageUp
set terminal key sun /literal \4898 \{27}[222z	; Shift-Gray-PageDown
set terminal key sun /literal \4899 \{27}[220z	; Shift-Gray-End
set terminal key sun /literal \4900 \{27}[214z	; Shift-Gray-Home
set terminal key sun /literal \4901 \{27}[D	; Shift-Gray-LeftArrow
set terminal key sun /literal \4902 \{27}[A	; Shift-Gray-UpArrow
set terminal key sun /literal \4903 \{27}[C	; Shift-Gray-RightArrow
set terminal key sun /literal \4904 \{27}[B	; Shift-Gray-DownArrow
set terminal key sun /literal \4909 \{27}[247z	; Shift-Gray-Insert
set terminal key sun \4910 \{127}	; Shift-Gray-Delete
set terminal key sun \4970 \Kignore	; Shift-Gray-Multiply
set terminal key sun \5008 \Kignore	; Shift-Gray-NumLock
set terminal key sun /literal \5409 \{27}[216z	; Ctrl-Gray-PageUp
set terminal key sun /literal \5410 \{27}[222z	; Ctrl-Gray-PageDown
set terminal key sun /literal \5411 \{27}[220z	; Ctrl-Gray-End
set terminal key sun /literal \5412 \{27}[214z	; Ctrl-Gray-Home
set terminal key sun /literal \5413 \{27}[D	; Ctrl-Gray-LeftArrow
set terminal key sun /literal \5414 \{27}[A	; Ctrl-Gray-UpArrow
set terminal key sun /literal \5415 \{27}[C	; Ctrl-Gray-RightArrow
set terminal key sun /literal \5416 \{27}[B	; Ctrl-Gray-DownArrow
set terminal key sun /literal \5421 \{27}[247z	; Ctrl-Gray-Insert
set terminal key sun \5422 \{127}	; Ctrl-Gray-Delete
set terminal key sun /literal \5487 \{27}[212z	; Ctrl-Gray-Divide
set terminal key sun \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key sun /literal \6433 \{27}[216z	; Alt-Gray-PageUp
set terminal key sun /literal \6434 \{27}[222z	; Alt-Gray-PageDown
set terminal key sun /literal \6435 \{27}[220z	; Alt-Gray-End
set terminal key sun /literal \6436 \{27}[214z	; Alt-Gray-Home
set terminal key sun /literal \6437 \{27}[D	; Alt-Gray-LeftArrow
set terminal key sun /literal \6438 \{27}[A	; Alt-Gray-UpArrow
set terminal key sun /literal \6439 \{27}[C	; Alt-Gray-RightArrow
set terminal key sun /literal \6440 \{27}[B	; Alt-Gray-DownArrow
set terminal key sun /literal \6445 \{27}[247z	; Alt-Gray-Insert
set terminal key sun \6446 \{127}	; Alt-Gray-Delete
set terminal key sun /literal \6511 \{27}[180q	; Alt-Gray-Divide
set terminal key sun \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key sun \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key sun \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key sun \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key sun \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key sun \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key sun \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key sun \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY tty
set terminal key tty \16 \Kignore	; DLE
set terminal key tty \17 \Kignore	; DC1
set terminal key tty \18 \Kignore	; DC2
set terminal key tty \264 \{127}	; Backspace
set terminal key tty \269 \{13}	; Enter
set terminal key tty \276 \Kignore	; CapsLock
set terminal key tty \290 \Kdnscn	; PageDown
set terminal key tty \291 \Kendscn	; End
set terminal key tty \292 \Khomscn	; Home
set terminal key tty \293 \Klfarr	; LeftArrow
set terminal key tty \294 \Kuparr	; UpArrow
set terminal key tty \295 \Krtarr	; RightArrow
set terminal key tty \296 \Kdnarr	; DownArrow
set terminal key tty \302 \{127}	; Delete
set terminal key tty \352 \{48}	; Keypad-0
set terminal key tty \353 \{49}	; Keypad-1
set terminal key tty \354 \{50}	; Keypad-2
set terminal key tty \355 \{51}	; Keypad-3
set terminal key tty \356 \{52}	; Keypad-4
set terminal key tty \357 \{53}	; Keypad-5
set terminal key tty \358 \{54}	; Keypad-6
set terminal key tty \359 \{55}	; Keypad-7
set terminal key tty \360 \{56}	; Keypad-8
set terminal key tty \361 \{57}	; Keypad-9
set terminal key tty \362 \{42}	; Multiply
set terminal key tty \363 \{43}	; Add
set terminal key tty \364 \{47}	; Separator
set terminal key tty \365 \{45}	; Subtract
set terminal key tty \366 \{46}	; Decimal
set terminal key tty \400 \Kignore	; NumLock
set terminal key tty \401 \Kholdscrn	; ScrollLock
set terminal key tty \539 \{27}	; Shift-ESC
set terminal key tty \776 \{127}	; Shift-Backspace
set terminal key tty \777 \{8}	; Shift-Tab
set terminal key tty \912 \Kignore	; Shift-NumLock
set terminal key tty \1056 \Knull	; SP
set terminal key tty \1326 \{8}	; Ctrl-Delete
set terminal key tty \1330 \Knull	; Ctrl-2
set terminal key tty \1334 \{30}	; Ctrl-6
set terminal key tty \1392 \Kmarkstart	; Ctrl-F1
set terminal key tty \1393 \Kmarkcancel	; Ctrl-F2
set terminal key tty \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key tty \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key tty \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key tty \1842 \Knull	; Ctrl-Shift-2
set terminal key tty \1846 \{30}	; Ctrl-Shift-6
set terminal key tty \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key tty \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key tty \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key tty \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key tty \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key tty \2109 \Kreset	; Alt-=
set terminal key tty \2114 \Kbreak	; Alt-B
set terminal key tty \2115 \Kcompose	; Alt-C
set terminal key tty \2116 \Kdebug	; Alt-D
set terminal key tty \2117 \Kprintff	; Alt-E
set terminal key tty \2118 \Kfnkeys	; Alt-F
set terminal key tty \2120 \Khelp	; Alt-H
set terminal key tty \2123 \Kkeyclick	; Alt-K
set terminal key tty \2124 \Klbreak	; Alt-L
set terminal key tty \2126 \Kucs2	; Alt-N
set terminal key tty \2127 \Kprtauto	; Alt-O
set terminal key tty \2128 \Kdump	; Alt-P
set terminal key tty \2129 \Kquit	; Alt-Q
set terminal key tty \2130 \Kreset	; Alt-R
set terminal key tty \2131 \Kstatus	; Alt-S
set terminal key tty \2132 \Ktermtype	; Alt-T
set terminal key tty \2133 \Khangup	; Alt-U
set terminal key tty \2134 \Kflipscn	; Alt-V
set terminal key tty \2136 \Kexit	; Alt-X
set terminal key tty \2146 \Kbreak	; Alt-b
set terminal key tty \2147 \Kcompose	; Alt-c
set terminal key tty \2148 \Kdebug	; Alt-d
set terminal key tty \2149 \Kprintff	; Alt-e
set terminal key tty \2150 \Kfnkeys	; Alt-f
set terminal key tty \2152 \Khelp	; Alt-h
set terminal key tty \2155 \Kkeyclick	; Alt-k
set terminal key tty \2156 \Klbreak	; Alt-l
set terminal key tty \2158 \Kucs2	; Alt-n
set terminal key tty \2159 \Kprtauto	; Alt-o
set terminal key tty \2160 \Kdump	; Alt-p
set terminal key tty \2161 \Kquit	; Alt-q
set terminal key tty \2162 \Kreset	; Alt-r
set terminal key tty \2163 \Kstatus	; Alt-s
set terminal key tty \2164 \Ktermtype	; Alt-t
set terminal key tty \2165 \Khangup	; Alt-u
set terminal key tty \2166 \Kflipscn	; Alt-v
set terminal key tty \2168 \Kexit	; Alt-x
set terminal key tty \2312 \{8}	; Alt-Backspace
set terminal key tty \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key tty \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key tty \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key tty \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key tty \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key tty \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key tty \4365 \{13}	; Gray-Enter
set terminal key tty \4385 \Kupscn	; Gray-PageUp
set terminal key tty \4386 \Kdnscn	; Gray-PageDown
set terminal key tty \4387 \Kendscn	; Gray-End
set terminal key tty \4388 \Khomscn	; Gray-Home
set terminal key tty \4389 \Klfarr	; Gray-LeftArrow
set terminal key tty \4390 \Kuparr	; Gray-UpArrow
set terminal key tty \4391 \Krtarr	; Gray-RightArrow
set terminal key tty \4392 \Kdnarr	; Gray-DownArrow
set terminal key tty \4398 \{127}	; Gray-Delete
set terminal key tty \4443 \Kignore	; Gray-LeftMSWindows
set terminal key tty \4444 \Kignore	; Gray-RightMSWindows
set terminal key tty \4445 \Kignore	; Gray-TaskList
set terminal key tty \4458 \Kdump	; Gray-Multiply
set terminal key tty \4463 \{47}	; Gray-Divide
set terminal key tty \4496 \Kignore	; Gray-NumLock
set terminal key tty \4514 \Kignore	; Gray-162
set terminal key tty \4516 \Kignore	; Gray-164
set terminal key tty \4543 \{47}	; Gray-OEM.US.Slash
set terminal key tty \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key tty \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key tty \4909 \Kpaste	; Shift-Gray-Insert
set terminal key tty \4910 \{127}	; Shift-Gray-Delete
set terminal key tty \4970 \Kignore	; Shift-Gray-Multiply
set terminal key tty \5008 \Kignore	; Shift-Gray-NumLock
set terminal key tty \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key tty \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key tty \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key tty \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key tty \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key tty \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key tty \5422 \{8}	; Ctrl-Gray-Delete
set terminal key tty \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key tty \6434 \Kdos	; Alt-Gray-PageDown
set terminal key tty \6435 \Kprintff	; Alt-Gray-End
set terminal key tty \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key tty \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key tty \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key tty \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key tty \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key tty \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key tty \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key tty \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key tty \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key tty \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key tty \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key tty \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY tvi910+
set terminal key tvi910+ \16 \Kignore	; DLE
set terminal key tvi910+ \17 \Kignore	; DC1
set terminal key tvi910+ \18 \Kignore	; DC2
set terminal key tvi910+ \264 \Ktvibs	; Backspace
set terminal key tvi910+ \265 \Ktvitab	; Tab
set terminal key tvi910+ \269 \Ktvireturn	; Enter
set terminal key tvi910+ \276 \Kignore	; CapsLock
set terminal key tvi910+ \289 \Ktvipgprev	; PageUp
set terminal key tvi910+ \290 \Ktvipgnext	; PageDown
set terminal key tvi910+ \291 \Ktviclrln	; End
set terminal key tvi910+ \292 \Ktvihome	; Home
set terminal key tvi910+ \293 \Klfarr	; LeftArrow
set terminal key tvi910+ \294 \Kuparr	; UpArrow
set terminal key tvi910+ \295 \Krtarr	; RightArrow
set terminal key tvi910+ \296 \Kdnarr	; DownArrow
set terminal key tvi910+ \301 \Ktvireplace	; Insert
set terminal key tvi910+ \302 \{127}	; Delete
set terminal key tvi910+ \352 \{48}	; Keypad-0
set terminal key tvi910+ \353 \{49}	; Keypad-1
set terminal key tvi910+ \354 \{50}	; Keypad-2
set terminal key tvi910+ \355 \{51}	; Keypad-3
set terminal key tvi910+ \356 \{52}	; Keypad-4
set terminal key tvi910+ \357 \{53}	; Keypad-5
set terminal key tvi910+ \358 \{54}	; Keypad-6
set terminal key tvi910+ \359 \{55}	; Keypad-7
set terminal key tvi910+ \360 \{56}	; Keypad-8
set terminal key tvi910+ \361 \{57}	; Keypad-9
set terminal key tvi910+ \362 \{42}	; Multiply
set terminal key tvi910+ \363 \{43}	; Add
set terminal key tvi910+ \364 \{47}	; Separator
set terminal key tvi910+ \365 \{45}	; Subtract
set terminal key tvi910+ \366 \{46}	; Decimal
set terminal key tvi910+ \368 \Ktvif01	; F1
set terminal key tvi910+ \369 \Ktvif02	; F2
set terminal key tvi910+ \370 \Ktvif03	; F3
set terminal key tvi910+ \371 \Ktvif04	; F4
set terminal key tvi910+ \372 \Ktvif05	; F5
set terminal key tvi910+ \373 \Ktvif06	; F6
set terminal key tvi910+ \374 \Ktvif07	; F7
set terminal key tvi910+ \375 \Ktvif08	; F8
set terminal key tvi910+ \376 \Ktvif09	; F9
set terminal key tvi910+ \377 \Ktvif10	; F10
set terminal key tvi910+ \378 \Ktvif11	; F11
set terminal key tvi910+ \379 \Ktvif12	; F12
set terminal key tvi910+ \400 \Kignore	; NumLock
set terminal key tvi910+ \401 \Kholdscrn	; ScrollLock
set terminal key tvi910+ \539 \{27}	; Shift-ESC
set terminal key tvi910+ \776 \{127}	; Shift-Backspace
set terminal key tvi910+ \777 \Ktvistab	; Shift-Tab
set terminal key tvi910+ \804 \Ktvishome	; Shift-Home
set terminal key tvi910+ \805 \{8}	; Shift-LeftArrow
set terminal key tvi910+ /literal \806 \{27}\{106}	; Shift-UpArrow
set terminal key tvi910+ \807 \{12}	; Shift-RightArrow
set terminal key tvi910+ \808 \{10}	; Shift-DownArrow
set terminal key tvi910+ \813 \Ktviinsert	; Shift-Insert
set terminal key tvi910+ \880 \Ktvisf01	; Shift-F1
set terminal key tvi910+ \881 \Ktvisf02	; Shift-F2
set terminal key tvi910+ \882 \Ktvisf03	; Shift-F3
set terminal key tvi910+ \883 \Ktvisf04	; Shift-F4
set terminal key tvi910+ \884 \Ktvisf05	; Shift-F5
set terminal key tvi910+ \885 \Ktvisf06	; Shift-F6
set terminal key tvi910+ \886 \Ktvisf07	; Shift-F7
set terminal key tvi910+ \887 \Ktvisf08	; Shift-F8
set terminal key tvi910+ \888 \Ktvisf09	; Shift-F9
set terminal key tvi910+ \889 \Ktvisf10	; Shift-F10
set terminal key tvi910+ \890 \Ktvisf11	; Shift-F11
set terminal key tvi910+ \891 \Ktvisf12	; Shift-F12
set terminal key tvi910+ \912 \Kignore	; Shift-NumLock
set terminal key tvi910+ \1056 \Knull	; SP
set terminal key tvi910+ \1326 \{8}	; Ctrl-Delete
set terminal key tvi910+ \1330 \Knull	; Ctrl-2
set terminal key tvi910+ \1334 \{30}	; Ctrl-6
set terminal key tvi910+ \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi910+ \1393 \Kmarkcancel	; Ctrl-F2
set terminal key tvi910+ \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key tvi910+ \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key tvi910+ \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key tvi910+ \1842 \Knull	; Ctrl-Shift-2
set terminal key tvi910+ \1846 \{30}	; Ctrl-Shift-6
set terminal key tvi910+ \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key tvi910+ \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key tvi910+ \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key tvi910+ \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key tvi910+ \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key tvi910+ \2109 \Kreset	; Alt-=
set terminal key tvi910+ \2114 \Kbreak	; Alt-B
set terminal key tvi910+ \2115 \Kcompose	; Alt-C
set terminal key tvi910+ \2116 \Kdebug	; Alt-D
set terminal key tvi910+ \2117 \Kprintff	; Alt-E
set terminal key tvi910+ \2118 \Kfnkeys	; Alt-F
set terminal key tvi910+ \2120 \Khelp	; Alt-H
set terminal key tvi910+ \2123 \Kkeyclick	; Alt-K
set terminal key tvi910+ \2124 \Klbreak	; Alt-L
set terminal key tvi910+ \2126 \Kucs2	; Alt-N
set terminal key tvi910+ \2127 \Kprtauto	; Alt-O
set terminal key tvi910+ \2128 \Kdump	; Alt-P
set terminal key tvi910+ \2129 \Kquit	; Alt-Q
set terminal key tvi910+ \2130 \Kreset	; Alt-R
set terminal key tvi910+ \2131 \Kstatus	; Alt-S
set terminal key tvi910+ \2132 \Ktermtype	; Alt-T
set terminal key tvi910+ \2133 \Khangup	; Alt-U
set terminal key tvi910+ \2134 \Kflipscn	; Alt-V
set terminal key tvi910+ \2136 \Kexit	; Alt-X
set terminal key tvi910+ \2146 \Kbreak	; Alt-b
set terminal key tvi910+ \2147 \Kcompose	; Alt-c
set terminal key tvi910+ \2148 \Kdebug	; Alt-d
set terminal key tvi910+ \2149 \Kprintff	; Alt-e
set terminal key tvi910+ \2150 \Kfnkeys	; Alt-f
set terminal key tvi910+ \2152 \Khelp	; Alt-h
set terminal key tvi910+ \2155 \Kkeyclick	; Alt-k
set terminal key tvi910+ \2156 \Klbreak	; Alt-l
set terminal key tvi910+ \2158 \Kucs2	; Alt-n
set terminal key tvi910+ \2159 \Kprtauto	; Alt-o
set terminal key tvi910+ \2160 \Kdump	; Alt-p
set terminal key tvi910+ \2161 \Kquit	; Alt-q
set terminal key tvi910+ \2162 \Kreset	; Alt-r
set terminal key tvi910+ \2163 \Kstatus	; Alt-s
set terminal key tvi910+ \2164 \Ktermtype	; Alt-t
set terminal key tvi910+ \2165 \Khangup	; Alt-u
set terminal key tvi910+ \2166 \Kflipscn	; Alt-v
set terminal key tvi910+ \2168 \Kexit	; Alt-x
set terminal key tvi910+ \2312 \{8}	; Alt-Backspace
set terminal key tvi910+ \2416 \Ktvif11	; Alt-F1
set terminal key tvi910+ \2417 \Ktvif12	; Alt-F2
set terminal key tvi910+ \2418 \Ktvif13	; Alt-F3
set terminal key tvi910+ \2419 \Ktvif14	; Alt-F4
set terminal key tvi910+ \2420 \Ktvif15	; Alt-F5
set terminal key tvi910+ \2421 \Ktvif16	; Alt-F6
set terminal key tvi910+ \2928 \Ktvisf11	; Alt-Shift-F1
set terminal key tvi910+ \2929 \Ktvisf12	; Alt-Shift-F2
set terminal key tvi910+ \2930 \Ktvisf13	; Alt-Shift-F3
set terminal key tvi910+ \2931 \Ktvisf14	; Alt-Shift-F4
set terminal key tvi910+ \2932 \Ktvisf15	; Alt-Shift-F5
set terminal key tvi910+ \2933 \Ktvisf16	; Alt-Shift-F6
set terminal key tvi910+ \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key tvi910+ \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key tvi910+ \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key tvi910+ \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key tvi910+ \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key tvi910+ \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key tvi910+ \4365 \Ktvienter	; Gray-Enter
set terminal key tvi910+ \4385 \Ktvipgprev	; Gray-PageUp
set terminal key tvi910+ \4386 \Ktvipgnext	; Gray-PageDown
set terminal key tvi910+ \4387 \Ktviclrln	; Gray-End
set terminal key tvi910+ \4388 \Ktvihome	; Gray-Home
set terminal key tvi910+ \4389 \Klfarr	; Gray-LeftArrow
set terminal key tvi910+ \4390 \Kuparr	; Gray-UpArrow
set terminal key tvi910+ \4391 \Krtarr	; Gray-RightArrow
set terminal key tvi910+ \4392 \Kdnarr	; Gray-DownArrow
set terminal key tvi910+ \4397 \Ktvireplace	; Gray-Insert
set terminal key tvi910+ \4398 \Ktvidelchar	; Gray-Delete
set terminal key tvi910+ \4443 \Kignore	; Gray-LeftMSWindows
set terminal key tvi910+ \4444 \Kignore	; Gray-RightMSWindows
set terminal key tvi910+ \4445 \Kignore	; Gray-TaskList
set terminal key tvi910+ \4458 \Kdump	; Gray-Multiply
set terminal key tvi910+ \4463 \{47}	; Gray-Divide
set terminal key tvi910+ \4466 \Ktvif13	; Gray-F3
set terminal key tvi910+ \4467 \Ktvif14	; Gray-F4
set terminal key tvi910+ \4468 \Ktvif15	; Gray-F5
set terminal key tvi910+ \4469 \Ktvif16	; Gray-F6
set terminal key tvi910+ \4476 \Ktvif13	; Gray-F13
set terminal key tvi910+ \4477 \Ktvif14	; Gray-F14
set terminal key tvi910+ \4478 \Ktvif15	; Gray-F15
set terminal key tvi910+ \4479 \Ktvif16	; Gray-F16
set terminal key tvi910+ \4496 \Kignore	; Gray-NumLock
set terminal key tvi910+ \4514 \Kignore	; Gray-162
set terminal key tvi910+ \4516 \Kignore	; Gray-164
set terminal key tvi910+ \4543 \{47}	; Gray-OEM.US.Slash
set terminal key tvi910+ \4899 \Ktviclrpg	; Shift-Gray-End
set terminal key tvi910+ \4900 \Ktvishome	; Shift-Gray-Home
set terminal key tvi910+ \4901 \{8}	; Shift-Gray-LeftArrow
set terminal key tvi910+ /literal \4902 \{27}\{106}	; Shift-Gray-UpArrow
set terminal key tvi910+ \4903 \{12}	; Shift-Gray-RightArrow
set terminal key tvi910+ \4904 \{10}	; Shift-Gray-DownArrow
set terminal key tvi910+ \4909 \Ktviinsert	; Shift-Gray-Insert
set terminal key tvi910+ \4910 \Ktvidelln	; Shift-Gray-Delete
set terminal key tvi910+ \4970 \Kignore	; Shift-Gray-Multiply
set terminal key tvi910+ \4978 \Ktvisf13	; Shift-Gray-F3
set terminal key tvi910+ \4979 \Ktvisf14	; Shift-Gray-F4
set terminal key tvi910+ \4980 \Ktvisf15	; Shift-Gray-F5
set terminal key tvi910+ \4981 \Ktvisf16	; Shift-Gray-F6
set terminal key tvi910+ \4988 \Ktvisf13	; Shift-Gray-F13
set terminal key tvi910+ \4989 \Ktvisf14	; Shift-Gray-F14
set terminal key tvi910+ \4990 \Ktvisf15	; Shift-Gray-F15
set terminal key tvi910+ \4991 \Ktvisf16	; Shift-Gray-F16
set terminal key tvi910+ \5008 \Kignore	; Shift-Gray-NumLock
set terminal key tvi910+ \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key tvi910+ \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key tvi910+ \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key tvi910+ \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key tvi910+ \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key tvi910+ \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key tvi910+ \5422 \{8}	; Ctrl-Gray-Delete
set terminal key tvi910+ \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key tvi910+ \6434 \Kdos	; Alt-Gray-PageDown
set terminal key tvi910+ \6435 \Kprintff	; Alt-Gray-End
set terminal key tvi910+ \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key tvi910+ \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key tvi910+ \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key tvi910+ \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key tvi910+ \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key tvi910+ \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key tvi910+ \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key tvi910+ \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key tvi910+ \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key tvi910+ \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key tvi910+ \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key tvi910+ \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY tvi925
set terminal key tvi925 \16 \Kignore	; DLE
set terminal key tvi925 \17 \Kignore	; DC1
set terminal key tvi925 \18 \Kignore	; DC2
set terminal key tvi925 \264 \Ktvibs	; Backspace
set terminal key tvi925 \265 \Ktvitab	; Tab
set terminal key tvi925 \269 \Ktvireturn	; Enter
set terminal key tvi925 \276 \Kignore	; CapsLock
set terminal key tvi925 \289 \Ktvipgprev	; PageUp
set terminal key tvi925 \290 \Ktvipgnext	; PageDown
set terminal key tvi925 \291 \Ktviclrln	; End
set terminal key tvi925 \292 \Ktvihome	; Home
set terminal key tvi925 \293 \Klfarr	; LeftArrow
set terminal key tvi925 \294 \Kuparr	; UpArrow
set terminal key tvi925 \295 \Krtarr	; RightArrow
set terminal key tvi925 \296 \Kdnarr	; DownArrow
set terminal key tvi925 \301 \Ktvireplace	; Insert
set terminal key tvi925 \302 \{127}	; Delete
set terminal key tvi925 \352 \{48}	; Keypad-0
set terminal key tvi925 \353 \{49}	; Keypad-1
set terminal key tvi925 \354 \{50}	; Keypad-2
set terminal key tvi925 \355 \{51}	; Keypad-3
set terminal key tvi925 \356 \{52}	; Keypad-4
set terminal key tvi925 \357 \{53}	; Keypad-5
set terminal key tvi925 \358 \{54}	; Keypad-6
set terminal key tvi925 \359 \{55}	; Keypad-7
set terminal key tvi925 \360 \{56}	; Keypad-8
set terminal key tvi925 \361 \{57}	; Keypad-9
set terminal key tvi925 \362 \{42}	; Multiply
set terminal key tvi925 \363 \{43}	; Add
set terminal key tvi925 \364 \{47}	; Separator
set terminal key tvi925 \365 \{45}	; Subtract
set terminal key tvi925 \366 \{46}	; Decimal
set terminal key tvi925 \368 \Ktvif01	; F1
set terminal key tvi925 \369 \Ktvif02	; F2
set terminal key tvi925 \370 \Ktvif03	; F3
set terminal key tvi925 \371 \Ktvif04	; F4
set terminal key tvi925 \372 \Ktvif05	; F5
set terminal key tvi925 \373 \Ktvif06	; F6
set terminal key tvi925 \374 \Ktvif07	; F7
set terminal key tvi925 \375 \Ktvif08	; F8
set terminal key tvi925 \376 \Ktvif09	; F9
set terminal key tvi925 \377 \Ktvif10	; F10
set terminal key tvi925 \378 \Ktvif11	; F11
set terminal key tvi925 \379 \Ktvif12	; F12
set terminal key tvi925 \400 \Kignore	; NumLock
set terminal key tvi925 \401 \Kholdscrn	; ScrollLock
set terminal key tvi925 \539 \{27}	; Shift-ESC
set terminal key tvi925 \776 \{127}	; Shift-Backspace
set terminal key tvi925 \777 \Ktvistab	; Shift-Tab
set terminal key tvi925 \804 \Ktvishome	; Shift-Home
set terminal key tvi925 \805 \{8}	; Shift-LeftArrow
set terminal key tvi925 /literal \806 \{27}\{106}	; Shift-UpArrow
set terminal key tvi925 \807 \{12}	; Shift-RightArrow
set terminal key tvi925 \808 \{10}	; Shift-DownArrow
set terminal key tvi925 \813 \Ktviinsert	; Shift-Insert
set terminal key tvi925 \880 \Ktvisf01	; Shift-F1
set terminal key tvi925 \881 \Ktvisf02	; Shift-F2
set terminal key tvi925 \882 \Ktvisf03	; Shift-F3
set terminal key tvi925 \883 \Ktvisf04	; Shift-F4
set terminal key tvi925 \884 \Ktvisf05	; Shift-F5
set terminal key tvi925 \885 \Ktvisf06	; Shift-F6
set terminal key tvi925 \886 \Ktvisf07	; Shift-F7
set terminal key tvi925 \887 \Ktvisf08	; Shift-F8
set terminal key tvi925 \888 \Ktvisf09	; Shift-F9
set terminal key tvi925 \889 \Ktvisf10	; Shift-F10
set terminal key tvi925 \890 \Ktvisf11	; Shift-F11
set terminal key tvi925 \891 \Ktvisf12	; Shift-F12
set terminal key tvi925 \912 \Kignore	; Shift-NumLock
set terminal key tvi925 \1056 \Knull	; SP
set terminal key tvi925 \1326 \{8}	; Ctrl-Delete
set terminal key tvi925 \1330 \Knull	; Ctrl-2
set terminal key tvi925 \1334 \{30}	; Ctrl-6
set terminal key tvi925 \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi925 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key tvi925 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key tvi925 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key tvi925 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key tvi925 \1842 \Knull	; Ctrl-Shift-2
set terminal key tvi925 \1846 \{30}	; Ctrl-Shift-6
set terminal key tvi925 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key tvi925 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key tvi925 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key tvi925 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key tvi925 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key tvi925 \2109 \Kreset	; Alt-=
set terminal key tvi925 \2114 \Kbreak	; Alt-B
set terminal key tvi925 \2115 \Kcompose	; Alt-C
set terminal key tvi925 \2116 \Kdebug	; Alt-D
set terminal key tvi925 \2117 \Kprintff	; Alt-E
set terminal key tvi925 \2118 \Kfnkeys	; Alt-F
set terminal key tvi925 \2120 \Khelp	; Alt-H
set terminal key tvi925 \2123 \Kkeyclick	; Alt-K
set terminal key tvi925 \2124 \Klbreak	; Alt-L
set terminal key tvi925 \2126 \Kucs2	; Alt-N
set terminal key tvi925 \2127 \Kprtauto	; Alt-O
set terminal key tvi925 \2128 \Kdump	; Alt-P
set terminal key tvi925 \2129 \Kquit	; Alt-Q
set terminal key tvi925 \2130 \Kreset	; Alt-R
set terminal key tvi925 \2131 \Kstatus	; Alt-S
set terminal key tvi925 \2132 \Ktermtype	; Alt-T
set terminal key tvi925 \2133 \Khangup	; Alt-U
set terminal key tvi925 \2134 \Kflipscn	; Alt-V
set terminal key tvi925 \2136 \Kexit	; Alt-X
set terminal key tvi925 \2146 \Kbreak	; Alt-b
set terminal key tvi925 \2147 \Kcompose	; Alt-c
set terminal key tvi925 \2148 \Kdebug	; Alt-d
set terminal key tvi925 \2149 \Kprintff	; Alt-e
set terminal key tvi925 \2150 \Kfnkeys	; Alt-f
set terminal key tvi925 \2152 \Khelp	; Alt-h
set terminal key tvi925 \2155 \Kkeyclick	; Alt-k
set terminal key tvi925 \2156 \Klbreak	; Alt-l
set terminal key tvi925 \2158 \Kucs2	; Alt-n
set terminal key tvi925 \2159 \Kprtauto	; Alt-o
set terminal key tvi925 \2160 \Kdump	; Alt-p
set terminal key tvi925 \2161 \Kquit	; Alt-q
set terminal key tvi925 \2162 \Kreset	; Alt-r
set terminal key tvi925 \2163 \Kstatus	; Alt-s
set terminal key tvi925 \2164 \Ktermtype	; Alt-t
set terminal key tvi925 \2165 \Khangup	; Alt-u
set terminal key tvi925 \2166 \Kflipscn	; Alt-v
set terminal key tvi925 \2168 \Kexit	; Alt-x
set terminal key tvi925 \2312 \{8}	; Alt-Backspace
set terminal key tvi925 \2416 \Ktvif11	; Alt-F1
set terminal key tvi925 \2417 \Ktvif12	; Alt-F2
set terminal key tvi925 \2418 \Ktvif13	; Alt-F3
set terminal key tvi925 \2419 \Ktvif14	; Alt-F4
set terminal key tvi925 \2420 \Ktvif15	; Alt-F5
set terminal key tvi925 \2421 \Ktvif16	; Alt-F6
set terminal key tvi925 \2928 \Ktvisf11	; Alt-Shift-F1
set terminal key tvi925 \2929 \Ktvisf12	; Alt-Shift-F2
set terminal key tvi925 \2930 \Ktvisf13	; Alt-Shift-F3
set terminal key tvi925 \2931 \Ktvisf14	; Alt-Shift-F4
set terminal key tvi925 \2932 \Ktvisf15	; Alt-Shift-F5
set terminal key tvi925 \2933 \Ktvisf16	; Alt-Shift-F6
set terminal key tvi925 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key tvi925 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key tvi925 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key tvi925 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key tvi925 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key tvi925 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key tvi925 \4365 \Ktvienter	; Gray-Enter
set terminal key tvi925 \4385 \Ktvipgprev	; Gray-PageUp
set terminal key tvi925 \4386 \Ktvipgnext	; Gray-PageDown
set terminal key tvi925 \4387 \Ktviclrln	; Gray-End
set terminal key tvi925 \4388 \Ktvihome	; Gray-Home
set terminal key tvi925 \4389 \Klfarr	; Gray-LeftArrow
set terminal key tvi925 \4390 \Kuparr	; Gray-UpArrow
set terminal key tvi925 \4391 \Krtarr	; Gray-RightArrow
set terminal key tvi925 \4392 \Kdnarr	; Gray-DownArrow
set terminal key tvi925 \4397 \Ktvireplace	; Gray-Insert
set terminal key tvi925 \4398 \Ktvidelchar	; Gray-Delete
set terminal key tvi925 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key tvi925 \4444 \Kignore	; Gray-RightMSWindows
set terminal key tvi925 \4445 \Kignore	; Gray-TaskList
set terminal key tvi925 \4458 \Kdump	; Gray-Multiply
set terminal key tvi925 \4463 \{47}	; Gray-Divide
set terminal key tvi925 \4466 \Ktvif13	; Gray-F3
set terminal key tvi925 \4467 \Ktvif14	; Gray-F4
set terminal key tvi925 \4468 \Ktvif15	; Gray-F5
set terminal key tvi925 \4469 \Ktvif16	; Gray-F6
set terminal key tvi925 \4476 \Ktvif13	; Gray-F13
set terminal key tvi925 \4477 \Ktvif14	; Gray-F14
set terminal key tvi925 \4478 \Ktvif15	; Gray-F15
set terminal key tvi925 \4479 \Ktvif16	; Gray-F16
set terminal key tvi925 \4496 \Kignore	; Gray-NumLock
set terminal key tvi925 \4514 \Kignore	; Gray-162
set terminal key tvi925 \4516 \Kignore	; Gray-164
set terminal key tvi925 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key tvi925 \4899 \Ktviclrpg	; Shift-Gray-End
set terminal key tvi925 \4900 \Ktvishome	; Shift-Gray-Home
set terminal key tvi925 \4901 \{8}	; Shift-Gray-LeftArrow
set terminal key tvi925 /literal \4902 \{27}\{106}	; Shift-Gray-UpArrow
set terminal key tvi925 \4903 \{12}	; Shift-Gray-RightArrow
set terminal key tvi925 \4904 \{10}	; Shift-Gray-DownArrow
set terminal key tvi925 \4909 \Ktviinsert	; Shift-Gray-Insert
set terminal key tvi925 \4910 \Ktvidelln	; Shift-Gray-Delete
set terminal key tvi925 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key tvi925 \4978 \Ktvisf13	; Shift-Gray-F3
set terminal key tvi925 \4979 \Ktvisf14	; Shift-Gray-F4
set terminal key tvi925 \4980 \Ktvisf15	; Shift-Gray-F5
set terminal key tvi925 \4981 \Ktvisf16	; Shift-Gray-F6
set terminal key tvi925 \4988 \Ktvisf13	; Shift-Gray-F13
set terminal key tvi925 \4989 \Ktvisf14	; Shift-Gray-F14
set terminal key tvi925 \4990 \Ktvisf15	; Shift-Gray-F15
set terminal key tvi925 \4991 \Ktvisf16	; Shift-Gray-F16
set terminal key tvi925 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key tvi925 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key tvi925 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key tvi925 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key tvi925 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key tvi925 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key tvi925 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key tvi925 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key tvi925 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key tvi925 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key tvi925 \6435 \Kprintff	; Alt-Gray-End
set terminal key tvi925 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key tvi925 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key tvi925 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key tvi925 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key tvi925 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key tvi925 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key tvi925 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key tvi925 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key tvi925 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key tvi925 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key tvi925 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key tvi925 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY tvi950
set terminal key tvi950 \16 \Kignore	; DLE
set terminal key tvi950 \17 \Kignore	; DC1
set terminal key tvi950 \18 \Kignore	; DC2
set terminal key tvi950 \264 \Ktvibs	; Backspace
set terminal key tvi950 \265 \Ktvitab	; Tab
set terminal key tvi950 \269 \Ktvireturn	; Enter
set terminal key tvi950 \276 \Kignore	; CapsLock
set terminal key tvi950 \289 \Ktvipgprev	; PageUp
set terminal key tvi950 \290 \Ktvipgnext	; PageDown
set terminal key tvi950 \291 \Ktviclrln	; End
set terminal key tvi950 \292 \Ktvihome	; Home
set terminal key tvi950 \293 \Klfarr	; LeftArrow
set terminal key tvi950 \294 \Kuparr	; UpArrow
set terminal key tvi950 \295 \Krtarr	; RightArrow
set terminal key tvi950 \296 \Kdnarr	; DownArrow
set terminal key tvi950 \301 \Ktvireplace	; Insert
set terminal key tvi950 \302 \{127}	; Delete
set terminal key tvi950 \352 \{48}	; Keypad-0
set terminal key tvi950 \353 \{49}	; Keypad-1
set terminal key tvi950 \354 \{50}	; Keypad-2
set terminal key tvi950 \355 \{51}	; Keypad-3
set terminal key tvi950 \356 \{52}	; Keypad-4
set terminal key tvi950 \357 \{53}	; Keypad-5
set terminal key tvi950 \358 \{54}	; Keypad-6
set terminal key tvi950 \359 \{55}	; Keypad-7
set terminal key tvi950 \360 \{56}	; Keypad-8
set terminal key tvi950 \361 \{57}	; Keypad-9
set terminal key tvi950 \362 \{42}	; Multiply
set terminal key tvi950 \363 \{43}	; Add
set terminal key tvi950 \364 \{47}	; Separator
set terminal key tvi950 \365 \{45}	; Subtract
set terminal key tvi950 \366 \{46}	; Decimal
set terminal key tvi950 \368 \Ktvif01	; F1
set terminal key tvi950 \369 \Ktvif02	; F2
set terminal key tvi950 \370 \Ktvif03	; F3
set terminal key tvi950 \371 \Ktvif04	; F4
set terminal key tvi950 \372 \Ktvif05	; F5
set terminal key tvi950 \373 \Ktvif06	; F6
set terminal key tvi950 \374 \Ktvif07	; F7
set terminal key tvi950 \375 \Ktvif08	; F8
set terminal key tvi950 \376 \Ktvif09	; F9
set terminal key tvi950 \377 \Ktvif10	; F10
set terminal key tvi950 \378 \Ktvif11	; F11
set terminal key tvi950 \379 \Ktvisend	; F12
set terminal key tvi950 \400 \Kignore	; NumLock
set terminal key tvi950 \401 \Kholdscrn	; ScrollLock
set terminal key tvi950 \539 \{27}	; Shift-ESC
set terminal key tvi950 \776 \{127}	; Shift-Backspace
set terminal key tvi950 \777 \Ktvistab	; Shift-Tab
set terminal key tvi950 \804 \Ktvishome	; Shift-Home
set terminal key tvi950 \805 \{8}	; Shift-LeftArrow
set terminal key tvi950 /literal \806 \{27}\{106}	; Shift-UpArrow
set terminal key tvi950 \807 \{12}	; Shift-RightArrow
set terminal key tvi950 \808 \{10}	; Shift-DownArrow
set terminal key tvi950 \813 \Ktviinsert	; Shift-Insert
set terminal key tvi950 \880 \Ktvisf01	; Shift-F1
set terminal key tvi950 \881 \Ktvisf02	; Shift-F2
set terminal key tvi950 \882 \Ktvisf03	; Shift-F3
set terminal key tvi950 \883 \Ktvisf04	; Shift-F4
set terminal key tvi950 \884 \Ktvisf05	; Shift-F5
set terminal key tvi950 \885 \Ktvisf06	; Shift-F6
set terminal key tvi950 \886 \Ktvisf07	; Shift-F7
set terminal key tvi950 \887 \Ktvisf08	; Shift-F8
set terminal key tvi950 \888 \Ktvisf09	; Shift-F9
set terminal key tvi950 \889 \Ktvisf10	; Shift-F10
set terminal key tvi950 \890 \Ktvisf11	; Shift-F11
set terminal key tvi950 \891 \Ktvisf12	; Shift-F12
set terminal key tvi950 \912 \Kignore	; Shift-NumLock
set terminal key tvi950 \1056 \Knull	; SP
set terminal key tvi950 \1326 \{8}	; Ctrl-Delete
set terminal key tvi950 \1330 \Knull	; Ctrl-2
set terminal key tvi950 \1334 \{30}	; Ctrl-6
set terminal key tvi950 \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi950 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key tvi950 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key tvi950 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key tvi950 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key tvi950 \1842 \Knull	; Ctrl-Shift-2
set terminal key tvi950 \1846 \{30}	; Ctrl-Shift-6
set terminal key tvi950 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key tvi950 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key tvi950 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key tvi950 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key tvi950 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key tvi950 \2109 \Kreset	; Alt-=
set terminal key tvi950 \2114 \Kbreak	; Alt-B
set terminal key tvi950 \2115 \Kcompose	; Alt-C
set terminal key tvi950 \2116 \Kdebug	; Alt-D
set terminal key tvi950 \2117 \Kprintff	; Alt-E
set terminal key tvi950 \2118 \Kfnkeys	; Alt-F
set terminal key tvi950 \2120 \Khelp	; Alt-H
set terminal key tvi950 \2123 \Kkeyclick	; Alt-K
set terminal key tvi950 \2124 \Klbreak	; Alt-L
set terminal key tvi950 \2126 \Kucs2	; Alt-N
set terminal key tvi950 \2127 \Kprtauto	; Alt-O
set terminal key tvi950 \2128 \Kdump	; Alt-P
set terminal key tvi950 \2129 \Kquit	; Alt-Q
set terminal key tvi950 \2130 \Kreset	; Alt-R
set terminal key tvi950 \2131 \Kstatus	; Alt-S
set terminal key tvi950 \2132 \Ktermtype	; Alt-T
set terminal key tvi950 \2133 \Khangup	; Alt-U
set terminal key tvi950 \2134 \Kflipscn	; Alt-V
set terminal key tvi950 \2136 \Kexit	; Alt-X
set terminal key tvi950 \2146 \Kbreak	; Alt-b
set terminal key tvi950 \2147 \Kcompose	; Alt-c
set terminal key tvi950 \2148 \Kdebug	; Alt-d
set terminal key tvi950 \2149 \Kprintff	; Alt-e
set terminal key tvi950 \2150 \Kfnkeys	; Alt-f
set terminal key tvi950 \2152 \Khelp	; Alt-h
set terminal key tvi950 \2155 \Kkeyclick	; Alt-k
set terminal key tvi950 \2156 \Klbreak	; Alt-l
set terminal key tvi950 \2158 \Kucs2	; Alt-n
set terminal key tvi950 \2159 \Kprtauto	; Alt-o
set terminal key tvi950 \2160 \Kdump	; Alt-p
set terminal key tvi950 \2161 \Kquit	; Alt-q
set terminal key tvi950 \2162 \Kreset	; Alt-r
set terminal key tvi950 \2163 \Kstatus	; Alt-s
set terminal key tvi950 \2164 \Ktermtype	; Alt-t
set terminal key tvi950 \2165 \Khangup	; Alt-u
set terminal key tvi950 \2166 \Kflipscn	; Alt-v
set terminal key tvi950 \2168 \Kexit	; Alt-x
set terminal key tvi950 \2312 \{8}	; Alt-Backspace
set terminal key tvi950 \2416 \Ktvif11	; Alt-F1
set terminal key tvi950 \2417 \Ktvif12	; Alt-F2
set terminal key tvi950 \2418 \Ktvif13	; Alt-F3
set terminal key tvi950 \2419 \Ktvif14	; Alt-F4
set terminal key tvi950 \2420 \Ktvif15	; Alt-F5
set terminal key tvi950 \2421 \Ktvif16	; Alt-F6
set terminal key tvi950 \2928 \Ktvisf11	; Alt-Shift-F1
set terminal key tvi950 \2929 \Ktvissend	; Alt-Shift-F2
set terminal key tvi950 \2930 \Ktvisf13	; Alt-Shift-F3
set terminal key tvi950 \2931 \Ktvisf14	; Alt-Shift-F4
set terminal key tvi950 \2932 \Ktvisf15	; Alt-Shift-F5
set terminal key tvi950 \2933 \Ktvisf16	; Alt-Shift-F6
set terminal key tvi950 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key tvi950 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key tvi950 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key tvi950 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key tvi950 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key tvi950 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key tvi950 \4365 \Ktvienter	; Gray-Enter
set terminal key tvi950 \4385 \Ktvipgprev	; Gray-PageUp
set terminal key tvi950 \4386 \Ktvipgnext	; Gray-PageDown
set terminal key tvi950 \4387 \Ktviclrln	; Gray-End
set terminal key tvi950 \4388 \Ktvihome	; Gray-Home
set terminal key tvi950 \4389 \Klfarr	; Gray-LeftArrow
set terminal key tvi950 \4390 \Kuparr	; Gray-UpArrow
set terminal key tvi950 \4391 \Krtarr	; Gray-RightArrow
set terminal key tvi950 \4392 \Kdnarr	; Gray-DownArrow
set terminal key tvi950 \4397 \Ktvireplace	; Gray-Insert
set terminal key tvi950 \4398 \Ktvidelchar	; Gray-Delete
set terminal key tvi950 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key tvi950 \4444 \Kignore	; Gray-RightMSWindows
set terminal key tvi950 \4445 \Kignore	; Gray-TaskList
set terminal key tvi950 \4458 \Kdump	; Gray-Multiply
set terminal key tvi950 \4463 \{47}	; Gray-Divide
set terminal key tvi950 \4466 \Ktvif13	; Gray-F3
set terminal key tvi950 \4467 \Ktvif14	; Gray-F4
set terminal key tvi950 \4468 \Ktvif15	; Gray-F5
set terminal key tvi950 \4469 \Ktvif16	; Gray-F6
set terminal key tvi950 \4476 \Ktvif13	; Gray-F13
set terminal key tvi950 \4477 \Ktvif14	; Gray-F14
set terminal key tvi950 \4478 \Ktvif15	; Gray-F15
set terminal key tvi950 \4479 \Ktvif16	; Gray-F16
set terminal key tvi950 \4496 \Kignore	; Gray-NumLock
set terminal key tvi950 \4514 \Kignore	; Gray-162
set terminal key tvi950 \4516 \Kignore	; Gray-164
set terminal key tvi950 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key tvi950 \4899 \Ktviclrpg	; Shift-Gray-End
set terminal key tvi950 \4900 \Ktvishome	; Shift-Gray-Home
set terminal key tvi950 \4901 \{8}	; Shift-Gray-LeftArrow
set terminal key tvi950 /literal \4902 \{27}\{106}	; Shift-Gray-UpArrow
set terminal key tvi950 \4903 \{12}	; Shift-Gray-RightArrow
set terminal key tvi950 \4904 \{10}	; Shift-Gray-DownArrow
set terminal key tvi950 \4909 \Ktviinsert	; Shift-Gray-Insert
set terminal key tvi950 \4910 \Ktvidelln	; Shift-Gray-Delete
set terminal key tvi950 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key tvi950 \4978 \Ktvisf13	; Shift-Gray-F3
set terminal key tvi950 \4979 \Ktvisf14	; Shift-Gray-F4
set terminal key tvi950 \4980 \Ktvisf15	; Shift-Gray-F5
set terminal key tvi950 \4981 \Ktvisf16	; Shift-Gray-F6
set terminal key tvi950 \4988 \Ktvisf13	; Shift-Gray-F13
set terminal key tvi950 \4989 \Ktvisf14	; Shift-Gray-F14
set terminal key tvi950 \4990 \Ktvisf15	; Shift-Gray-F15
set terminal key tvi950 \4991 \Ktvisf16	; Shift-Gray-F16
set terminal key tvi950 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key tvi950 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key tvi950 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key tvi950 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key tvi950 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key tvi950 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key tvi950 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key tvi950 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key tvi950 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key tvi950 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key tvi950 \6435 \Kprintff	; Alt-Gray-End
set terminal key tvi950 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key tvi950 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key tvi950 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key tvi950 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key tvi950 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key tvi950 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key tvi950 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key tvi950 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key tvi950 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key tvi950 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key tvi950 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key tvi950 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vc404
set terminal key vc404 \16 \Kignore	; DLE
set terminal key vc404 \17 \Kignore	; DC1
set terminal key vc404 \18 \Kignore	; DC2
set terminal key vc404 \264 \{8}	; Backspace
set terminal key vc404 \265 \{9}	; Tab
set terminal key vc404 \269 \{13}	; Enter
set terminal key vc404 \276 \Kignore	; CapsLock
set terminal key vc404 \290 \Kdnscn	; PageDown
set terminal key vc404 \291 \Kendscn	; End
set terminal key vc404 \292 \Khomscn	; Home
set terminal key vc404 \293 \Klfarr	; LeftArrow
set terminal key vc404 \294 \Kuparr	; UpArrow
set terminal key vc404 \295 \Krtarr	; RightArrow
set terminal key vc404 \296 \Kdnarr	; DownArrow
set terminal key vc404 \302 \{127}	; Delete
set terminal key vc404 \352 \{48}	; Keypad-0
set terminal key vc404 \353 \{49}	; Keypad-1
set terminal key vc404 \354 \{50}	; Keypad-2
set terminal key vc404 \355 \{51}	; Keypad-3
set terminal key vc404 \356 \{52}	; Keypad-4
set terminal key vc404 \357 \{53}	; Keypad-5
set terminal key vc404 \358 \{54}	; Keypad-6
set terminal key vc404 \359 \{55}	; Keypad-7
set terminal key vc404 \360 \{56}	; Keypad-8
set terminal key vc404 \361 \{57}	; Keypad-9
set terminal key vc404 \362 \{42}	; Multiply
set terminal key vc404 \363 \{43}	; Add
set terminal key vc404 \364 \{47}	; Separator
set terminal key vc404 \365 \{45}	; Subtract
set terminal key vc404 \366 \{46}	; Decimal
set terminal key vc404 \368 \{1}	; F1
set terminal key vc404 \369 \{2}	; F2
set terminal key vc404 \370 \{3}	; F3
set terminal key vc404 \371 \{4}	; F4
set terminal key vc404 \372 \{5}	; F5
set terminal key vc404 \373 \{6}	; F6
set terminal key vc404 \374 \{18}	; F7
set terminal key vc404 \375 \{20}	; F8
set terminal key vc404 \376 \{28}	; F9
set terminal key vc404 \377 \{29}	; F10
set terminal key vc404 \378 \{30}	; F11
set terminal key vc404 \379 \{31}	; F12
set terminal key vc404 \400 \Kignore	; NumLock
set terminal key vc404 \401 \Kholdscrn	; ScrollLock
set terminal key vc404 \539 \{27}	; Shift-ESC
set terminal key vc404 \776 \{127}	; Shift-Backspace
set terminal key vc404 /literal \777 \{27}\{9}	; Shift-Tab
set terminal key vc404 \912 \Kignore	; Shift-NumLock
set terminal key vc404 \1056 \Knull	; SP
set terminal key vc404 \1326 \{8}	; Ctrl-Delete
set terminal key vc404 \1330 \Knull	; Ctrl-2
set terminal key vc404 \1334 \{30}	; Ctrl-6
set terminal key vc404 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vc404 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vc404 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vc404 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vc404 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key vc404 \1842 \Knull	; Ctrl-Shift-2
set terminal key vc404 \1846 \{30}	; Ctrl-Shift-6
set terminal key vc404 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vc404 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vc404 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vc404 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vc404 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vc404 \2109 \Kreset	; Alt-=
set terminal key vc404 \2114 \Kbreak	; Alt-B
set terminal key vc404 \2115 \Kcompose	; Alt-C
set terminal key vc404 \2116 \Kdebug	; Alt-D
set terminal key vc404 \2117 \Kprintff	; Alt-E
set terminal key vc404 \2118 \Kfnkeys	; Alt-F
set terminal key vc404 \2120 \Khelp	; Alt-H
set terminal key vc404 \2123 \Kkeyclick	; Alt-K
set terminal key vc404 \2124 \Klbreak	; Alt-L
set terminal key vc404 \2126 \Kucs2	; Alt-N
set terminal key vc404 \2127 \Kprtauto	; Alt-O
set terminal key vc404 \2128 \Kdump	; Alt-P
set terminal key vc404 \2129 \Kquit	; Alt-Q
set terminal key vc404 \2130 \Kreset	; Alt-R
set terminal key vc404 \2131 \Kstatus	; Alt-S
set terminal key vc404 \2132 \Ktermtype	; Alt-T
set terminal key vc404 \2133 \Khangup	; Alt-U
set terminal key vc404 \2134 \Kflipscn	; Alt-V
set terminal key vc404 \2136 \Kexit	; Alt-X
set terminal key vc404 \2146 \Kbreak	; Alt-b
set terminal key vc404 \2147 \Kcompose	; Alt-c
set terminal key vc404 \2148 \Kdebug	; Alt-d
set terminal key vc404 \2149 \Kprintff	; Alt-e
set terminal key vc404 \2150 \Kfnkeys	; Alt-f
set terminal key vc404 \2152 \Khelp	; Alt-h
set terminal key vc404 \2155 \Kkeyclick	; Alt-k
set terminal key vc404 \2156 \Klbreak	; Alt-l
set terminal key vc404 \2158 \Kucs2	; Alt-n
set terminal key vc404 \2159 \Kprtauto	; Alt-o
set terminal key vc404 \2160 \Kdump	; Alt-p
set terminal key vc404 \2161 \Kquit	; Alt-q
set terminal key vc404 \2162 \Kreset	; Alt-r
set terminal key vc404 \2163 \Kstatus	; Alt-s
set terminal key vc404 \2164 \Ktermtype	; Alt-t
set terminal key vc404 \2165 \Khangup	; Alt-u
set terminal key vc404 \2166 \Kflipscn	; Alt-v
set terminal key vc404 \2168 \Kexit	; Alt-x
set terminal key vc404 \2312 \{8}	; Alt-Backspace
set terminal key vc404 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vc404 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vc404 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vc404 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vc404 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vc404 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vc404 \4365 \{13}	; Gray-Enter
set terminal key vc404 \4385 \Kupscn	; Gray-PageUp
set terminal key vc404 \4386 \Kdnscn	; Gray-PageDown
set terminal key vc404 \4387 \Kendscn	; Gray-End
set terminal key vc404 \4388 \Khomscn	; Gray-Home
set terminal key vc404 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vc404 \4390 \Kuparr	; Gray-UpArrow
set terminal key vc404 \4391 \Krtarr	; Gray-RightArrow
set terminal key vc404 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vc404 /literal \4397 \{27}\{105}	; Gray-Insert
set terminal key vc404 /literal \4398 \{27}\{100}	; Gray-Delete
set terminal key vc404 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vc404 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vc404 \4445 \Kignore	; Gray-TaskList
set terminal key vc404 \4458 \Kdump	; Gray-Multiply
set terminal key vc404 \4463 \{47}	; Gray-Divide
set terminal key vc404 \4496 \Kignore	; Gray-NumLock
set terminal key vc404 \4514 \Kignore	; Gray-162
set terminal key vc404 \4516 \Kignore	; Gray-164
set terminal key vc404 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key vc404 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vc404 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vc404 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vc404 \4910 \{127}	; Shift-Gray-Delete
set terminal key vc404 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vc404 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vc404 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vc404 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vc404 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vc404 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vc404 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vc404 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vc404 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vc404 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vc404 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key vc404 \6435 \Kprintff	; Alt-Gray-End
set terminal key vc404 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vc404 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vc404 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vc404 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vc404 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vc404 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vc404 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vc404 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vc404 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vc404 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vc404 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vc404 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vip7809
set terminal key vip7809 \16 \Kignore	; DLE
set terminal key vip7809 \17 \Kignore	; DC1
set terminal key vip7809 \18 \Kignore	; DC2
set terminal key vip7809 \264 \{127}	; Backspace
set terminal key vip7809 \268 \Kkp5	; Clear
set terminal key vip7809 \269 \{13}	; Enter
set terminal key vip7809 \276 \Kignore	; CapsLock
set terminal key vip7809 \289 \Kkp9	; PageUp
set terminal key vip7809 \290 \Kkp3	; PageDown
set terminal key vip7809 \291 \Kkp1	; End
set terminal key vip7809 \292 \Kkp7	; Home
set terminal key vip7809 \293 \Kkp4	; LeftArrow
set terminal key vip7809 \294 \Kkp8	; UpArrow
set terminal key vip7809 \295 \Kkp6	; RightArrow
set terminal key vip7809 \296 \Kkp2	; DownArrow
set terminal key vip7809 \301 \Kkp0	; Insert
set terminal key vip7809 \302 \Kkpdot	; Delete
set terminal key vip7809 \352 \Kkp0	; Keypad-0
set terminal key vip7809 \353 \Kkp1	; Keypad-1
set terminal key vip7809 \354 \Kkp2	; Keypad-2
set terminal key vip7809 \355 \Kkp3	; Keypad-3
set terminal key vip7809 \356 \Kkp4	; Keypad-4
set terminal key vip7809 \357 \Kkp5	; Keypad-5
set terminal key vip7809 \358 \Kkp6	; Keypad-6
set terminal key vip7809 \359 \Kkp7	; Keypad-7
set terminal key vip7809 \360 \Kkp8	; Keypad-8
set terminal key vip7809 \361 \Kkp9	; Keypad-9
set terminal key vip7809 \362 \Kpf3	; Multiply
set terminal key vip7809 \363 \Kkpcoma	; Add
set terminal key vip7809 \364 \{47}	; Separator
set terminal key vip7809 \365 \Kpf4	; Subtract
set terminal key vip7809 \366 \Kkpdot	; Decimal
set terminal key vip7809 \368 \Kgold	; F1
set terminal key vip7809 \369 \Kpf2	; F2
set terminal key vip7809 \370 \Kpf3	; F3
set terminal key vip7809 \371 \Kpf4	; F4
set terminal key vip7809 \400 \Kgold	; NumLock
set terminal key vip7809 \401 \Kholdscrn	; ScrollLock
set terminal key vip7809 \539 \{27}	; Shift-ESC
set terminal key vip7809 \776 \{127}	; Shift-Backspace
set terminal key vip7809 \777 \{8}	; Shift-Tab
set terminal key vip7809 \912 \Kignore	; Shift-NumLock
set terminal key vip7809 \1056 \Knull	; SP
set terminal key vip7809 \1326 \{8}	; Ctrl-Delete
set terminal key vip7809 \1330 \Knull	; Ctrl-2
set terminal key vip7809 \1334 \{30}	; Ctrl-6
set terminal key vip7809 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vip7809 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vip7809 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vip7809 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vip7809 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vip7809 \1842 \Knull	; Ctrl-Shift-2
set terminal key vip7809 \1846 \{30}	; Ctrl-Shift-6
set terminal key vip7809 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vip7809 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vip7809 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vip7809 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vip7809 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vip7809 \2092 \Kkpcoma	; Alt-,
set terminal key vip7809 \2093 \Kkpminus	; Alt--
set terminal key vip7809 \2094 \Kkpdot	; Alt-.
set terminal key vip7809 \2096 \Kkp0	; Alt-0
set terminal key vip7809 \2097 \Kkp1	; Alt-1
set terminal key vip7809 \2098 \Kkp2	; Alt-2
set terminal key vip7809 \2099 \Kkp3	; Alt-3
set terminal key vip7809 \2100 \Kkp4	; Alt-4
set terminal key vip7809 \2101 \Kkp5	; Alt-5
set terminal key vip7809 \2102 \Kkp6	; Alt-6
set terminal key vip7809 \2103 \Kkp7	; Alt-7
set terminal key vip7809 \2104 \Kkp8	; Alt-8
set terminal key vip7809 \2105 \Kkp9	; Alt-9
set terminal key vip7809 \2109 \Kreset	; Alt-=
set terminal key vip7809 \2114 \Kbreak	; Alt-B
set terminal key vip7809 \2115 \Kcompose	; Alt-C
set terminal key vip7809 \2116 \Kdebug	; Alt-D
set terminal key vip7809 \2117 \Kprintff	; Alt-E
set terminal key vip7809 \2118 \Kfnkeys	; Alt-F
set terminal key vip7809 \2120 \Khelp	; Alt-H
set terminal key vip7809 \2123 \Kkeyclick	; Alt-K
set terminal key vip7809 \2124 \Klbreak	; Alt-L
set terminal key vip7809 \2126 \Kucs2	; Alt-N
set terminal key vip7809 \2127 \Kprtauto	; Alt-O
set terminal key vip7809 \2128 \Kdump	; Alt-P
set terminal key vip7809 \2129 \Kquit	; Alt-Q
set terminal key vip7809 \2130 \Kreset	; Alt-R
set terminal key vip7809 \2131 \Kstatus	; Alt-S
set terminal key vip7809 \2132 \Ktermtype	; Alt-T
set terminal key vip7809 \2133 \Khangup	; Alt-U
set terminal key vip7809 \2134 \Kflipscn	; Alt-V
set terminal key vip7809 \2136 \Kexit	; Alt-X
set terminal key vip7809 \2146 \Kbreak	; Alt-b
set terminal key vip7809 \2147 \Kcompose	; Alt-c
set terminal key vip7809 \2148 \Kdebug	; Alt-d
set terminal key vip7809 \2149 \Kprintff	; Alt-e
set terminal key vip7809 \2150 \Kfnkeys	; Alt-f
set terminal key vip7809 \2152 \Khelp	; Alt-h
set terminal key vip7809 \2155 \Kkeyclick	; Alt-k
set terminal key vip7809 \2156 \Klbreak	; Alt-l
set terminal key vip7809 \2158 \Kucs2	; Alt-n
set terminal key vip7809 \2159 \Kprtauto	; Alt-o
set terminal key vip7809 \2160 \Kdump	; Alt-p
set terminal key vip7809 \2161 \Kquit	; Alt-q
set terminal key vip7809 \2162 \Kreset	; Alt-r
set terminal key vip7809 \2163 \Kstatus	; Alt-s
set terminal key vip7809 \2164 \Ktermtype	; Alt-t
set terminal key vip7809 \2165 \Khangup	; Alt-u
set terminal key vip7809 \2166 \Kflipscn	; Alt-v
set terminal key vip7809 \2168 \Kexit	; Alt-x
set terminal key vip7809 \2312 \{8}	; Alt-Backspace
set terminal key vip7809 \2411 \Kkpminus	; Alt-Add
set terminal key vip7809 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vip7809 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vip7809 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vip7809 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vip7809 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vip7809 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vip7809 \4143 \Kpf2	; Kp-/
set terminal key vip7809 \4365 \Kkpenter	; Gray-Enter
set terminal key vip7809 \4385 \Kupscn	; Gray-PageUp
set terminal key vip7809 \4386 \Kdnscn	; Gray-PageDown
set terminal key vip7809 \4387 \Kendscn	; Gray-End
set terminal key vip7809 \4388 \Khomscn	; Gray-Home
set terminal key vip7809 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vip7809 \4390 \Kuparr	; Gray-UpArrow
set terminal key vip7809 \4391 \Krtarr	; Gray-RightArrow
set terminal key vip7809 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vip7809 \4398 \{127}	; Gray-Delete
set terminal key vip7809 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vip7809 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vip7809 \4445 \Kignore	; Gray-TaskList
set terminal key vip7809 \4458 \Kdump	; Gray-Multiply
set terminal key vip7809 \4463 \Kpf2	; Gray-Divide
set terminal key vip7809 \4496 \Kgold	; Gray-NumLock
set terminal key vip7809 \4514 \Kignore	; Gray-162
set terminal key vip7809 \4516 \Kignore	; Gray-164
set terminal key vip7809 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vip7809 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vip7809 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vip7809 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vip7809 \4910 \{127}	; Shift-Gray-Delete
set terminal key vip7809 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vip7809 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vip7809 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vip7809 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vip7809 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vip7809 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vip7809 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vip7809 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vip7809 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vip7809 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vip7809 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key vip7809 \6435 \Kprintff	; Alt-Gray-End
set terminal key vip7809 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vip7809 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vip7809 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vip7809 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vip7809 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vip7809 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vip7809 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vip7809 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vip7809 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vip7809 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vip7809 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vip7809 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt100
set terminal key vt100 \16 \Kignore	; DLE
set terminal key vt100 \17 \Kignore	; DC1
set terminal key vt100 \18 \Kignore	; DC2
set terminal key vt100 \264 \{127}	; Backspace
set terminal key vt100 \268 \Kkp5	; Clear
set terminal key vt100 \269 \{13}	; Enter
set terminal key vt100 \276 \Kignore	; CapsLock
set terminal key vt100 \289 \Kkp9	; PageUp
set terminal key vt100 \290 \Kkp3	; PageDown
set terminal key vt100 \291 \Kkp1	; End
set terminal key vt100 \292 \Kkp7	; Home
set terminal key vt100 \293 \Kkp4	; LeftArrow
set terminal key vt100 \294 \Kkp8	; UpArrow
set terminal key vt100 \295 \Kkp6	; RightArrow
set terminal key vt100 \296 \Kkp2	; DownArrow
set terminal key vt100 \301 \Kkp0	; Insert
set terminal key vt100 \302 \Kkpdot	; Delete
set terminal key vt100 \352 \Kkp0	; Keypad-0
set terminal key vt100 \353 \Kkp1	; Keypad-1
set terminal key vt100 \354 \Kkp2	; Keypad-2
set terminal key vt100 \355 \Kkp3	; Keypad-3
set terminal key vt100 \356 \Kkp4	; Keypad-4
set terminal key vt100 \357 \Kkp5	; Keypad-5
set terminal key vt100 \358 \Kkp6	; Keypad-6
set terminal key vt100 \359 \Kkp7	; Keypad-7
set terminal key vt100 \360 \Kkp8	; Keypad-8
set terminal key vt100 \361 \Kkp9	; Keypad-9
set terminal key vt100 \362 \Kpf3	; Multiply
set terminal key vt100 \363 \Kkpcoma	; Add
set terminal key vt100 \364 \{47}	; Separator
set terminal key vt100 \365 \Kpf4	; Subtract
set terminal key vt100 \366 \Kkpdot	; Decimal
set terminal key vt100 \368 \Kgold	; F1
set terminal key vt100 \369 \Kpf2	; F2
set terminal key vt100 \370 \Kpf3	; F3
set terminal key vt100 \371 \Kpf4	; F4
set terminal key vt100 \400 \Kgold	; NumLock
set terminal key vt100 \401 \Kholdscrn	; ScrollLock
set terminal key vt100 \539 \{27}	; Shift-ESC
set terminal key vt100 \776 \{127}	; Shift-Backspace
set terminal key vt100 \777 \{8}	; Shift-Tab
set terminal key vt100 \912 \Kignore	; Shift-NumLock
set terminal key vt100 \1056 \Knull	; SP
set terminal key vt100 \1326 \{8}	; Ctrl-Delete
set terminal key vt100 \1330 \Knull	; Ctrl-2
set terminal key vt100 \1334 \{30}	; Ctrl-6
set terminal key vt100 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt100 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt100 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt100 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt100 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt100 \1842 \Knull	; Ctrl-Shift-2
set terminal key vt100 \1846 \{30}	; Ctrl-Shift-6
set terminal key vt100 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt100 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt100 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt100 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt100 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt100 \2092 \Kkpcoma	; Alt-,
set terminal key vt100 \2093 \Kkpminus	; Alt--
set terminal key vt100 \2094 \Kkpdot	; Alt-.
set terminal key vt100 \2096 \Kkp0	; Alt-0
set terminal key vt100 \2097 \Kkp1	; Alt-1
set terminal key vt100 \2098 \Kkp2	; Alt-2
set terminal key vt100 \2099 \Kkp3	; Alt-3
set terminal key vt100 \2100 \Kkp4	; Alt-4
set terminal key vt100 \2101 \Kkp5	; Alt-5
set terminal key vt100 \2102 \Kkp6	; Alt-6
set terminal key vt100 \2103 \Kkp7	; Alt-7
set terminal key vt100 \2104 \Kkp8	; Alt-8
set terminal key vt100 \2105 \Kkp9	; Alt-9
set terminal key vt100 \2109 \Kreset	; Alt-=
set terminal key vt100 \2114 \Kbreak	; Alt-B
set terminal key vt100 \2115 \Kcompose	; Alt-C
set terminal key vt100 \2116 \Kdebug	; Alt-D
set terminal key vt100 \2117 \Kprintff	; Alt-E
set terminal key vt100 \2118 \Kfnkeys	; Alt-F
set terminal key vt100 \2120 \Khelp	; Alt-H
set terminal key vt100 \2123 \Kkeyclick	; Alt-K
set terminal key vt100 \2124 \Klbreak	; Alt-L
set terminal key vt100 \2126 \Kucs2	; Alt-N
set terminal key vt100 \2127 \Kprtauto	; Alt-O
set terminal key vt100 \2128 \Kdump	; Alt-P
set terminal key vt100 \2129 \Kquit	; Alt-Q
set terminal key vt100 \2130 \Kreset	; Alt-R
set terminal key vt100 \2131 \Kstatus	; Alt-S
set terminal key vt100 \2132 \Ktermtype	; Alt-T
set terminal key vt100 \2133 \Khangup	; Alt-U
set terminal key vt100 \2134 \Kflipscn	; Alt-V
set terminal key vt100 \2136 \Kexit	; Alt-X
set terminal key vt100 \2146 \Kbreak	; Alt-b
set terminal key vt100 \2147 \Kcompose	; Alt-c
set terminal key vt100 \2148 \Kdebug	; Alt-d
set terminal key vt100 \2149 \Kprintff	; Alt-e
set terminal key vt100 \2150 \Kfnkeys	; Alt-f
set terminal key vt100 \2152 \Khelp	; Alt-h
set terminal key vt100 \2155 \Kkeyclick	; Alt-k
set terminal key vt100 \2156 \Klbreak	; Alt-l
set terminal key vt100 \2158 \Kucs2	; Alt-n
set terminal key vt100 \2159 \Kprtauto	; Alt-o
set terminal key vt100 \2160 \Kdump	; Alt-p
set terminal key vt100 \2161 \Kquit	; Alt-q
set terminal key vt100 \2162 \Kreset	; Alt-r
set terminal key vt100 \2163 \Kstatus	; Alt-s
set terminal key vt100 \2164 \Ktermtype	; Alt-t
set terminal key vt100 \2165 \Khangup	; Alt-u
set terminal key vt100 \2166 \Kflipscn	; Alt-v
set terminal key vt100 \2168 \Kexit	; Alt-x
set terminal key vt100 \2312 \{8}	; Alt-Backspace
set terminal key vt100 \2411 \Kkpminus	; Alt-Add
set terminal key vt100 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt100 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt100 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt100 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt100 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt100 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt100 \4143 \Kpf2	; Kp-/
set terminal key vt100 \4365 \Kkpenter	; Gray-Enter
set terminal key vt100 \4385 \Kupscn	; Gray-PageUp
set terminal key vt100 \4386 \Kdnscn	; Gray-PageDown
set terminal key vt100 \4387 \Kendscn	; Gray-End
set terminal key vt100 \4388 \Khomscn	; Gray-Home
set terminal key vt100 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt100 \4390 \Kuparr	; Gray-UpArrow
set terminal key vt100 \4391 \Krtarr	; Gray-RightArrow
set terminal key vt100 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt100 \4398 \{127}	; Gray-Delete
set terminal key vt100 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt100 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt100 \4445 \Kignore	; Gray-TaskList
set terminal key vt100 \4458 \Kdump	; Gray-Multiply
set terminal key vt100 \4463 \Kpf2	; Gray-Divide
set terminal key vt100 \4496 \Kgold	; Gray-NumLock
set terminal key vt100 \4514 \Kignore	; Gray-162
set terminal key vt100 \4516 \Kignore	; Gray-164
set terminal key vt100 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt100 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt100 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt100 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt100 \4910 \{127}	; Shift-Gray-Delete
set terminal key vt100 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt100 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt100 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt100 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt100 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt100 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt100 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt100 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt100 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt100 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt100 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key vt100 \6435 \Kprintff	; Alt-Gray-End
set terminal key vt100 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt100 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt100 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt100 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt100 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt100 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt100 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt100 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt100 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt100 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt100 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt100 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt102
set terminal key vt102 \16 \Kignore	; DLE
set terminal key vt102 \17 \Kignore	; DC1
set terminal key vt102 \18 \Kignore	; DC2
set terminal key vt102 \264 \{127}	; Backspace
set terminal key vt102 \268 \Kkp5	; Clear
set terminal key vt102 \269 \{13}	; Enter
set terminal key vt102 \276 \Kignore	; CapsLock
set terminal key vt102 \289 \Kkp9	; PageUp
set terminal key vt102 \290 \Kkp3	; PageDown
set terminal key vt102 \291 \Kkp1	; End
set terminal key vt102 \292 \Kkp7	; Home
set terminal key vt102 \293 \Kkp4	; LeftArrow
set terminal key vt102 \294 \Kkp8	; UpArrow
set terminal key vt102 \295 \Kkp6	; RightArrow
set terminal key vt102 \296 \Kkp2	; DownArrow
set terminal key vt102 \301 \Kkp0	; Insert
set terminal key vt102 \302 \Kkpdot	; Delete
set terminal key vt102 \352 \Kkp0	; Keypad-0
set terminal key vt102 \353 \Kkp1	; Keypad-1
set terminal key vt102 \354 \Kkp2	; Keypad-2
set terminal key vt102 \355 \Kkp3	; Keypad-3
set terminal key vt102 \356 \Kkp4	; Keypad-4
set terminal key vt102 \357 \Kkp5	; Keypad-5
set terminal key vt102 \358 \Kkp6	; Keypad-6
set terminal key vt102 \359 \Kkp7	; Keypad-7
set terminal key vt102 \360 \Kkp8	; Keypad-8
set terminal key vt102 \361 \Kkp9	; Keypad-9
set terminal key vt102 \362 \Kpf3	; Multiply
set terminal key vt102 \363 \Kkpcoma	; Add
set terminal key vt102 \364 \{47}	; Separator
set terminal key vt102 \365 \Kpf4	; Subtract
set terminal key vt102 \366 \Kkpdot	; Decimal
set terminal key vt102 \368 \Kgold	; F1
set terminal key vt102 \369 \Kpf2	; F2
set terminal key vt102 \370 \Kpf3	; F3
set terminal key vt102 \371 \Kpf4	; F4
set terminal key vt102 \400 \Kgold	; NumLock
set terminal key vt102 \401 \Kholdscrn	; ScrollLock
set terminal key vt102 \539 \{27}	; Shift-ESC
set terminal key vt102 \776 \{127}	; Shift-Backspace
set terminal key vt102 \777 \{8}	; Shift-Tab
set terminal key vt102 \912 \Kignore	; Shift-NumLock
set terminal key vt102 \1056 \Knull	; SP
set terminal key vt102 \1326 \{8}	; Ctrl-Delete
set terminal key vt102 \1330 \Knull	; Ctrl-2
set terminal key vt102 \1334 \{30}	; Ctrl-6
set terminal key vt102 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt102 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt102 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt102 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt102 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt102 \1842 \Knull	; Ctrl-Shift-2
set terminal key vt102 \1846 \{30}	; Ctrl-Shift-6
set terminal key vt102 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt102 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt102 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt102 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt102 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt102 \2092 \Kkpcoma	; Alt-,
set terminal key vt102 \2093 \Kkpminus	; Alt--
set terminal key vt102 \2094 \Kkpdot	; Alt-.
set terminal key vt102 \2096 \Kkp0	; Alt-0
set terminal key vt102 \2097 \Kkp1	; Alt-1
set terminal key vt102 \2098 \Kkp2	; Alt-2
set terminal key vt102 \2099 \Kkp3	; Alt-3
set terminal key vt102 \2100 \Kkp4	; Alt-4
set terminal key vt102 \2101 \Kkp5	; Alt-5
set terminal key vt102 \2102 \Kkp6	; Alt-6
set terminal key vt102 \2103 \Kkp7	; Alt-7
set terminal key vt102 \2104 \Kkp8	; Alt-8
set terminal key vt102 \2105 \Kkp9	; Alt-9
set terminal key vt102 \2109 \Kreset	; Alt-=
set terminal key vt102 \2114 \Kbreak	; Alt-B
set terminal key vt102 \2115 \Kcompose	; Alt-C
set terminal key vt102 \2116 \Kdebug	; Alt-D
set terminal key vt102 \2117 \Kprintff	; Alt-E
set terminal key vt102 \2118 \Kfnkeys	; Alt-F
set terminal key vt102 \2120 \Khelp	; Alt-H
set terminal key vt102 \2123 \Kkeyclick	; Alt-K
set terminal key vt102 \2124 \Klbreak	; Alt-L
set terminal key vt102 \2126 \Kucs2	; Alt-N
set terminal key vt102 \2127 \Kprtauto	; Alt-O
set terminal key vt102 \2128 \Kdump	; Alt-P
set terminal key vt102 \2129 \Kquit	; Alt-Q
set terminal key vt102 \2130 \Kreset	; Alt-R
set terminal key vt102 \2131 \Kstatus	; Alt-S
set terminal key vt102 \2132 \Ktermtype	; Alt-T
set terminal key vt102 \2133 \Khangup	; Alt-U
set terminal key vt102 \2134 \Kflipscn	; Alt-V
set terminal key vt102 \2136 \Kexit	; Alt-X
set terminal key vt102 \2146 \Kbreak	; Alt-b
set terminal key vt102 \2147 \Kcompose	; Alt-c
set terminal key vt102 \2148 \Kdebug	; Alt-d
set terminal key vt102 \2149 \Kprintff	; Alt-e
set terminal key vt102 \2150 \Kfnkeys	; Alt-f
set terminal key vt102 \2152 \Khelp	; Alt-h
set terminal key vt102 \2155 \Kkeyclick	; Alt-k
set terminal key vt102 \2156 \Klbreak	; Alt-l
set terminal key vt102 \2158 \Kucs2	; Alt-n
set terminal key vt102 \2159 \Kprtauto	; Alt-o
set terminal key vt102 \2160 \Kdump	; Alt-p
set terminal key vt102 \2161 \Kquit	; Alt-q
set terminal key vt102 \2162 \Kreset	; Alt-r
set terminal key vt102 \2163 \Kstatus	; Alt-s
set terminal key vt102 \2164 \Ktermtype	; Alt-t
set terminal key vt102 \2165 \Khangup	; Alt-u
set terminal key vt102 \2166 \Kflipscn	; Alt-v
set terminal key vt102 \2168 \Kexit	; Alt-x
set terminal key vt102 \2312 \{8}	; Alt-Backspace
set terminal key vt102 \2411 \Kkpminus	; Alt-Add
set terminal key vt102 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt102 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt102 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt102 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt102 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt102 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt102 \4143 \Kpf2	; Kp-/
set terminal key vt102 \4365 \Kkpenter	; Gray-Enter
set terminal key vt102 \4385 \Kupscn	; Gray-PageUp
set terminal key vt102 \4386 \Kdnscn	; Gray-PageDown
set terminal key vt102 \4387 \Kendscn	; Gray-End
set terminal key vt102 \4388 \Khomscn	; Gray-Home
set terminal key vt102 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt102 \4390 \Kuparr	; Gray-UpArrow
set terminal key vt102 \4391 \Krtarr	; Gray-RightArrow
set terminal key vt102 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt102 \4398 \{127}	; Gray-Delete
set terminal key vt102 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt102 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt102 \4445 \Kignore	; Gray-TaskList
set terminal key vt102 \4458 \Kdump	; Gray-Multiply
set terminal key vt102 \4463 \Kpf2	; Gray-Divide
set terminal key vt102 \4496 \Kgold	; Gray-NumLock
set terminal key vt102 \4514 \Kignore	; Gray-162
set terminal key vt102 \4516 \Kignore	; Gray-164
set terminal key vt102 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt102 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt102 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt102 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt102 \4910 \{127}	; Shift-Gray-Delete
set terminal key vt102 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt102 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt102 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt102 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt102 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt102 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt102 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt102 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt102 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt102 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt102 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key vt102 \6435 \Kprintff	; Alt-Gray-End
set terminal key vt102 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt102 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt102 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt102 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt102 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt102 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt102 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt102 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt102 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt102 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt102 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt102 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt220
set terminal key vt220 \16 \Kignore	; DLE
set terminal key vt220 \17 \Kignore	; DC1
set terminal key vt220 \18 \Kignore	; DC2
set terminal key vt220 \264 \{127}	; Backspace
set terminal key vt220 \268 \Kkp5	; Clear
set terminal key vt220 \269 \{13}	; Enter
set terminal key vt220 \276 \Kignore	; CapsLock
set terminal key vt220 \289 \Kkp9	; PageUp
set terminal key vt220 \290 \Kkp3	; PageDown
set terminal key vt220 \291 \Kkp1	; End
set terminal key vt220 \292 \Kkp7	; Home
set terminal key vt220 \293 \Kkp4	; LeftArrow
set terminal key vt220 \294 \Kkp8	; UpArrow
set terminal key vt220 \295 \Kkp6	; RightArrow
set terminal key vt220 \296 \Kkp2	; DownArrow
set terminal key vt220 \301 \Kkp0	; Insert
set terminal key vt220 \302 \Kkpdot	; Delete
set terminal key vt220 \352 \Kkp0	; Keypad-0
set terminal key vt220 \353 \Kkp1	; Keypad-1
set terminal key vt220 \354 \Kkp2	; Keypad-2
set terminal key vt220 \355 \Kkp3	; Keypad-3
set terminal key vt220 \356 \Kkp4	; Keypad-4
set terminal key vt220 \357 \Kkp5	; Keypad-5
set terminal key vt220 \358 \Kkp6	; Keypad-6
set terminal key vt220 \359 \Kkp7	; Keypad-7
set terminal key vt220 \360 \Kkp8	; Keypad-8
set terminal key vt220 \361 \Kkp9	; Keypad-9
set terminal key vt220 \362 \Kpf3	; Multiply
set terminal key vt220 \363 \Kkpcoma	; Add
set terminal key vt220 \364 \{47}	; Separator
set terminal key vt220 \365 \Kpf4	; Subtract
set terminal key vt220 \366 \Kkpdot	; Decimal
set terminal key vt220 \368 \Kgold	; F1
set terminal key vt220 \369 \Kpf2	; F2
set terminal key vt220 \370 \Kpf3	; F3
set terminal key vt220 \371 \Kpf4	; F4
set terminal key vt220 \372 \Kbreak	; F5
set terminal key vt220 \373 \Kdecf06	; F6
set terminal key vt220 \374 \Kdecf07	; F7
set terminal key vt220 \375 \Kdecf08	; F8
set terminal key vt220 \376 \Kdecf09	; F9
set terminal key vt220 \377 \Kdecf10	; F10
set terminal key vt220 \378 \Kdecf15	; F11
set terminal key vt220 \379 \Kdecdo	; F12
set terminal key vt220 \400 \Kgold	; NumLock
set terminal key vt220 \401 \Kholdscrn	; ScrollLock
set terminal key vt220 \539 \{27}	; Shift-ESC
set terminal key vt220 \776 \{127}	; Shift-Backspace
set terminal key vt220 \777 \{8}	; Shift-Tab
set terminal key vt220 \880 \Kudkf1	; Shift-F1
set terminal key vt220 \881 \Kudkf2	; Shift-F2
set terminal key vt220 \882 \Kudkf3	; Shift-F3
set terminal key vt220 \883 \Kudkf4	; Shift-F4
set terminal key vt220 \884 \Kudkf5	; Shift-F5
set terminal key vt220 \885 \Kudkf6	; Shift-F6
set terminal key vt220 \886 \Kudkf7	; Shift-F7
set terminal key vt220 \887 \Kudkf8	; Shift-F8
set terminal key vt220 \888 \Kudkf9	; Shift-F9
set terminal key vt220 \889 \Kudkf10	; Shift-F10
set terminal key vt220 \912 \Kignore	; Shift-NumLock
set terminal key vt220 \1056 \Knull	; SP
set terminal key vt220 \1326 \{8}	; Ctrl-Delete
set terminal key vt220 \1330 \Knull	; Ctrl-2
set terminal key vt220 \1334 \{30}	; Ctrl-6
set terminal key vt220 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt220 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt220 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt220 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt220 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt220 \1842 \Knull	; Ctrl-Shift-2
set terminal key vt220 \1846 \{30}	; Ctrl-Shift-6
set terminal key vt220 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt220 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt220 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt220 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt220 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt220 \2092 \Kkpcoma	; Alt-,
set terminal key vt220 \2093 \Kkpminus	; Alt--
set terminal key vt220 \2094 \Kkpdot	; Alt-.
set terminal key vt220 \2096 \Kkp0	; Alt-0
set terminal key vt220 \2097 \Kkp1	; Alt-1
set terminal key vt220 \2098 \Kkp2	; Alt-2
set terminal key vt220 \2099 \Kkp3	; Alt-3
set terminal key vt220 \2100 \Kkp4	; Alt-4
set terminal key vt220 \2101 \Kkp5	; Alt-5
set terminal key vt220 \2102 \Kkp6	; Alt-6
set terminal key vt220 \2103 \Kkp7	; Alt-7
set terminal key vt220 \2104 \Kkp8	; Alt-8
set terminal key vt220 \2105 \Kkp9	; Alt-9
set terminal key vt220 \2109 \Kreset	; Alt-=
set terminal key vt220 \2114 \Kbreak	; Alt-B
set terminal key vt220 \2115 \Kcompose	; Alt-C
set terminal key vt220 \2116 \Kdebug	; Alt-D
set terminal key vt220 \2117 \Kprintff	; Alt-E
set terminal key vt220 \2118 \Kfnkeys	; Alt-F
set terminal key vt220 \2120 \Khelp	; Alt-H
set terminal key vt220 \2123 \Kkeyclick	; Alt-K
set terminal key vt220 \2124 \Klbreak	; Alt-L
set terminal key vt220 \2126 \Kucs2	; Alt-N
set terminal key vt220 \2127 \Kprtauto	; Alt-O
set terminal key vt220 \2128 \Kdump	; Alt-P
set terminal key vt220 \2129 \Kquit	; Alt-Q
set terminal key vt220 \2130 \Kreset	; Alt-R
set terminal key vt220 \2131 \Kstatus	; Alt-S
set terminal key vt220 \2132 \Ktermtype	; Alt-T
set terminal key vt220 \2133 \Khangup	; Alt-U
set terminal key vt220 \2134 \Kflipscn	; Alt-V
set terminal key vt220 \2136 \Kexit	; Alt-X
set terminal key vt220 \2146 \Kbreak	; Alt-b
set terminal key vt220 \2147 \Kcompose	; Alt-c
set terminal key vt220 \2148 \Kdebug	; Alt-d
set terminal key vt220 \2149 \Kprintff	; Alt-e
set terminal key vt220 \2150 \Kfnkeys	; Alt-f
set terminal key vt220 \2152 \Khelp	; Alt-h
set terminal key vt220 \2155 \Kkeyclick	; Alt-k
set terminal key vt220 \2156 \Klbreak	; Alt-l
set terminal key vt220 \2158 \Kucs2	; Alt-n
set terminal key vt220 \2159 \Kprtauto	; Alt-o
set terminal key vt220 \2160 \Kdump	; Alt-p
set terminal key vt220 \2161 \Kquit	; Alt-q
set terminal key vt220 \2162 \Kreset	; Alt-r
set terminal key vt220 \2163 \Kstatus	; Alt-s
set terminal key vt220 \2164 \Ktermtype	; Alt-t
set terminal key vt220 \2165 \Khangup	; Alt-u
set terminal key vt220 \2166 \Kflipscn	; Alt-v
set terminal key vt220 \2168 \Kexit	; Alt-x
set terminal key vt220 \2312 \{8}	; Alt-Backspace
set terminal key vt220 \2411 \Kkpminus	; Alt-Add
set terminal key vt220 \2416 \Kdecf11	; Alt-F1
set terminal key vt220 \2417 \Kdecf12	; Alt-F2
set terminal key vt220 \2418 \Kdecf13	; Alt-F3
set terminal key vt220 \2419 \Kdecf14	; Alt-F4
set terminal key vt220 \2420 \Kdecf15	; Alt-F5
set terminal key vt220 \2421 \Kdecdo	; Alt-F6
set terminal key vt220 \2422 \Kdecf17	; Alt-F7
set terminal key vt220 \2423 \Kdecf18	; Alt-F8
set terminal key vt220 \2424 \Kdecf19	; Alt-F9
set terminal key vt220 \2425 \Kdecf20	; Alt-F10
set terminal key vt220 \2928 \Kudkf11	; Alt-Shift-F1
set terminal key vt220 \2929 \Kudkf12	; Alt-Shift-F2
set terminal key vt220 \2930 \Kudkf13	; Alt-Shift-F3
set terminal key vt220 \2931 \Kudkf14	; Alt-Shift-F4
set terminal key vt220 \2932 \Kudkf15	; Alt-Shift-F5
set terminal key vt220 \2933 \Kudkdo	; Alt-Shift-F6
set terminal key vt220 \2934 \Kudkf17	; Alt-Shift-F7
set terminal key vt220 \2935 \Kudkf18	; Alt-Shift-F8
set terminal key vt220 \2936 \Kudkf19	; Alt-Shift-F9
set terminal key vt220 \2937 \Kudkf20	; Alt-Shift-F10
set terminal key vt220 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt220 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt220 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt220 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt220 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt220 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt220 \4143 \Kpf2	; Kp-/
set terminal key vt220 \4361 \Kcompose	; Gray-Tab
set terminal key vt220 \4365 \Kkpenter	; Gray-Enter
set terminal key vt220 \4385 \Kupscn	; Gray-PageUp
set terminal key vt220 \4386 \Kdnscn	; Gray-PageDown
set terminal key vt220 \4387 \Kendscn	; Gray-End
set terminal key vt220 \4388 \Khomscn	; Gray-Home
set terminal key vt220 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt220 \4390 \Kuparr	; Gray-UpArrow
set terminal key vt220 \4391 \Krtarr	; Gray-RightArrow
set terminal key vt220 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt220 \4398 \{127}	; Gray-Delete
set terminal key vt220 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt220 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt220 \4445 \Kignore	; Gray-TaskList
set terminal key vt220 \4458 \Kdump	; Gray-Multiply
set terminal key vt220 \4459 \Kkpminus	; Gray-Add
set terminal key vt220 \4463 \Kpf2	; Gray-Divide
set terminal key vt220 \4466 \Kdecf13	; Gray-F3
set terminal key vt220 \4467 \Kdecf14	; Gray-F4
set terminal key vt220 \4468 \Kdecf15	; Gray-F5
set terminal key vt220 \4469 \Kdecdo	; Gray-F6
set terminal key vt220 \4470 \Kdecf17	; Gray-F7
set terminal key vt220 \4471 \Kdecf18	; Gray-F8
set terminal key vt220 \4472 \Kdecf19	; Gray-F9
set terminal key vt220 \4473 \Kdecf20	; Gray-F10
set terminal key vt220 \4476 \Kdecf13	; Gray-F13
set terminal key vt220 \4477 \Kdecf14	; Gray-F14
set terminal key vt220 \4478 \Kdecf15	; Gray-F15
set terminal key vt220 \4479 \Kdecdo	; Gray-F16
set terminal key vt220 \4480 \Kdecf17	; Gray-F17
set terminal key vt220 \4481 \Kdecf18	; Gray-F18
set terminal key vt220 \4482 \Kdecf19	; Gray-F19
set terminal key vt220 \4483 \Kdecf20	; Gray-F20
set terminal key vt220 \4496 \Kgold	; Gray-NumLock
set terminal key vt220 \4514 \Kignore	; Gray-162
set terminal key vt220 \4516 \Kignore	; Gray-164
set terminal key vt220 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt220 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt220 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt220 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt220 \4910 \{127}	; Shift-Gray-Delete
set terminal key vt220 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt220 \4978 \Kudkf13	; Shift-Gray-F3
set terminal key vt220 \4979 \Kudkf14	; Shift-Gray-F4
set terminal key vt220 \4980 \Kudkf15	; Shift-Gray-F5
set terminal key vt220 \4981 \Kudkdo	; Shift-Gray-F6
set terminal key vt220 \4982 \Kudkf17	; Shift-Gray-F7
set terminal key vt220 \4983 \Kudkf18	; Shift-Gray-F8
set terminal key vt220 \4984 \Kudkf19	; Shift-Gray-F9
set terminal key vt220 \4985 \Kudkf20	; Shift-Gray-F10
set terminal key vt220 \4988 \Kudkf13	; Shift-Gray-F13
set terminal key vt220 \4989 \Kudkf14	; Shift-Gray-F14
set terminal key vt220 \4990 \Kudkf15	; Shift-Gray-F15
set terminal key vt220 \4991 \Kudkdo	; Shift-Gray-F16
set terminal key vt220 \4992 \Kudkf17	; Shift-Gray-F17
set terminal key vt220 \4993 \Kudkf18	; Shift-Gray-F18
set terminal key vt220 \4994 \Kudkf19	; Shift-Gray-F19
set terminal key vt220 \4995 \Kudkf20	; Shift-Gray-F20
set terminal key vt220 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt220 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt220 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt220 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt220 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt220 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt220 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt220 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt220 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt220 \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key vt220 \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key vt220 \6435 \Kdecprev	; Alt-Gray-End
set terminal key vt220 \6436 \Kdecinsert	; Alt-Gray-Home
set terminal key vt220 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt220 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt220 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt220 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt220 \6445 \Kdecfind	; Alt-Gray-Insert
set terminal key vt220 \6446 \Kdecselect	; Alt-Gray-Delete
set terminal key vt220 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt220 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt220 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt220 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt220 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt220 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt220 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt220 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt220pc
set terminal key vt220pc \16 \Kignore	; DLE
set terminal key vt220pc \17 \Kignore	; DC1
set terminal key vt220pc \18 \Kignore	; DC2
set terminal key vt220pc \264 \{127}	; Backspace
set terminal key vt220pc \268 \Kkp5	; Clear
set terminal key vt220pc \269 \{13}	; Enter
set terminal key vt220pc \276 \Kignore	; CapsLock
set terminal key vt220pc \289 \Kkp9	; PageUp
set terminal key vt220pc \290 \Kkp3	; PageDown
set terminal key vt220pc \291 \Kkp1	; End
set terminal key vt220pc \292 \Kkp7	; Home
set terminal key vt220pc \293 \Kkp4	; LeftArrow
set terminal key vt220pc \294 \Kkp8	; UpArrow
set terminal key vt220pc \295 \Kkp6	; RightArrow
set terminal key vt220pc \296 \Kkp2	; DownArrow
set terminal key vt220pc \301 \Kkp0	; Insert
set terminal key vt220pc \302 \Kkpdot	; Delete
set terminal key vt220pc \352 \Kkp0	; Keypad-0
set terminal key vt220pc \353 \Kkp1	; Keypad-1
set terminal key vt220pc \354 \Kkp2	; Keypad-2
set terminal key vt220pc \355 \Kkp3	; Keypad-3
set terminal key vt220pc \356 \Kkp4	; Keypad-4
set terminal key vt220pc \357 \Kkp5	; Keypad-5
set terminal key vt220pc \358 \Kkp6	; Keypad-6
set terminal key vt220pc \359 \Kkp7	; Keypad-7
set terminal key vt220pc \360 \Kkp8	; Keypad-8
set terminal key vt220pc \361 \Kkp9	; Keypad-9
set terminal key vt220pc \362 \Kpf3	; Multiply
set terminal key vt220pc \363 \Kkpcoma	; Add
set terminal key vt220pc \364 \{47}	; Separator
set terminal key vt220pc \365 \Kpf4	; Subtract
set terminal key vt220pc \366 \Kkpdot	; Decimal
set terminal key vt220pc \368 \Kdecf01	; F1
set terminal key vt220pc \369 \Kdecf02	; F2
set terminal key vt220pc \370 \Kdecf03	; F3
set terminal key vt220pc \371 \Kdecf04	; F4
set terminal key vt220pc \372 \Kdecf05	; F5
set terminal key vt220pc \373 \Kdecf06	; F6
set terminal key vt220pc \374 \Kdecf07	; F7
set terminal key vt220pc \375 \Kdecf08	; F8
set terminal key vt220pc \376 \Kdecf09	; F9
set terminal key vt220pc \377 \Kdecf10	; F10
set terminal key vt220pc \378 \Kdecf15	; F11
set terminal key vt220pc \379 \Kdecdo	; F12
set terminal key vt220pc \400 \Kgold	; NumLock
set terminal key vt220pc \401 \Kholdscrn	; ScrollLock
set terminal key vt220pc \539 \{27}	; Shift-ESC
set terminal key vt220pc \776 \{127}	; Shift-Backspace
set terminal key vt220pc \777 \{8}	; Shift-Tab
set terminal key vt220pc \880 \Kudkf1	; Shift-F1
set terminal key vt220pc \881 \Kudkf2	; Shift-F2
set terminal key vt220pc \882 \Kudkf3	; Shift-F3
set terminal key vt220pc \883 \Kudkf4	; Shift-F4
set terminal key vt220pc \884 \Kudkf5	; Shift-F5
set terminal key vt220pc \885 \Kudkf6	; Shift-F6
set terminal key vt220pc \886 \Kudkf7	; Shift-F7
set terminal key vt220pc \887 \Kudkf8	; Shift-F8
set terminal key vt220pc \888 \Kudkf9	; Shift-F9
set terminal key vt220pc \889 \Kudkf10	; Shift-F10
set terminal key vt220pc \912 \Kignore	; Shift-NumLock
set terminal key vt220pc \1056 \Knull	; SP
set terminal key vt220pc \1326 \{8}	; Ctrl-Delete
set terminal key vt220pc \1330 \Knull	; Ctrl-2
set terminal key vt220pc \1334 \{30}	; Ctrl-6
set terminal key vt220pc \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt220pc \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt220pc \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt220pc \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt220pc \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt220pc \1842 \Knull	; Ctrl-Shift-2
set terminal key vt220pc \1846 \{30}	; Ctrl-Shift-6
set terminal key vt220pc \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt220pc \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt220pc \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt220pc \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt220pc \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt220pc \2092 \Kkpcoma	; Alt-,
set terminal key vt220pc \2093 \Kkpminus	; Alt--
set terminal key vt220pc \2094 \Kkpdot	; Alt-.
set terminal key vt220pc \2096 \Kkp0	; Alt-0
set terminal key vt220pc \2097 \Kkp1	; Alt-1
set terminal key vt220pc \2098 \Kkp2	; Alt-2
set terminal key vt220pc \2099 \Kkp3	; Alt-3
set terminal key vt220pc \2100 \Kkp4	; Alt-4
set terminal key vt220pc \2101 \Kkp5	; Alt-5
set terminal key vt220pc \2102 \Kkp6	; Alt-6
set terminal key vt220pc \2103 \Kkp7	; Alt-7
set terminal key vt220pc \2104 \Kkp8	; Alt-8
set terminal key vt220pc \2105 \Kkp9	; Alt-9
set terminal key vt220pc \2109 \Kreset	; Alt-=
set terminal key vt220pc \2114 \Kbreak	; Alt-B
set terminal key vt220pc \2115 \Kcompose	; Alt-C
set terminal key vt220pc \2116 \Kdebug	; Alt-D
set terminal key vt220pc \2117 \Kprintff	; Alt-E
set terminal key vt220pc \2118 \Kfnkeys	; Alt-F
set terminal key vt220pc \2120 \Khelp	; Alt-H
set terminal key vt220pc \2123 \Kkeyclick	; Alt-K
set terminal key vt220pc \2124 \Klbreak	; Alt-L
set terminal key vt220pc \2126 \Kucs2	; Alt-N
set terminal key vt220pc \2127 \Kprtauto	; Alt-O
set terminal key vt220pc \2128 \Kdump	; Alt-P
set terminal key vt220pc \2129 \Kquit	; Alt-Q
set terminal key vt220pc \2130 \Kreset	; Alt-R
set terminal key vt220pc \2131 \Kstatus	; Alt-S
set terminal key vt220pc \2132 \Ktermtype	; Alt-T
set terminal key vt220pc \2133 \Khangup	; Alt-U
set terminal key vt220pc \2134 \Kflipscn	; Alt-V
set terminal key vt220pc \2136 \Kexit	; Alt-X
set terminal key vt220pc \2146 \Kbreak	; Alt-b
set terminal key vt220pc \2147 \Kcompose	; Alt-c
set terminal key vt220pc \2148 \Kdebug	; Alt-d
set terminal key vt220pc \2149 \Kprintff	; Alt-e
set terminal key vt220pc \2150 \Kfnkeys	; Alt-f
set terminal key vt220pc \2152 \Khelp	; Alt-h
set terminal key vt220pc \2155 \Kkeyclick	; Alt-k
set terminal key vt220pc \2156 \Klbreak	; Alt-l
set terminal key vt220pc \2158 \Kucs2	; Alt-n
set terminal key vt220pc \2159 \Kprtauto	; Alt-o
set terminal key vt220pc \2160 \Kdump	; Alt-p
set terminal key vt220pc \2161 \Kquit	; Alt-q
set terminal key vt220pc \2162 \Kreset	; Alt-r
set terminal key vt220pc \2163 \Kstatus	; Alt-s
set terminal key vt220pc \2164 \Ktermtype	; Alt-t
set terminal key vt220pc \2165 \Khangup	; Alt-u
set terminal key vt220pc \2166 \Kflipscn	; Alt-v
set terminal key vt220pc \2168 \Kexit	; Alt-x
set terminal key vt220pc \2312 \{8}	; Alt-Backspace
set terminal key vt220pc \2411 \Kkpminus	; Alt-Add
set terminal key vt220pc \2416 \Kdecf11	; Alt-F1
set terminal key vt220pc \2417 \Kdecf12	; Alt-F2
set terminal key vt220pc \2418 \Kdecf13	; Alt-F3
set terminal key vt220pc \2419 \Kdecf14	; Alt-F4
set terminal key vt220pc \2420 \Kdecf15	; Alt-F5
set terminal key vt220pc \2421 \Kdecdo	; Alt-F6
set terminal key vt220pc \2422 \Kdecf17	; Alt-F7
set terminal key vt220pc \2423 \Kdecf18	; Alt-F8
set terminal key vt220pc \2424 \Kdecf19	; Alt-F9
set terminal key vt220pc \2425 \Kdecf20	; Alt-F10
set terminal key vt220pc \2928 \Kudkf11	; Alt-Shift-F1
set terminal key vt220pc \2929 \Kudkf12	; Alt-Shift-F2
set terminal key vt220pc \2930 \Kudkf13	; Alt-Shift-F3
set terminal key vt220pc \2931 \Kudkf14	; Alt-Shift-F4
set terminal key vt220pc \2932 \Kudkf15	; Alt-Shift-F5
set terminal key vt220pc \2933 \Kudkdo	; Alt-Shift-F6
set terminal key vt220pc \2934 \Kudkf17	; Alt-Shift-F7
set terminal key vt220pc \2935 \Kudkf18	; Alt-Shift-F8
set terminal key vt220pc \2936 \Kudkf19	; Alt-Shift-F9
set terminal key vt220pc \2937 \Kudkf20	; Alt-Shift-F10
set terminal key vt220pc \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt220pc \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt220pc \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt220pc \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt220pc \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt220pc \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt220pc \4143 \Kpf2	; Kp-/
set terminal key vt220pc \4361 \Kcompose	; Gray-Tab
set terminal key vt220pc \4365 \Kkpenter	; Gray-Enter
set terminal key vt220pc \4385 \Kdecprev	; Gray-PageUp
set terminal key vt220pc \4386 \Kdecnext	; Gray-PageDown
set terminal key vt220pc \4387 \Kdecfind	; Gray-End
set terminal key vt220pc \4388 \Kdechome	; Gray-Home
set terminal key vt220pc \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt220pc \4390 \Kuparr	; Gray-UpArrow
set terminal key vt220pc \4391 \Krtarr	; Gray-RightArrow
set terminal key vt220pc \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt220pc \4397 \Kdecinsert	; Gray-Insert
set terminal key vt220pc \4398 \{127}	; Gray-Delete
set terminal key vt220pc \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt220pc \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt220pc \4445 \Kignore	; Gray-TaskList
set terminal key vt220pc \4458 \Kdump	; Gray-Multiply
set terminal key vt220pc \4459 \Kkpminus	; Gray-Add
set terminal key vt220pc \4463 \Kpf2	; Gray-Divide
set terminal key vt220pc \4466 \Kdecf13	; Gray-F3
set terminal key vt220pc \4467 \Kdecf14	; Gray-F4
set terminal key vt220pc \4468 \Kdecf15	; Gray-F5
set terminal key vt220pc \4469 \Kdecdo	; Gray-F6
set terminal key vt220pc \4470 \Kdecf17	; Gray-F7
set terminal key vt220pc \4471 \Kdecf18	; Gray-F8
set terminal key vt220pc \4472 \Kdecf19	; Gray-F9
set terminal key vt220pc \4473 \Kdecf20	; Gray-F10
set terminal key vt220pc \4476 \Kdecf13	; Gray-F13
set terminal key vt220pc \4477 \Kdecf14	; Gray-F14
set terminal key vt220pc \4478 \Kdecf15	; Gray-F15
set terminal key vt220pc \4479 \Kdecdo	; Gray-F16
set terminal key vt220pc \4480 \Kdecf17	; Gray-F17
set terminal key vt220pc \4481 \Kdecf18	; Gray-F18
set terminal key vt220pc \4482 \Kdecf19	; Gray-F19
set terminal key vt220pc \4483 \Kdecf20	; Gray-F20
set terminal key vt220pc \4496 \Kgold	; Gray-NumLock
set terminal key vt220pc \4514 \Kignore	; Gray-162
set terminal key vt220pc \4516 \Kignore	; Gray-164
set terminal key vt220pc \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt220pc \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt220pc \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt220pc \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt220pc \4910 \{127}	; Shift-Gray-Delete
set terminal key vt220pc \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt220pc \4978 \Kudkf13	; Shift-Gray-F3
set terminal key vt220pc \4979 \Kudkf14	; Shift-Gray-F4
set terminal key vt220pc \4980 \Kudkf15	; Shift-Gray-F5
set terminal key vt220pc \4981 \Kudkdo	; Shift-Gray-F6
set terminal key vt220pc \4982 \Kudkf17	; Shift-Gray-F7
set terminal key vt220pc \4983 \Kudkf18	; Shift-Gray-F8
set terminal key vt220pc \4984 \Kudkf19	; Shift-Gray-F9
set terminal key vt220pc \4985 \Kudkf20	; Shift-Gray-F10
set terminal key vt220pc \4988 \Kudkf13	; Shift-Gray-F13
set terminal key vt220pc \4989 \Kudkf14	; Shift-Gray-F14
set terminal key vt220pc \4990 \Kudkf15	; Shift-Gray-F15
set terminal key vt220pc \4991 \Kudkdo	; Shift-Gray-F16
set terminal key vt220pc \4992 \Kudkf17	; Shift-Gray-F17
set terminal key vt220pc \4993 \Kudkf18	; Shift-Gray-F18
set terminal key vt220pc \4994 \Kudkf19	; Shift-Gray-F19
set terminal key vt220pc \4995 \Kudkf20	; Shift-Gray-F20
set terminal key vt220pc \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt220pc \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt220pc \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt220pc \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt220pc \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt220pc \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt220pc \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt220pc \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt220pc \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt220pc \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key vt220pc \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key vt220pc \6435 \Kdecprev	; Alt-Gray-End
set terminal key vt220pc \6436 \Kdecinsert	; Alt-Gray-Home
set terminal key vt220pc \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt220pc \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt220pc \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt220pc \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt220pc \6445 \Kdecfind	; Alt-Gray-Insert
set terminal key vt220pc \6446 \Kdecselect	; Alt-Gray-Delete
set terminal key vt220pc \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt220pc \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt220pc \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt220pc \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt220pc \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt220pc \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt220pc \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt220pc \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt320
set terminal key vt320 \16 \Kignore	; DLE
set terminal key vt320 \17 \Kignore	; DC1
set terminal key vt320 \18 \Kignore	; DC2
set terminal key vt320 \264 \{127}	; Backspace
set terminal key vt320 \268 \Kkp5	; Clear
set terminal key vt320 \269 \{13}	; Enter
set terminal key vt320 \276 \Kignore	; CapsLock
set terminal key vt320 \289 \Kkp9	; PageUp
set terminal key vt320 \290 \Kkp3	; PageDown
set terminal key vt320 \291 \Kkp1	; End
set terminal key vt320 \292 \Kkp7	; Home
set terminal key vt320 \293 \Kkp4	; LeftArrow
set terminal key vt320 \294 \Kkp8	; UpArrow
set terminal key vt320 \295 \Kkp6	; RightArrow
set terminal key vt320 \296 \Kkp2	; DownArrow
set terminal key vt320 \301 \Kkp0	; Insert
set terminal key vt320 \302 \Kkpdot	; Delete
set terminal key vt320 \352 \Kkp0	; Keypad-0
set terminal key vt320 \353 \Kkp1	; Keypad-1
set terminal key vt320 \354 \Kkp2	; Keypad-2
set terminal key vt320 \355 \Kkp3	; Keypad-3
set terminal key vt320 \356 \Kkp4	; Keypad-4
set terminal key vt320 \357 \Kkp5	; Keypad-5
set terminal key vt320 \358 \Kkp6	; Keypad-6
set terminal key vt320 \359 \Kkp7	; Keypad-7
set terminal key vt320 \360 \Kkp8	; Keypad-8
set terminal key vt320 \361 \Kkp9	; Keypad-9
set terminal key vt320 \362 \Kpf3	; Multiply
set terminal key vt320 \363 \Kkpcoma	; Add
set terminal key vt320 \364 \{47}	; Separator
set terminal key vt320 \365 \Kpf4	; Subtract
set terminal key vt320 \366 \Kkpdot	; Decimal
set terminal key vt320 \368 \Kgold	; F1
set terminal key vt320 \369 \Kpf2	; F2
set terminal key vt320 \370 \Kpf3	; F3
set terminal key vt320 \371 \Kpf4	; F4
set terminal key vt320 \372 \Kbreak	; F5
set terminal key vt320 \373 \Kdecf06	; F6
set terminal key vt320 \374 \Kdecf07	; F7
set terminal key vt320 \375 \Kdecf08	; F8
set terminal key vt320 \376 \Kdecf09	; F9
set terminal key vt320 \377 \Kdecf10	; F10
set terminal key vt320 \378 \Kdecf15	; F11
set terminal key vt320 \379 \Kdecdo	; F12
set terminal key vt320 \400 \Kgold	; NumLock
set terminal key vt320 \401 \Kholdscrn	; ScrollLock
set terminal key vt320 \539 \{27}	; Shift-ESC
set terminal key vt320 \776 \{127}	; Shift-Backspace
set terminal key vt320 \777 \{8}	; Shift-Tab
set terminal key vt320 \880 \Kudkf1	; Shift-F1
set terminal key vt320 \881 \Kudkf2	; Shift-F2
set terminal key vt320 \882 \Kudkf3	; Shift-F3
set terminal key vt320 \883 \Kudkf4	; Shift-F4
set terminal key vt320 \884 \Kudkf5	; Shift-F5
set terminal key vt320 \885 \Kudkf6	; Shift-F6
set terminal key vt320 \886 \Kudkf7	; Shift-F7
set terminal key vt320 \887 \Kudkf8	; Shift-F8
set terminal key vt320 \888 \Kudkf9	; Shift-F9
set terminal key vt320 \889 \Kudkf10	; Shift-F10
set terminal key vt320 \912 \Kignore	; Shift-NumLock
set terminal key vt320 \1056 \Knull	; SP
set terminal key vt320 \1326 \{8}	; Ctrl-Delete
set terminal key vt320 \1330 \Knull	; Ctrl-2
set terminal key vt320 \1334 \{30}	; Ctrl-6
set terminal key vt320 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt320 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt320 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt320 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt320 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt320 \1842 \Knull	; Ctrl-Shift-2
set terminal key vt320 \1846 \{30}	; Ctrl-Shift-6
set terminal key vt320 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt320 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt320 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt320 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt320 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt320 \2092 \Kkpcoma	; Alt-,
set terminal key vt320 \2093 \Kkpminus	; Alt--
set terminal key vt320 \2094 \Kkpdot	; Alt-.
set terminal key vt320 \2096 \Kkp0	; Alt-0
set terminal key vt320 \2097 \Kkp1	; Alt-1
set terminal key vt320 \2098 \Kkp2	; Alt-2
set terminal key vt320 \2099 \Kkp3	; Alt-3
set terminal key vt320 \2100 \Kkp4	; Alt-4
set terminal key vt320 \2101 \Kkp5	; Alt-5
set terminal key vt320 \2102 \Kkp6	; Alt-6
set terminal key vt320 \2103 \Kkp7	; Alt-7
set terminal key vt320 \2104 \Kkp8	; Alt-8
set terminal key vt320 \2105 \Kkp9	; Alt-9
set terminal key vt320 \2109 \Kreset	; Alt-=
set terminal key vt320 \2114 \Kbreak	; Alt-B
set terminal key vt320 \2115 \Kcompose	; Alt-C
set terminal key vt320 \2116 \Kdebug	; Alt-D
set terminal key vt320 \2117 \Kprintff	; Alt-E
set terminal key vt320 \2118 \Kfnkeys	; Alt-F
set terminal key vt320 \2120 \Khelp	; Alt-H
set terminal key vt320 \2123 \Kkeyclick	; Alt-K
set terminal key vt320 \2124 \Klbreak	; Alt-L
set terminal key vt320 \2126 \Kucs2	; Alt-N
set terminal key vt320 \2127 \Kprtauto	; Alt-O
set terminal key vt320 \2128 \Kdump	; Alt-P
set terminal key vt320 \2129 \Kquit	; Alt-Q
set terminal key vt320 \2130 \Kreset	; Alt-R
set terminal key vt320 \2131 \Kstatus	; Alt-S
set terminal key vt320 \2132 \Ktermtype	; Alt-T
set terminal key vt320 \2133 \Khangup	; Alt-U
set terminal key vt320 \2134 \Kflipscn	; Alt-V
set terminal key vt320 \2136 \Kexit	; Alt-X
set terminal key vt320 \2146 \Kbreak	; Alt-b
set terminal key vt320 \2147 \Kcompose	; Alt-c
set terminal key vt320 \2148 \Kdebug	; Alt-d
set terminal key vt320 \2149 \Kprintff	; Alt-e
set terminal key vt320 \2150 \Kfnkeys	; Alt-f
set terminal key vt320 \2152 \Khelp	; Alt-h
set terminal key vt320 \2155 \Kkeyclick	; Alt-k
set terminal key vt320 \2156 \Klbreak	; Alt-l
set terminal key vt320 \2158 \Kucs2	; Alt-n
set terminal key vt320 \2159 \Kprtauto	; Alt-o
set terminal key vt320 \2160 \Kdump	; Alt-p
set terminal key vt320 \2161 \Kquit	; Alt-q
set terminal key vt320 \2162 \Kreset	; Alt-r
set terminal key vt320 \2163 \Kstatus	; Alt-s
set terminal key vt320 \2164 \Ktermtype	; Alt-t
set terminal key vt320 \2165 \Khangup	; Alt-u
set terminal key vt320 \2166 \Kflipscn	; Alt-v
set terminal key vt320 \2168 \Kexit	; Alt-x
set terminal key vt320 \2312 \{8}	; Alt-Backspace
set terminal key vt320 \2411 \Kkpminus	; Alt-Add
set terminal key vt320 \2416 \Kdecf11	; Alt-F1
set terminal key vt320 \2417 \Kdecf12	; Alt-F2
set terminal key vt320 \2418 \Kdecf13	; Alt-F3
set terminal key vt320 \2419 \Kdecf14	; Alt-F4
set terminal key vt320 \2420 \Kdecf15	; Alt-F5
set terminal key vt320 \2421 \Kdecdo	; Alt-F6
set terminal key vt320 \2422 \Kdecf17	; Alt-F7
set terminal key vt320 \2423 \Kdecf18	; Alt-F8
set terminal key vt320 \2424 \Kdecf19	; Alt-F9
set terminal key vt320 \2425 \Kdecf20	; Alt-F10
set terminal key vt320 \2928 \Kudkf11	; Alt-Shift-F1
set terminal key vt320 \2929 \Kudkf12	; Alt-Shift-F2
set terminal key vt320 \2930 \Kudkf13	; Alt-Shift-F3
set terminal key vt320 \2931 \Kudkf14	; Alt-Shift-F4
set terminal key vt320 \2932 \Kudkf15	; Alt-Shift-F5
set terminal key vt320 \2933 \Kudkdo	; Alt-Shift-F6
set terminal key vt320 \2934 \Kudkf17	; Alt-Shift-F7
set terminal key vt320 \2935 \Kudkf18	; Alt-Shift-F8
set terminal key vt320 \2936 \Kudkf19	; Alt-Shift-F9
set terminal key vt320 \2937 \Kudkf20	; Alt-Shift-F10
set terminal key vt320 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt320 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt320 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt320 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt320 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt320 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt320 \4143 \Kpf2	; Kp-/
set terminal key vt320 \4361 \Kcompose	; Gray-Tab
set terminal key vt320 \4365 \Kkpenter	; Gray-Enter
set terminal key vt320 \4385 \Kupscn	; Gray-PageUp
set terminal key vt320 \4386 \Kdnscn	; Gray-PageDown
set terminal key vt320 \4387 \Kendscn	; Gray-End
set terminal key vt320 \4388 \Khomscn	; Gray-Home
set terminal key vt320 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt320 \4390 \Kuparr	; Gray-UpArrow
set terminal key vt320 \4391 \Krtarr	; Gray-RightArrow
set terminal key vt320 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt320 \4398 \{127}	; Gray-Delete
set terminal key vt320 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt320 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt320 \4445 \Kignore	; Gray-TaskList
set terminal key vt320 \4458 \Kdump	; Gray-Multiply
set terminal key vt320 \4459 \Kkpminus	; Gray-Add
set terminal key vt320 \4463 \Kpf2	; Gray-Divide
set terminal key vt320 \4466 \Kdecf13	; Gray-F3
set terminal key vt320 \4467 \Kdecf14	; Gray-F4
set terminal key vt320 \4468 \Kdecf15	; Gray-F5
set terminal key vt320 \4469 \Kdecdo	; Gray-F6
set terminal key vt320 \4470 \Kdecf17	; Gray-F7
set terminal key vt320 \4471 \Kdecf18	; Gray-F8
set terminal key vt320 \4472 \Kdecf19	; Gray-F9
set terminal key vt320 \4473 \Kdecf20	; Gray-F10
set terminal key vt320 \4476 \Kdecf13	; Gray-F13
set terminal key vt320 \4477 \Kdecf14	; Gray-F14
set terminal key vt320 \4478 \Kdecf15	; Gray-F15
set terminal key vt320 \4479 \Kdecdo	; Gray-F16
set terminal key vt320 \4480 \Kdecf17	; Gray-F17
set terminal key vt320 \4481 \Kdecf18	; Gray-F18
set terminal key vt320 \4482 \Kdecf19	; Gray-F19
set terminal key vt320 \4483 \Kdecf20	; Gray-F20
set terminal key vt320 \4496 \Kgold	; Gray-NumLock
set terminal key vt320 \4514 \Kignore	; Gray-162
set terminal key vt320 \4516 \Kignore	; Gray-164
set terminal key vt320 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt320 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt320 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt320 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt320 \4910 \{127}	; Shift-Gray-Delete
set terminal key vt320 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt320 \4978 \Kudkf13	; Shift-Gray-F3
set terminal key vt320 \4979 \Kudkf14	; Shift-Gray-F4
set terminal key vt320 \4980 \Kudkf15	; Shift-Gray-F5
set terminal key vt320 \4981 \Kudkdo	; Shift-Gray-F6
set terminal key vt320 \4982 \Kudkf17	; Shift-Gray-F7
set terminal key vt320 \4983 \Kudkf18	; Shift-Gray-F8
set terminal key vt320 \4984 \Kudkf19	; Shift-Gray-F9
set terminal key vt320 \4985 \Kudkf20	; Shift-Gray-F10
set terminal key vt320 \4988 \Kudkf13	; Shift-Gray-F13
set terminal key vt320 \4989 \Kudkf14	; Shift-Gray-F14
set terminal key vt320 \4990 \Kudkf15	; Shift-Gray-F15
set terminal key vt320 \4991 \Kudkdo	; Shift-Gray-F16
set terminal key vt320 \4992 \Kudkf17	; Shift-Gray-F17
set terminal key vt320 \4993 \Kudkf18	; Shift-Gray-F18
set terminal key vt320 \4994 \Kudkf19	; Shift-Gray-F19
set terminal key vt320 \4995 \Kudkf20	; Shift-Gray-F20
set terminal key vt320 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt320 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt320 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt320 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt320 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt320 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt320 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt320 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt320 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt320 \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key vt320 \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key vt320 \6435 \Kdecprev	; Alt-Gray-End
set terminal key vt320 \6436 \Kdecinsert	; Alt-Gray-Home
set terminal key vt320 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt320 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt320 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt320 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt320 \6445 \Kdecfind	; Alt-Gray-Insert
set terminal key vt320 \6446 \Kdecselect	; Alt-Gray-Delete
set terminal key vt320 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt320 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt320 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt320 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt320 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt320 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt320 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt320 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt320pc
set terminal key vt320pc \16 \Kignore	; DLE
set terminal key vt320pc \17 \Kignore	; DC1
set terminal key vt320pc \18 \Kignore	; DC2
set terminal key vt320pc \264 \{127}	; Backspace
set terminal key vt320pc \268 \Kkp5	; Clear
set terminal key vt320pc \269 \{13}	; Enter
set terminal key vt320pc \276 \Kignore	; CapsLock
set terminal key vt320pc \289 \Kkp9	; PageUp
set terminal key vt320pc \290 \Kkp3	; PageDown
set terminal key vt320pc \291 \Kkp1	; End
set terminal key vt320pc \292 \Kkp7	; Home
set terminal key vt320pc \293 \Kkp4	; LeftArrow
set terminal key vt320pc \294 \Kkp8	; UpArrow
set terminal key vt320pc \295 \Kkp6	; RightArrow
set terminal key vt320pc \296 \Kkp2	; DownArrow
set terminal key vt320pc \301 \Kkp0	; Insert
set terminal key vt320pc \302 \Kkpdot	; Delete
set terminal key vt320pc \352 \Kkp0	; Keypad-0
set terminal key vt320pc \353 \Kkp1	; Keypad-1
set terminal key vt320pc \354 \Kkp2	; Keypad-2
set terminal key vt320pc \355 \Kkp3	; Keypad-3
set terminal key vt320pc \356 \Kkp4	; Keypad-4
set terminal key vt320pc \357 \Kkp5	; Keypad-5
set terminal key vt320pc \358 \Kkp6	; Keypad-6
set terminal key vt320pc \359 \Kkp7	; Keypad-7
set terminal key vt320pc \360 \Kkp8	; Keypad-8
set terminal key vt320pc \361 \Kkp9	; Keypad-9
set terminal key vt320pc \362 \Kpf3	; Multiply
set terminal key vt320pc \363 \Kkpcoma	; Add
set terminal key vt320pc \364 \{47}	; Separator
set terminal key vt320pc \365 \Kpf4	; Subtract
set terminal key vt320pc \366 \Kkpdot	; Decimal
set terminal key vt320pc \368 \Kdecf01	; F1
set terminal key vt320pc \369 \Kdecf02	; F2
set terminal key vt320pc \370 \Kdecf03	; F3
set terminal key vt320pc \371 \Kdecf04	; F4
set terminal key vt320pc \372 \Kdecf05	; F5
set terminal key vt320pc \373 \Kdecf06	; F6
set terminal key vt320pc \374 \Kdecf07	; F7
set terminal key vt320pc \375 \Kdecf08	; F8
set terminal key vt320pc \376 \Kdecf09	; F9
set terminal key vt320pc \377 \Kdecf10	; F10
set terminal key vt320pc \378 \Kdecf15	; F11
set terminal key vt320pc \379 \Kdecdo	; F12
set terminal key vt320pc \400 \Kgold	; NumLock
set terminal key vt320pc \401 \Kholdscrn	; ScrollLock
set terminal key vt320pc \539 \{27}	; Shift-ESC
set terminal key vt320pc \776 \{127}	; Shift-Backspace
set terminal key vt320pc \777 \{8}	; Shift-Tab
set terminal key vt320pc \880 \Kudkf1	; Shift-F1
set terminal key vt320pc \881 \Kudkf2	; Shift-F2
set terminal key vt320pc \882 \Kudkf3	; Shift-F3
set terminal key vt320pc \883 \Kudkf4	; Shift-F4
set terminal key vt320pc \884 \Kudkf5	; Shift-F5
set terminal key vt320pc \885 \Kudkf6	; Shift-F6
set terminal key vt320pc \886 \Kudkf7	; Shift-F7
set terminal key vt320pc \887 \Kudkf8	; Shift-F8
set terminal key vt320pc \888 \Kudkf9	; Shift-F9
set terminal key vt320pc \889 \Kudkf10	; Shift-F10
set terminal key vt320pc \912 \Kignore	; Shift-NumLock
set terminal key vt320pc \1056 \Knull	; SP
set terminal key vt320pc \1326 \{8}	; Ctrl-Delete
set terminal key vt320pc \1330 \Knull	; Ctrl-2
set terminal key vt320pc \1334 \{30}	; Ctrl-6
set terminal key vt320pc \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt320pc \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt320pc \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt320pc \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt320pc \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt320pc \1842 \Knull	; Ctrl-Shift-2
set terminal key vt320pc \1846 \{30}	; Ctrl-Shift-6
set terminal key vt320pc \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt320pc \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt320pc \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt320pc \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt320pc \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt320pc \2092 \Kkpcoma	; Alt-,
set terminal key vt320pc \2093 \Kkpminus	; Alt--
set terminal key vt320pc \2094 \Kkpdot	; Alt-.
set terminal key vt320pc \2096 \Kkp0	; Alt-0
set terminal key vt320pc \2097 \Kkp1	; Alt-1
set terminal key vt320pc \2098 \Kkp2	; Alt-2
set terminal key vt320pc \2099 \Kkp3	; Alt-3
set terminal key vt320pc \2100 \Kkp4	; Alt-4
set terminal key vt320pc \2101 \Kkp5	; Alt-5
set terminal key vt320pc \2102 \Kkp6	; Alt-6
set terminal key vt320pc \2103 \Kkp7	; Alt-7
set terminal key vt320pc \2104 \Kkp8	; Alt-8
set terminal key vt320pc \2105 \Kkp9	; Alt-9
set terminal key vt320pc \2109 \Kreset	; Alt-=
set terminal key vt320pc \2114 \Kbreak	; Alt-B
set terminal key vt320pc \2115 \Kcompose	; Alt-C
set terminal key vt320pc \2116 \Kdebug	; Alt-D
set terminal key vt320pc \2117 \Kprintff	; Alt-E
set terminal key vt320pc \2118 \Kfnkeys	; Alt-F
set terminal key vt320pc \2120 \Khelp	; Alt-H
set terminal key vt320pc \2123 \Kkeyclick	; Alt-K
set terminal key vt320pc \2124 \Klbreak	; Alt-L
set terminal key vt320pc \2126 \Kucs2	; Alt-N
set terminal key vt320pc \2127 \Kprtauto	; Alt-O
set terminal key vt320pc \2128 \Kdump	; Alt-P
set terminal key vt320pc \2129 \Kquit	; Alt-Q
set terminal key vt320pc \2130 \Kreset	; Alt-R
set terminal key vt320pc \2131 \Kstatus	; Alt-S
set terminal key vt320pc \2132 \Ktermtype	; Alt-T
set terminal key vt320pc \2133 \Khangup	; Alt-U
set terminal key vt320pc \2134 \Kflipscn	; Alt-V
set terminal key vt320pc \2136 \Kexit	; Alt-X
set terminal key vt320pc \2146 \Kbreak	; Alt-b
set terminal key vt320pc \2147 \Kcompose	; Alt-c
set terminal key vt320pc \2148 \Kdebug	; Alt-d
set terminal key vt320pc \2149 \Kprintff	; Alt-e
set terminal key vt320pc \2150 \Kfnkeys	; Alt-f
set terminal key vt320pc \2152 \Khelp	; Alt-h
set terminal key vt320pc \2155 \Kkeyclick	; Alt-k
set terminal key vt320pc \2156 \Klbreak	; Alt-l
set terminal key vt320pc \2158 \Kucs2	; Alt-n
set terminal key vt320pc \2159 \Kprtauto	; Alt-o
set terminal key vt320pc \2160 \Kdump	; Alt-p
set terminal key vt320pc \2161 \Kquit	; Alt-q
set terminal key vt320pc \2162 \Kreset	; Alt-r
set terminal key vt320pc \2163 \Kstatus	; Alt-s
set terminal key vt320pc \2164 \Ktermtype	; Alt-t
set terminal key vt320pc \2165 \Khangup	; Alt-u
set terminal key vt320pc \2166 \Kflipscn	; Alt-v
set terminal key vt320pc \2168 \Kexit	; Alt-x
set terminal key vt320pc \2312 \{8}	; Alt-Backspace
set terminal key vt320pc \2411 \Kkpminus	; Alt-Add
set terminal key vt320pc \2416 \Kdecf11	; Alt-F1
set terminal key vt320pc \2417 \Kdecf12	; Alt-F2
set terminal key vt320pc \2418 \Kdecf13	; Alt-F3
set terminal key vt320pc \2419 \Kdecf14	; Alt-F4
set terminal key vt320pc \2420 \Kdecf15	; Alt-F5
set terminal key vt320pc \2421 \Kdecdo	; Alt-F6
set terminal key vt320pc \2422 \Kdecf17	; Alt-F7
set terminal key vt320pc \2423 \Kdecf18	; Alt-F8
set terminal key vt320pc \2424 \Kdecf19	; Alt-F9
set terminal key vt320pc \2425 \Kdecf20	; Alt-F10
set terminal key vt320pc \2928 \Kudkf11	; Alt-Shift-F1
set terminal key vt320pc \2929 \Kudkf12	; Alt-Shift-F2
set terminal key vt320pc \2930 \Kudkf13	; Alt-Shift-F3
set terminal key vt320pc \2931 \Kudkf14	; Alt-Shift-F4
set terminal key vt320pc \2932 \Kudkf15	; Alt-Shift-F5
set terminal key vt320pc \2933 \Kudkdo	; Alt-Shift-F6
set terminal key vt320pc \2934 \Kudkf17	; Alt-Shift-F7
set terminal key vt320pc \2935 \Kudkf18	; Alt-Shift-F8
set terminal key vt320pc \2936 \Kudkf19	; Alt-Shift-F9
set terminal key vt320pc \2937 \Kudkf20	; Alt-Shift-F10
set terminal key vt320pc \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt320pc \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt320pc \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt320pc \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt320pc \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt320pc \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt320pc \4143 \Kpf2	; Kp-/
set terminal key vt320pc \4361 \Kcompose	; Gray-Tab
set terminal key vt320pc \4365 \Kkpenter	; Gray-Enter
set terminal key vt320pc \4385 \Kdecprev	; Gray-PageUp
set terminal key vt320pc \4386 \Kdecnext	; Gray-PageDown
set terminal key vt320pc \4387 \Kdecfind	; Gray-End
set terminal key vt320pc \4388 \Kdechome	; Gray-Home
set terminal key vt320pc \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt320pc \4390 \Kuparr	; Gray-UpArrow
set terminal key vt320pc \4391 \Krtarr	; Gray-RightArrow
set terminal key vt320pc \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt320pc \4397 \Kdecinsert	; Gray-Insert
set terminal key vt320pc \4398 \{127}	; Gray-Delete
set terminal key vt320pc \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt320pc \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt320pc \4445 \Kignore	; Gray-TaskList
set terminal key vt320pc \4458 \Kdump	; Gray-Multiply
set terminal key vt320pc \4459 \Kkpminus	; Gray-Add
set terminal key vt320pc \4463 \Kpf2	; Gray-Divide
set terminal key vt320pc \4466 \Kdecf13	; Gray-F3
set terminal key vt320pc \4467 \Kdecf14	; Gray-F4
set terminal key vt320pc \4468 \Kdecf15	; Gray-F5
set terminal key vt320pc \4469 \Kdecdo	; Gray-F6
set terminal key vt320pc \4470 \Kdecf17	; Gray-F7
set terminal key vt320pc \4471 \Kdecf18	; Gray-F8
set terminal key vt320pc \4472 \Kdecf19	; Gray-F9
set terminal key vt320pc \4473 \Kdecf20	; Gray-F10
set terminal key vt320pc \4476 \Kdecf13	; Gray-F13
set terminal key vt320pc \4477 \Kdecf14	; Gray-F14
set terminal key vt320pc \4478 \Kdecf15	; Gray-F15
set terminal key vt320pc \4479 \Kdecdo	; Gray-F16
set terminal key vt320pc \4480 \Kdecf17	; Gray-F17
set terminal key vt320pc \4481 \Kdecf18	; Gray-F18
set terminal key vt320pc \4482 \Kdecf19	; Gray-F19
set terminal key vt320pc \4483 \Kdecf20	; Gray-F20
set terminal key vt320pc \4496 \Kgold	; Gray-NumLock
set terminal key vt320pc \4514 \Kignore	; Gray-162
set terminal key vt320pc \4516 \Kignore	; Gray-164
set terminal key vt320pc \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt320pc \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt320pc \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt320pc \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt320pc \4910 \{127}	; Shift-Gray-Delete
set terminal key vt320pc \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt320pc \4978 \Kudkf13	; Shift-Gray-F3
set terminal key vt320pc \4979 \Kudkf14	; Shift-Gray-F4
set terminal key vt320pc \4980 \Kudkf15	; Shift-Gray-F5
set terminal key vt320pc \4981 \Kudkdo	; Shift-Gray-F6
set terminal key vt320pc \4982 \Kudkf17	; Shift-Gray-F7
set terminal key vt320pc \4983 \Kudkf18	; Shift-Gray-F8
set terminal key vt320pc \4984 \Kudkf19	; Shift-Gray-F9
set terminal key vt320pc \4985 \Kudkf20	; Shift-Gray-F10
set terminal key vt320pc \4988 \Kudkf13	; Shift-Gray-F13
set terminal key vt320pc \4989 \Kudkf14	; Shift-Gray-F14
set terminal key vt320pc \4990 \Kudkf15	; Shift-Gray-F15
set terminal key vt320pc \4991 \Kudkdo	; Shift-Gray-F16
set terminal key vt320pc \4992 \Kudkf17	; Shift-Gray-F17
set terminal key vt320pc \4993 \Kudkf18	; Shift-Gray-F18
set terminal key vt320pc \4994 \Kudkf19	; Shift-Gray-F19
set terminal key vt320pc \4995 \Kudkf20	; Shift-Gray-F20
set terminal key vt320pc \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt320pc \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt320pc \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt320pc \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt320pc \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt320pc \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt320pc \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt320pc \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt320pc \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt320pc \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key vt320pc \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key vt320pc \6435 \Kdecprev	; Alt-Gray-End
set terminal key vt320pc \6436 \Kdecinsert	; Alt-Gray-Home
set terminal key vt320pc \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt320pc \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt320pc \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt320pc \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt320pc \6445 \Kdecfind	; Alt-Gray-Insert
set terminal key vt320pc \6446 \Kdecselect	; Alt-Gray-Delete
set terminal key vt320pc \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt320pc \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt320pc \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt320pc \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt320pc \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt320pc \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt320pc \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt320pc \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY vt52
set terminal key vt52 \16 \Kignore	; DLE
set terminal key vt52 \17 \Kignore	; DC1
set terminal key vt52 \18 \Kignore	; DC2
set terminal key vt52 \264 \{127}	; Backspace
set terminal key vt52 \268 \Kkp5	; Clear
set terminal key vt52 \269 \{13}	; Enter
set terminal key vt52 \276 \Kignore	; CapsLock
set terminal key vt52 \289 \Kkp9	; PageUp
set terminal key vt52 \290 \Kkp3	; PageDown
set terminal key vt52 \291 \Kkp1	; End
set terminal key vt52 \292 \Kkp7	; Home
set terminal key vt52 \293 \Kkp4	; LeftArrow
set terminal key vt52 \294 \Kkp8	; UpArrow
set terminal key vt52 \295 \Kkp6	; RightArrow
set terminal key vt52 \296 \Kkp2	; DownArrow
set terminal key vt52 \301 \Kkp0	; Insert
set terminal key vt52 \302 \Kkpdot	; Delete
set terminal key vt52 \352 \Kkp0	; Keypad-0
set terminal key vt52 \353 \Kkp1	; Keypad-1
set terminal key vt52 \354 \Kkp2	; Keypad-2
set terminal key vt52 \355 \Kkp3	; Keypad-3
set terminal key vt52 \356 \Kkp4	; Keypad-4
set terminal key vt52 \357 \Kkp5	; Keypad-5
set terminal key vt52 \358 \Kkp6	; Keypad-6
set terminal key vt52 \359 \Kkp7	; Keypad-7
set terminal key vt52 \360 \Kkp8	; Keypad-8
set terminal key vt52 \361 \Kkp9	; Keypad-9
set terminal key vt52 \362 \Kpf3	; Multiply
set terminal key vt52 \363 \Kkpcoma	; Add
set terminal key vt52 \364 \{47}	; Separator
set terminal key vt52 \365 \Kpf4	; Subtract
set terminal key vt52 \366 \Kkpdot	; Decimal
set terminal key vt52 \368 \Kgold	; F1
set terminal key vt52 \369 \Kpf2	; F2
set terminal key vt52 \370 \Kpf3	; F3
set terminal key vt52 \371 \Kpf4	; F4
set terminal key vt52 \400 \Kgold	; NumLock
set terminal key vt52 \401 \Kholdscrn	; ScrollLock
set terminal key vt52 \539 \{27}	; Shift-ESC
set terminal key vt52 \776 \{127}	; Shift-Backspace
set terminal key vt52 \777 \{8}	; Shift-Tab
set terminal key vt52 \912 \Kignore	; Shift-NumLock
set terminal key vt52 \1056 \Knull	; SP
set terminal key vt52 \1326 \{8}	; Ctrl-Delete
set terminal key vt52 \1330 \Knull	; Ctrl-2
set terminal key vt52 \1334 \{30}	; Ctrl-6
set terminal key vt52 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt52 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key vt52 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key vt52 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key vt52 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key vt52 \1842 \Knull	; Ctrl-Shift-2
set terminal key vt52 \1846 \{30}	; Ctrl-Shift-6
set terminal key vt52 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key vt52 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key vt52 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key vt52 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key vt52 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key vt52 \2092 \Kkpcoma	; Alt-,
set terminal key vt52 \2093 \Kkpminus	; Alt--
set terminal key vt52 \2094 \Kkpdot	; Alt-.
set terminal key vt52 \2096 \Kkp0	; Alt-0
set terminal key vt52 \2097 \Kkp1	; Alt-1
set terminal key vt52 \2098 \Kkp2	; Alt-2
set terminal key vt52 \2099 \Kkp3	; Alt-3
set terminal key vt52 \2100 \Kkp4	; Alt-4
set terminal key vt52 \2101 \Kkp5	; Alt-5
set terminal key vt52 \2102 \Kkp6	; Alt-6
set terminal key vt52 \2103 \Kkp7	; Alt-7
set terminal key vt52 \2104 \Kkp8	; Alt-8
set terminal key vt52 \2105 \Kkp9	; Alt-9
set terminal key vt52 \2109 \Kreset	; Alt-=
set terminal key vt52 \2114 \Kbreak	; Alt-B
set terminal key vt52 \2115 \Kcompose	; Alt-C
set terminal key vt52 \2116 \Kdebug	; Alt-D
set terminal key vt52 \2117 \Kprintff	; Alt-E
set terminal key vt52 \2118 \Kfnkeys	; Alt-F
set terminal key vt52 \2120 \Khelp	; Alt-H
set terminal key vt52 \2123 \Kkeyclick	; Alt-K
set terminal key vt52 \2124 \Klbreak	; Alt-L
set terminal key vt52 \2126 \Kucs2	; Alt-N
set terminal key vt52 \2127 \Kprtauto	; Alt-O
set terminal key vt52 \2128 \Kdump	; Alt-P
set terminal key vt52 \2129 \Kquit	; Alt-Q
set terminal key vt52 \2130 \Kreset	; Alt-R
set terminal key vt52 \2131 \Kstatus	; Alt-S
set terminal key vt52 \2132 \Ktermtype	; Alt-T
set terminal key vt52 \2133 \Khangup	; Alt-U
set terminal key vt52 \2134 \Kflipscn	; Alt-V
set terminal key vt52 \2136 \Kexit	; Alt-X
set terminal key vt52 \2146 \Kbreak	; Alt-b
set terminal key vt52 \2147 \Kcompose	; Alt-c
set terminal key vt52 \2148 \Kdebug	; Alt-d
set terminal key vt52 \2149 \Kprintff	; Alt-e
set terminal key vt52 \2150 \Kfnkeys	; Alt-f
set terminal key vt52 \2152 \Khelp	; Alt-h
set terminal key vt52 \2155 \Kkeyclick	; Alt-k
set terminal key vt52 \2156 \Klbreak	; Alt-l
set terminal key vt52 \2158 \Kucs2	; Alt-n
set terminal key vt52 \2159 \Kprtauto	; Alt-o
set terminal key vt52 \2160 \Kdump	; Alt-p
set terminal key vt52 \2161 \Kquit	; Alt-q
set terminal key vt52 \2162 \Kreset	; Alt-r
set terminal key vt52 \2163 \Kstatus	; Alt-s
set terminal key vt52 \2164 \Ktermtype	; Alt-t
set terminal key vt52 \2165 \Khangup	; Alt-u
set terminal key vt52 \2166 \Kflipscn	; Alt-v
set terminal key vt52 \2168 \Kexit	; Alt-x
set terminal key vt52 \2312 \{8}	; Alt-Backspace
set terminal key vt52 \2411 \Kkpminus	; Alt-Add
set terminal key vt52 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key vt52 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key vt52 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key vt52 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key vt52 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key vt52 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key vt52 \4143 \Kpf2	; Kp-/
set terminal key vt52 \4365 \Kkpenter	; Gray-Enter
set terminal key vt52 \4385 \Kupscn	; Gray-PageUp
set terminal key vt52 \4386 \Kdnscn	; Gray-PageDown
set terminal key vt52 \4387 \Kendscn	; Gray-End
set terminal key vt52 \4388 \Khomscn	; Gray-Home
set terminal key vt52 \4389 \Klfarr	; Gray-LeftArrow
set terminal key vt52 \4390 \Kuparr	; Gray-UpArrow
set terminal key vt52 \4391 \Krtarr	; Gray-RightArrow
set terminal key vt52 \4392 \Kdnarr	; Gray-DownArrow
set terminal key vt52 \4398 \{127}	; Gray-Delete
set terminal key vt52 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key vt52 \4444 \Kignore	; Gray-RightMSWindows
set terminal key vt52 \4445 \Kignore	; Gray-TaskList
set terminal key vt52 \4458 \Kdump	; Gray-Multiply
set terminal key vt52 \4463 \Kpf2	; Gray-Divide
set terminal key vt52 \4496 \Kgold	; Gray-NumLock
set terminal key vt52 \4514 \Kignore	; Gray-162
set terminal key vt52 \4516 \Kignore	; Gray-164
set terminal key vt52 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key vt52 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key vt52 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key vt52 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key vt52 \4910 \{127}	; Shift-Gray-Delete
set terminal key vt52 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key vt52 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key vt52 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key vt52 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key vt52 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key vt52 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key vt52 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key vt52 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key vt52 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key vt52 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key vt52 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key vt52 \6435 \Kprintff	; Alt-Gray-End
set terminal key vt52 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key vt52 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key vt52 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key vt52 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key vt52 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key vt52 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key vt52 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key vt52 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key vt52 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key vt52 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key vt52 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key vt52 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY wp
set terminal key wp \268 \{27}	; Clear
set terminal key wp /literal \289 \{27}$2	; PageUp
set terminal key wp /literal \290 \{27}$5	; PageDown
set terminal key wp /literal \291 \{27}$4	; End
set terminal key wp /literal \292 \{27}$1	; Home
set terminal key wp \293 \Klfarr	; LeftArrow
set terminal key wp \294 \Kuparr	; UpArrow
set terminal key wp \295 \Krtarr	; RightArrow
set terminal key wp \296 \Kdnarr	; DownArrow
set terminal key wp /literal \301 \{27}$0	; Insert
set terminal key wp /literal \302 \{27}$3	; Delete
set terminal key wp \352 \{48}	; Keypad-0
set terminal key wp \353 \{49}	; Keypad-1
set terminal key wp \354 \{50}	; Keypad-2
set terminal key wp \355 \{51}	; Keypad-3
set terminal key wp \356 \{52}	; Keypad-4
set terminal key wp \357 \{53}	; Keypad-5
set terminal key wp \358 \{54}	; Keypad-6
set terminal key wp \359 \{55}	; Keypad-7
set terminal key wp \360 \{56}	; Keypad-8
set terminal key wp \361 \{57}	; Keypad-9
set terminal key wp \362 \{42}	; Multiply
set terminal key wp \363 \{43}	; Add
set terminal key wp \365 \{45}	; Subtract
set terminal key wp \366 \{46}	; Decimal
set terminal key wp \372 \Kkp7	; F5
set terminal key wp \373 \Kkp8	; F6
set terminal key wp \374 \Kkp9	; F7
set terminal key wp \375 \Kkpminus	; F8
set terminal key wp \376 \Kkp4	; F9
set terminal key wp \377 \Kkp5	; F10
set terminal key wp /literal \378 \{27}~A	; F11
set terminal key wp /literal \379 \{27}~B	; F12
set terminal key wp \880 \Kkp6	; Shift-F1
set terminal key wp \881 \Kkpcoma	; Shift-F2
set terminal key wp \882 \Kkp1	; Shift-F3
set terminal key wp \883 \Kkp2	; Shift-F4
set terminal key wp \884 \Kkp3	; Shift-F5
set terminal key wp \885 \Kkpenter	; Shift-F6
set terminal key wp \886 \Kkp0	; Shift-F7
set terminal key wp \887 \Kkpdot	; Shift-F8
set terminal key wp /literal \888 \{27}!8	; Shift-F9
set terminal key wp /literal \889 \{27}!9	; Shift-F10
set terminal key wp \1028 \{4}	; EOT
set terminal key wp /literal \1032 \{27})h	; BS
set terminal key wp /literal \1033 \{27})i	; HT
set terminal key wp /literal \1034 \{27})\{13}	; LF
set terminal key wp /literal \1037 \{27})m	; CR
set terminal key wp /literal \1041 \{27})q	; DC1
set terminal key wp /literal \1043 \{27})s	; DC3
set terminal key wp /literal \1151 \{27})	; DEL
set terminal key wp /literal \1293 \{27})\{13}	; Ctrl-Enter
set terminal key wp /literal \1313 \{27}^2	; Ctrl-PageUp
set terminal key wp /literal \1314 \{27}^5	; Ctrl-PageDown
set terminal key wp /literal \1315 \{27}^4	; Ctrl-End
set terminal key wp /literal \1316 \{27}^1	; Ctrl-Home
set terminal key wp /literal \1317 \{27}^L	; Ctrl-LeftArrow
set terminal key wp /literal \1318 \{27}^U	; Ctrl-UpArrow
set terminal key wp /literal \1319 \{27}^R	; Ctrl-RightArrow
set terminal key wp /literal \1320 \{27}^D	; Ctrl-DownArrow
set terminal key wp /literal \1325 \{27}^0	; Ctrl-Insert
set terminal key wp /literal \1392 \{27}@0	; Ctrl-F1
set terminal key wp /literal \1393 \{27}@1	; Ctrl-F2
set terminal key wp /literal \1394 \{27}@2	; Ctrl-F3
set terminal key wp /literal \1395 \{27}@3	; Ctrl-F4
set terminal key wp /literal \1396 \{27}@4	; Ctrl-F5
set terminal key wp /literal \1397 \{27}@5	; Ctrl-F6
set terminal key wp /literal \1398 \{27}@6	; Ctrl-F7
set terminal key wp /literal \1399 \{27}@7	; Ctrl-F8
set terminal key wp /literal \1400 \{27}@8	; Ctrl-F9
set terminal key wp /literal \1401 \{27}@9	; Ctrl-F10
set terminal key wp \2094 \Kexit	; Alt-.
set terminal key wp /literal \2096 \{27}|9	; Alt-0
set terminal key wp /literal \2097 \{27}|0	; Alt-1
set terminal key wp /literal \2098 \{27}|1	; Alt-2
set terminal key wp /literal \2099 \{27}|2	; Alt-3
set terminal key wp /literal \2100 \{27}|3	; Alt-4
set terminal key wp /literal \2101 \{27}|4	; Alt-5
set terminal key wp /literal \2102 \{27}|5	; Alt-6
set terminal key wp /literal \2103 \{27}|6	; Alt-7
set terminal key wp /literal \2104 \{27}|7	; Alt-8
set terminal key wp /literal \2105 \{27}|8	; Alt-9
set terminal key wp \2107 \Kdump	; Alt-;
set terminal key wp /literal \2109 \{27}|=	; Alt-=
set terminal key wp /literal \2145 \{27}|a	; Alt-a
set terminal key wp /literal \2146 \{27}|b	; Alt-b
set terminal key wp /literal \2147 \{27}|c	; Alt-c
set terminal key wp /literal \2148 \{27}|d	; Alt-d
set terminal key wp /literal \2149 \{27}|e	; Alt-e
set terminal key wp /literal \2150 \{27}|f	; Alt-f
set terminal key wp /literal \2151 \{27}|g	; Alt-g
set terminal key wp /literal \2152 \{27}|h	; Alt-h
set terminal key wp /literal \2153 \{27}|i	; Alt-i
set terminal key wp /literal \2154 \{27}|j	; Alt-j
set terminal key wp /literal \2155 \{27}|k	; Alt-k
set terminal key wp /literal \2156 \{27}|l	; Alt-l
set terminal key wp /literal \2157 \{27}|m	; Alt-m
set terminal key wp /literal \2158 \{27}|n	; Alt-n
set terminal key wp /literal \2159 \{27}|o	; Alt-o
set terminal key wp /literal \2160 \{27}|p	; Alt-p
set terminal key wp /literal \2161 \{27}|q	; Alt-q
set terminal key wp /literal \2162 \{27}|r	; Alt-r
set terminal key wp /literal \2163 \{27}|s	; Alt-s
set terminal key wp /literal \2164 \{27}|t	; Alt-t
set terminal key wp /literal \2165 \{27}|u	; Alt-u
set terminal key wp /literal \2166 \{27}|v	; Alt-v
set terminal key wp /literal \2167 \{27}|w	; Alt-w
set terminal key wp /literal \2168 \{27}|x	; Alt-x
set terminal key wp /literal \2169 \{27}|y	; Alt-y
set terminal key wp /literal \2170 \{27}|z	; Alt-z
set terminal key wp /literal \2416 \{27}\{35}0	; Alt-F1
set terminal key wp /literal \2417 \{27}\{35}1	; Alt-F2
set terminal key wp /literal \2418 \{27}\{35}2	; Alt-F3
set terminal key wp /literal \2419 \{27}\{35}3	; Alt-F4
set terminal key wp /literal \2420 \{27}\{35}4	; Alt-F5
set terminal key wp /literal \2421 \{27}\{35}5	; Alt-F6
set terminal key wp /literal \2422 \{27}\{35}6	; Alt-F7
set terminal key wp /literal \2423 \{27}\{35}7	; Alt-F8
set terminal key wp /literal \2424 \{27}\{35}8	; Alt-F9
set terminal key wp /literal \2425 \{27}\{35}9	; Alt-F10
set terminal key wp \4365 \{13}	; Gray-Enter
set terminal key wp /literal \4385 \{27}$2	; Gray-PageUp
set terminal key wp /literal \4386 \{27}$5	; Gray-PageDown
set terminal key wp /literal \4387 \{27}$4	; Gray-End
set terminal key wp /literal \4388 \{27}$1	; Gray-Home
set terminal key wp /literal \4397 \{27}$0	; Gray-Insert
set terminal key wp /literal \4398 \{27}$3	; Gray-Delete
set terminal key wp \4543 \{47}	; Gray-OEM.US.Slash
set terminal key wp /literal \4909 \{27}%0	; Shift-Gray-Insert
set terminal key wp /literal \4910 \{27}%3	; Shift-Gray-Delete
set terminal key wp /literal \5389 \{27})\{13}	; Ctrl-Gray-Enter
set terminal key wp /literal \5409 \{27}^2	; Ctrl-Gray-PageUp
set terminal key wp /literal \5410 \{27}^5	; Ctrl-Gray-PageDown
set terminal key wp /literal \5411 \{27}^4	; Ctrl-Gray-End
set terminal key wp /literal \5412 \{27}^1	; Ctrl-Gray-Home
set terminal key wp /literal \5413 \{27}^L	; Ctrl-Gray-LeftArrow
set terminal key wp /literal \5414 \{27}^U	; Ctrl-Gray-UpArrow
set terminal key wp /literal \5415 \{27}^R	; Ctrl-Gray-RightArrow
set terminal key wp /literal \5416 \{27}^D	; Ctrl-Gray-DownArrow
set terminal key wp /literal \5421 \{27}^0	; Ctrl-Gray-Insert
set terminal key wp /literal \6436 \{27}&1	; Alt-Gray-Home
set terminal key wp /literal \6437 \{27}&L	; Alt-Gray-LeftArrow
set terminal key wp /literal \6438 \{27}&U	; Alt-Gray-UpArrow
set terminal key wp /literal \6439 \{27}&R	; Alt-Gray-RightArrow
set terminal key wp /literal \6440 \{27}&D	; Alt-Gray-DownArrow

; SET TERMINAL KEY wy160
set terminal key wy160 \16 \Kignore	; DLE
set terminal key wy160 \17 \Kignore	; DC1
set terminal key wy160 \18 \Kignore	; DC2
set terminal key wy160 \27 \Kwyesc	; ESC
set terminal key wy160 \264 \Kwybs	; Backspace
set terminal key wy160 \265 \Kwytab	; Tab
set terminal key wy160 \269 \Kwyreturn	; Enter
set terminal key wy160 \276 \Kignore	; CapsLock
set terminal key wy160 \289 \Kwypgprev	; PageUp
set terminal key wy160 \290 \Kwypgnext	; PageDown
set terminal key wy160 \291 \Kwyclrln	; End
set terminal key wy160 \292 \Kwyhome	; Home
set terminal key wy160 \293 \Klfarr	; LeftArrow
set terminal key wy160 \294 \Kuparr	; UpArrow
set terminal key wy160 \295 \Krtarr	; RightArrow
set terminal key wy160 \296 \Kdnarr	; DownArrow
set terminal key wy160 \301 \Kwyreplace	; Insert
set terminal key wy160 \302 \{127}	; Delete
set terminal key wy160 \352 \{48}	; Keypad-0
set terminal key wy160 \353 \{49}	; Keypad-1
set terminal key wy160 \354 \{50}	; Keypad-2
set terminal key wy160 \355 \{51}	; Keypad-3
set terminal key wy160 \356 \{52}	; Keypad-4
set terminal key wy160 \357 \{53}	; Keypad-5
set terminal key wy160 \358 \{54}	; Keypad-6
set terminal key wy160 \359 \{55}	; Keypad-7
set terminal key wy160 \360 \{56}	; Keypad-8
set terminal key wy160 \361 \{57}	; Keypad-9
set terminal key wy160 \362 \{42}	; Multiply
set terminal key wy160 \363 \{43}	; Add
set terminal key wy160 \364 \{47}	; Separator
set terminal key wy160 \365 \{45}	; Subtract
set terminal key wy160 \366 \{46}	; Decimal
set terminal key wy160 \368 \Kwyf01	; F1
set terminal key wy160 \369 \Kwyf02	; F2
set terminal key wy160 \370 \Kwyf03	; F3
set terminal key wy160 \371 \Kwyf04	; F4
set terminal key wy160 \372 \Kwyf05	; F5
set terminal key wy160 \373 \Kwyf06	; F6
set terminal key wy160 \374 \Kwyf07	; F7
set terminal key wy160 \375 \Kwyf08	; F8
set terminal key wy160 \376 \Kwyf09	; F9
set terminal key wy160 \377 \Kwyf10	; F10
set terminal key wy160 \378 \Kwyf11	; F11
set terminal key wy160 \379 \Kwyf12	; F12
set terminal key wy160 \400 \Kignore	; NumLock
set terminal key wy160 \401 \Kholdscrn	; ScrollLock
set terminal key wy160 \539 \Kwysesc	; Shift-ESC
set terminal key wy160 \776 \Kwysbs	; Shift-Backspace
set terminal key wy160 \777 \Kwystab	; Shift-Tab
set terminal key wy160 \781 \Kwysreturn	; Shift-Enter
set terminal key wy160 \804 \Kwyshome	; Shift-Home
set terminal key wy160 \813 \Kwyinsert	; Shift-Insert
set terminal key wy160 \880 \Kwysf01	; Shift-F1
set terminal key wy160 \881 \Kwysf02	; Shift-F2
set terminal key wy160 \882 \Kwysf03	; Shift-F3
set terminal key wy160 \883 \Kwysf04	; Shift-F4
set terminal key wy160 \884 \Kwysf05	; Shift-F5
set terminal key wy160 \885 \Kwysf06	; Shift-F6
set terminal key wy160 \886 \Kwysf07	; Shift-F7
set terminal key wy160 \887 \Kwysf08	; Shift-F8
set terminal key wy160 \888 \Kwysf09	; Shift-F9
set terminal key wy160 \889 \Kwysf10	; Shift-F10
set terminal key wy160 \890 \Kwysf11	; Shift-F11
set terminal key wy160 \891 \Kwysf12	; Shift-F12
set terminal key wy160 \912 \Kignore	; Shift-NumLock
set terminal key wy160 \1056 \Knull	; SP
set terminal key wy160 \1326 \{8}	; Ctrl-Delete
set terminal key wy160 \1330 \Knull	; Ctrl-2
set terminal key wy160 \1334 \{30}	; Ctrl-6
set terminal key wy160 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy160 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key wy160 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key wy160 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key wy160 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key wy160 \1842 \Knull	; Ctrl-Shift-2
set terminal key wy160 \1846 \{30}	; Ctrl-Shift-6
set terminal key wy160 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key wy160 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key wy160 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key wy160 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key wy160 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key wy160 \2109 \Kreset	; Alt-=
set terminal key wy160 \2114 \Kbreak	; Alt-B
set terminal key wy160 \2115 \Kcompose	; Alt-C
set terminal key wy160 \2116 \Kdebug	; Alt-D
set terminal key wy160 \2117 \Kprintff	; Alt-E
set terminal key wy160 \2118 \Kfnkeys	; Alt-F
set terminal key wy160 \2120 \Khelp	; Alt-H
set terminal key wy160 \2123 \Kkeyclick	; Alt-K
set terminal key wy160 \2124 \Klbreak	; Alt-L
set terminal key wy160 \2126 \Kucs2	; Alt-N
set terminal key wy160 \2127 \Kprtauto	; Alt-O
set terminal key wy160 \2128 \Kdump	; Alt-P
set terminal key wy160 \2129 \Kquit	; Alt-Q
set terminal key wy160 \2130 \Kreset	; Alt-R
set terminal key wy160 \2131 \Kstatus	; Alt-S
set terminal key wy160 \2132 \Ktermtype	; Alt-T
set terminal key wy160 \2133 \Khangup	; Alt-U
set terminal key wy160 \2134 \Kflipscn	; Alt-V
set terminal key wy160 \2136 \Kexit	; Alt-X
set terminal key wy160 \2146 \Kbreak	; Alt-b
set terminal key wy160 \2147 \Kcompose	; Alt-c
set terminal key wy160 \2148 \Kdebug	; Alt-d
set terminal key wy160 \2149 \Kprintff	; Alt-e
set terminal key wy160 \2150 \Kfnkeys	; Alt-f
set terminal key wy160 \2152 \Khelp	; Alt-h
set terminal key wy160 \2155 \Kkeyclick	; Alt-k
set terminal key wy160 \2156 \Klbreak	; Alt-l
set terminal key wy160 \2158 \Kucs2	; Alt-n
set terminal key wy160 \2159 \Kprtauto	; Alt-o
set terminal key wy160 \2160 \Kdump	; Alt-p
set terminal key wy160 \2161 \Kquit	; Alt-q
set terminal key wy160 \2162 \Kreset	; Alt-r
set terminal key wy160 \2163 \Kstatus	; Alt-s
set terminal key wy160 \2164 \Ktermtype	; Alt-t
set terminal key wy160 \2165 \Khangup	; Alt-u
set terminal key wy160 \2166 \Kflipscn	; Alt-v
set terminal key wy160 \2168 \Kexit	; Alt-x
set terminal key wy160 \2312 \{8}	; Alt-Backspace
set terminal key wy160 \2416 \Kwyf11	; Alt-F1
set terminal key wy160 \2417 \Kwyf12	; Alt-F2
set terminal key wy160 \2418 \Kwyf13	; Alt-F3
set terminal key wy160 \2419 \Kwyf14	; Alt-F4
set terminal key wy160 \2420 \Kwyf15	; Alt-F5
set terminal key wy160 \2421 \Kwyf16	; Alt-F6
set terminal key wy160 \2928 \Kwysf11	; Alt-Shift-F1
set terminal key wy160 \2929 \Kwysf12	; Alt-Shift-F2
set terminal key wy160 \2930 \Kwysf13	; Alt-Shift-F3
set terminal key wy160 \2931 \Kwysf14	; Alt-Shift-F4
set terminal key wy160 \2932 \Kwysf15	; Alt-Shift-F5
set terminal key wy160 \2933 \Kwysf16	; Alt-Shift-F6
set terminal key wy160 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key wy160 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key wy160 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key wy160 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key wy160 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key wy160 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key wy160 \4365 \Kwyenter	; Gray-Enter
set terminal key wy160 \4385 \Kwypgprev	; Gray-PageUp
set terminal key wy160 \4386 \Kwypgnext	; Gray-PageDown
set terminal key wy160 \4387 \Kwyclrln	; Gray-End
set terminal key wy160 \4388 \Kwyhome	; Gray-Home
set terminal key wy160 \4389 \Klfarr	; Gray-LeftArrow
set terminal key wy160 \4390 \Kuparr	; Gray-UpArrow
set terminal key wy160 \4391 \Krtarr	; Gray-RightArrow
set terminal key wy160 \4392 \Kdnarr	; Gray-DownArrow
set terminal key wy160 \4397 \Kwyinsert	; Gray-Insert
set terminal key wy160 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy160 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key wy160 \4444 \Kignore	; Gray-RightMSWindows
set terminal key wy160 \4445 \Kignore	; Gray-TaskList
set terminal key wy160 \4458 \Kdump	; Gray-Multiply
set terminal key wy160 \4463 \{47}	; Gray-Divide
set terminal key wy160 \4466 \Kwyf13	; Gray-F3
set terminal key wy160 \4467 \Kwyf14	; Gray-F4
set terminal key wy160 \4468 \Kwyf15	; Gray-F5
set terminal key wy160 \4469 \Kwyf16	; Gray-F6
set terminal key wy160 \4476 \Kwyf13	; Gray-F13
set terminal key wy160 \4477 \Kwyf14	; Gray-F14
set terminal key wy160 \4478 \Kwyf15	; Gray-F15
set terminal key wy160 \4479 \Kwyf16	; Gray-F16
set terminal key wy160 \4496 \Kignore	; Gray-NumLock
set terminal key wy160 \4514 \Kignore	; Gray-162
set terminal key wy160 \4516 \Kignore	; Gray-164
set terminal key wy160 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key wy160 \4877 \Kwysenter	; Shift-Gray-Enter
set terminal key wy160 \4899 \Kwyclrpg	; Shift-Gray-End
set terminal key wy160 \4900 \Kwyshome	; Shift-Gray-Home
set terminal key wy160 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key wy160 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key wy160 \4909 \Kwyreplace	; Shift-Gray-Insert
set terminal key wy160 \4910 \Kwydelln	; Shift-Gray-Delete
set terminal key wy160 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key wy160 \4978 \Kwysf13	; Shift-Gray-F3
set terminal key wy160 \4979 \Kwysf14	; Shift-Gray-F4
set terminal key wy160 \4980 \Kwysf15	; Shift-Gray-F5
set terminal key wy160 \4981 \Kwysf16	; Shift-Gray-F6
set terminal key wy160 \4988 \Kwysf13	; Shift-Gray-F13
set terminal key wy160 \4989 \Kwysf14	; Shift-Gray-F14
set terminal key wy160 \4990 \Kwysf15	; Shift-Gray-F15
set terminal key wy160 \4991 \Kwysf16	; Shift-Gray-F16
set terminal key wy160 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key wy160 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key wy160 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key wy160 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key wy160 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key wy160 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key wy160 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key wy160 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key wy160 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key wy160 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key wy160 \6435 \Kprintff	; Alt-Gray-End
set terminal key wy160 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key wy160 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key wy160 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key wy160 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key wy160 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key wy160 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key wy160 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key wy160 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key wy160 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key wy160 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key wy160 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key wy160 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY wy30
set terminal key wy30 \16 \Kignore	; DLE
set terminal key wy30 \17 \Kignore	; DC1
set terminal key wy30 \18 \Kignore	; DC2
set terminal key wy30 \27 \Kwyesc	; ESC
set terminal key wy30 \264 \Kwybs	; Backspace
set terminal key wy30 \265 \Kwytab	; Tab
set terminal key wy30 \269 \Kwyreturn	; Enter
set terminal key wy30 \276 \Kignore	; CapsLock
set terminal key wy30 \289 \Kwypgprev	; PageUp
set terminal key wy30 \290 \Kwypgnext	; PageDown
set terminal key wy30 \291 \Kwyclrln	; End
set terminal key wy30 \292 \Kwyhome	; Home
set terminal key wy30 \293 \Klfarr	; LeftArrow
set terminal key wy30 \294 \Kuparr	; UpArrow
set terminal key wy30 \295 \Krtarr	; RightArrow
set terminal key wy30 \296 \Kdnarr	; DownArrow
set terminal key wy30 \301 \Kwyreplace	; Insert
set terminal key wy30 \302 \{127}	; Delete
set terminal key wy30 \352 \{48}	; Keypad-0
set terminal key wy30 \353 \{49}	; Keypad-1
set terminal key wy30 \354 \{50}	; Keypad-2
set terminal key wy30 \355 \{51}	; Keypad-3
set terminal key wy30 \356 \{52}	; Keypad-4
set terminal key wy30 \357 \{53}	; Keypad-5
set terminal key wy30 \358 \{54}	; Keypad-6
set terminal key wy30 \359 \{55}	; Keypad-7
set terminal key wy30 \360 \{56}	; Keypad-8
set terminal key wy30 \361 \{57}	; Keypad-9
set terminal key wy30 \362 \{42}	; Multiply
set terminal key wy30 \363 \{43}	; Add
set terminal key wy30 \364 \{47}	; Separator
set terminal key wy30 \365 \{45}	; Subtract
set terminal key wy30 \366 \{46}	; Decimal
set terminal key wy30 \368 \Kwyf01	; F1
set terminal key wy30 \369 \Kwyf02	; F2
set terminal key wy30 \370 \Kwyf03	; F3
set terminal key wy30 \371 \Kwyf04	; F4
set terminal key wy30 \372 \Kwyf05	; F5
set terminal key wy30 \373 \Kwyf06	; F6
set terminal key wy30 \374 \Kwyf07	; F7
set terminal key wy30 \375 \Kwyf08	; F8
set terminal key wy30 \376 \Kwyf09	; F9
set terminal key wy30 \377 \Kwyf10	; F10
set terminal key wy30 \378 \Kwyf11	; F11
set terminal key wy30 \379 \Kwyf12	; F12
set terminal key wy30 \400 \Kignore	; NumLock
set terminal key wy30 \401 \Kholdscrn	; ScrollLock
set terminal key wy30 \539 \Kwysesc	; Shift-ESC
set terminal key wy30 \776 \Kwysbs	; Shift-Backspace
set terminal key wy30 \777 \Kwystab	; Shift-Tab
set terminal key wy30 \781 \Kwysreturn	; Shift-Enter
set terminal key wy30 \804 \Kwyshome	; Shift-Home
set terminal key wy30 \813 \Kwyinsert	; Shift-Insert
set terminal key wy30 \880 \Kwysf01	; Shift-F1
set terminal key wy30 \881 \Kwysf02	; Shift-F2
set terminal key wy30 \882 \Kwysf03	; Shift-F3
set terminal key wy30 \883 \Kwysf04	; Shift-F4
set terminal key wy30 \884 \Kwysf05	; Shift-F5
set terminal key wy30 \885 \Kwysf06	; Shift-F6
set terminal key wy30 \886 \Kwysf07	; Shift-F7
set terminal key wy30 \887 \Kwysf08	; Shift-F8
set terminal key wy30 \888 \Kwysf09	; Shift-F9
set terminal key wy30 \889 \Kwysf10	; Shift-F10
set terminal key wy30 \890 \Kwysf11	; Shift-F11
set terminal key wy30 \891 \Kwysf12	; Shift-F12
set terminal key wy30 \912 \Kignore	; Shift-NumLock
set terminal key wy30 \1056 \Knull	; SP
set terminal key wy30 \1326 \{8}	; Ctrl-Delete
set terminal key wy30 \1330 \Knull	; Ctrl-2
set terminal key wy30 \1334 \{30}	; Ctrl-6
set terminal key wy30 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy30 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key wy30 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key wy30 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key wy30 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key wy30 \1842 \Knull	; Ctrl-Shift-2
set terminal key wy30 \1846 \{30}	; Ctrl-Shift-6
set terminal key wy30 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key wy30 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key wy30 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key wy30 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key wy30 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key wy30 \2109 \Kreset	; Alt-=
set terminal key wy30 \2114 \Kbreak	; Alt-B
set terminal key wy30 \2115 \Kcompose	; Alt-C
set terminal key wy30 \2116 \Kdebug	; Alt-D
set terminal key wy30 \2117 \Kprintff	; Alt-E
set terminal key wy30 \2118 \Kfnkeys	; Alt-F
set terminal key wy30 \2120 \Khelp	; Alt-H
set terminal key wy30 \2123 \Kkeyclick	; Alt-K
set terminal key wy30 \2124 \Klbreak	; Alt-L
set terminal key wy30 \2126 \Kucs2	; Alt-N
set terminal key wy30 \2127 \Kprtauto	; Alt-O
set terminal key wy30 \2128 \Kdump	; Alt-P
set terminal key wy30 \2129 \Kquit	; Alt-Q
set terminal key wy30 \2130 \Kreset	; Alt-R
set terminal key wy30 \2131 \Kstatus	; Alt-S
set terminal key wy30 \2132 \Ktermtype	; Alt-T
set terminal key wy30 \2133 \Khangup	; Alt-U
set terminal key wy30 \2134 \Kflipscn	; Alt-V
set terminal key wy30 \2136 \Kexit	; Alt-X
set terminal key wy30 \2146 \Kbreak	; Alt-b
set terminal key wy30 \2147 \Kcompose	; Alt-c
set terminal key wy30 \2148 \Kdebug	; Alt-d
set terminal key wy30 \2149 \Kprintff	; Alt-e
set terminal key wy30 \2150 \Kfnkeys	; Alt-f
set terminal key wy30 \2152 \Khelp	; Alt-h
set terminal key wy30 \2155 \Kkeyclick	; Alt-k
set terminal key wy30 \2156 \Klbreak	; Alt-l
set terminal key wy30 \2158 \Kucs2	; Alt-n
set terminal key wy30 \2159 \Kprtauto	; Alt-o
set terminal key wy30 \2160 \Kdump	; Alt-p
set terminal key wy30 \2161 \Kquit	; Alt-q
set terminal key wy30 \2162 \Kreset	; Alt-r
set terminal key wy30 \2163 \Kstatus	; Alt-s
set terminal key wy30 \2164 \Ktermtype	; Alt-t
set terminal key wy30 \2165 \Khangup	; Alt-u
set terminal key wy30 \2166 \Kflipscn	; Alt-v
set terminal key wy30 \2168 \Kexit	; Alt-x
set terminal key wy30 \2312 \{8}	; Alt-Backspace
set terminal key wy30 \2416 \Kwyf11	; Alt-F1
set terminal key wy30 \2417 \Kwyf12	; Alt-F2
set terminal key wy30 \2418 \Kwyf13	; Alt-F3
set terminal key wy30 \2419 \Kwyf14	; Alt-F4
set terminal key wy30 \2420 \Kwyf15	; Alt-F5
set terminal key wy30 \2421 \Kwyf16	; Alt-F6
set terminal key wy30 \2928 \Kwysf11	; Alt-Shift-F1
set terminal key wy30 \2929 \Kwysf12	; Alt-Shift-F2
set terminal key wy30 \2930 \Kwysf13	; Alt-Shift-F3
set terminal key wy30 \2931 \Kwysf14	; Alt-Shift-F4
set terminal key wy30 \2932 \Kwysf15	; Alt-Shift-F5
set terminal key wy30 \2933 \Kwysf16	; Alt-Shift-F6
set terminal key wy30 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key wy30 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key wy30 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key wy30 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key wy30 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key wy30 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key wy30 \4365 \Kwyenter	; Gray-Enter
set terminal key wy30 \4385 \Kwypgprev	; Gray-PageUp
set terminal key wy30 \4386 \Kwypgnext	; Gray-PageDown
set terminal key wy30 \4387 \Kwyclrln	; Gray-End
set terminal key wy30 \4388 \Kwyhome	; Gray-Home
set terminal key wy30 \4389 \Klfarr	; Gray-LeftArrow
set terminal key wy30 \4390 \Kuparr	; Gray-UpArrow
set terminal key wy30 \4391 \Krtarr	; Gray-RightArrow
set terminal key wy30 \4392 \Kdnarr	; Gray-DownArrow
set terminal key wy30 \4397 \Kwyinsert	; Gray-Insert
set terminal key wy30 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy30 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key wy30 \4444 \Kignore	; Gray-RightMSWindows
set terminal key wy30 \4445 \Kignore	; Gray-TaskList
set terminal key wy30 \4458 \Kdump	; Gray-Multiply
set terminal key wy30 \4463 \{47}	; Gray-Divide
set terminal key wy30 \4466 \Kwyf13	; Gray-F3
set terminal key wy30 \4467 \Kwyf14	; Gray-F4
set terminal key wy30 \4468 \Kwyf15	; Gray-F5
set terminal key wy30 \4469 \Kwyf16	; Gray-F6
set terminal key wy30 \4476 \Kwyf13	; Gray-F13
set terminal key wy30 \4477 \Kwyf14	; Gray-F14
set terminal key wy30 \4478 \Kwyf15	; Gray-F15
set terminal key wy30 \4479 \Kwyf16	; Gray-F16
set terminal key wy30 \4496 \Kignore	; Gray-NumLock
set terminal key wy30 \4514 \Kignore	; Gray-162
set terminal key wy30 \4516 \Kignore	; Gray-164
set terminal key wy30 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key wy30 \4877 \Kwysenter	; Shift-Gray-Enter
set terminal key wy30 \4899 \Kwyclrpg	; Shift-Gray-End
set terminal key wy30 \4900 \Kwyshome	; Shift-Gray-Home
set terminal key wy30 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key wy30 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key wy30 \4909 \Kwyreplace	; Shift-Gray-Insert
set terminal key wy30 \4910 \Kwydelln	; Shift-Gray-Delete
set terminal key wy30 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key wy30 \4978 \Kwysf13	; Shift-Gray-F3
set terminal key wy30 \4979 \Kwysf14	; Shift-Gray-F4
set terminal key wy30 \4980 \Kwysf15	; Shift-Gray-F5
set terminal key wy30 \4981 \Kwysf16	; Shift-Gray-F6
set terminal key wy30 \4988 \Kwysf13	; Shift-Gray-F13
set terminal key wy30 \4989 \Kwysf14	; Shift-Gray-F14
set terminal key wy30 \4990 \Kwysf15	; Shift-Gray-F15
set terminal key wy30 \4991 \Kwysf16	; Shift-Gray-F16
set terminal key wy30 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key wy30 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key wy30 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key wy30 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key wy30 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key wy30 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key wy30 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key wy30 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key wy30 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key wy30 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key wy30 \6435 \Kprintff	; Alt-Gray-End
set terminal key wy30 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key wy30 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key wy30 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key wy30 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key wy30 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key wy30 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key wy30 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key wy30 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key wy30 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key wy30 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key wy30 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key wy30 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY wy370
set terminal key wy370 \16 \Kignore	; DLE
set terminal key wy370 \17 \Kignore	; DC1
set terminal key wy370 \18 \Kignore	; DC2
set terminal key wy370 \264 \{127}	; Backspace
set terminal key wy370 \268 \Kkp5	; Clear
set terminal key wy370 \269 \{13}	; Enter
set terminal key wy370 \276 \Kignore	; CapsLock
set terminal key wy370 \289 \Kkp9	; PageUp
set terminal key wy370 \290 \Kkp3	; PageDown
set terminal key wy370 \291 \Kkp1	; End
set terminal key wy370 \292 \Kkp7	; Home
set terminal key wy370 \293 \Kkp4	; LeftArrow
set terminal key wy370 \294 \Kkp8	; UpArrow
set terminal key wy370 \295 \Kkp6	; RightArrow
set terminal key wy370 \296 \Kkp2	; DownArrow
set terminal key wy370 \301 \Kkp0	; Insert
set terminal key wy370 \302 \Kkpdot	; Delete
set terminal key wy370 \352 \Kkp0	; Keypad-0
set terminal key wy370 \353 \Kkp1	; Keypad-1
set terminal key wy370 \354 \Kkp2	; Keypad-2
set terminal key wy370 \355 \Kkp3	; Keypad-3
set terminal key wy370 \356 \Kkp4	; Keypad-4
set terminal key wy370 \357 \Kkp5	; Keypad-5
set terminal key wy370 \358 \Kkp6	; Keypad-6
set terminal key wy370 \359 \Kkp7	; Keypad-7
set terminal key wy370 \360 \Kkp8	; Keypad-8
set terminal key wy370 \361 \Kkp9	; Keypad-9
set terminal key wy370 \362 \Kpf3	; Multiply
set terminal key wy370 \363 \Kkpcoma	; Add
set terminal key wy370 \364 \{47}	; Separator
set terminal key wy370 \365 \Kpf4	; Subtract
set terminal key wy370 \366 \Kkpdot	; Decimal
set terminal key wy370 \368 \Kgold	; F1
set terminal key wy370 \369 \Kpf2	; F2
set terminal key wy370 \370 \Kpf3	; F3
set terminal key wy370 \371 \Kpf4	; F4
set terminal key wy370 \372 \Kbreak	; F5
set terminal key wy370 \373 \Kdecf06	; F6
set terminal key wy370 \374 \Kdecf07	; F7
set terminal key wy370 \375 \Kdecf08	; F8
set terminal key wy370 \376 \Kdecf09	; F9
set terminal key wy370 \377 \Kdecf10	; F10
set terminal key wy370 \378 \Kdecf15	; F11
set terminal key wy370 \379 \Kdecdo	; F12
set terminal key wy370 \400 \Kgold	; NumLock
set terminal key wy370 \401 \Kholdscrn	; ScrollLock
set terminal key wy370 \539 \{27}	; Shift-ESC
set terminal key wy370 \776 \{127}	; Shift-Backspace
set terminal key wy370 \777 \{8}	; Shift-Tab
set terminal key wy370 \880 \Kudkf1	; Shift-F1
set terminal key wy370 \881 \Kudkf2	; Shift-F2
set terminal key wy370 \882 \Kudkf3	; Shift-F3
set terminal key wy370 \883 \Kudkf4	; Shift-F4
set terminal key wy370 \884 \Kudkf5	; Shift-F5
set terminal key wy370 \885 \Kudkf6	; Shift-F6
set terminal key wy370 \886 \Kudkf7	; Shift-F7
set terminal key wy370 \887 \Kudkf8	; Shift-F8
set terminal key wy370 \888 \Kudkf9	; Shift-F9
set terminal key wy370 \889 \Kudkf10	; Shift-F10
set terminal key wy370 \912 \Kignore	; Shift-NumLock
set terminal key wy370 \1056 \Knull	; SP
set terminal key wy370 \1326 \{8}	; Ctrl-Delete
set terminal key wy370 \1330 \Knull	; Ctrl-2
set terminal key wy370 \1334 \{30}	; Ctrl-6
set terminal key wy370 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy370 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key wy370 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key wy370 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key wy370 \1805 \Kkpenter	; Ctrl-Shift-Enter
set terminal key wy370 \1842 \Knull	; Ctrl-Shift-2
set terminal key wy370 \1846 \{30}	; Ctrl-Shift-6
set terminal key wy370 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key wy370 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key wy370 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key wy370 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key wy370 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key wy370 \2092 \Kkpcoma	; Alt-,
set terminal key wy370 \2093 \Kkpminus	; Alt--
set terminal key wy370 \2094 \Kkpdot	; Alt-.
set terminal key wy370 \2096 \Kkp0	; Alt-0
set terminal key wy370 \2097 \Kkp1	; Alt-1
set terminal key wy370 \2098 \Kkp2	; Alt-2
set terminal key wy370 \2099 \Kkp3	; Alt-3
set terminal key wy370 \2100 \Kkp4	; Alt-4
set terminal key wy370 \2101 \Kkp5	; Alt-5
set terminal key wy370 \2102 \Kkp6	; Alt-6
set terminal key wy370 \2103 \Kkp7	; Alt-7
set terminal key wy370 \2104 \Kkp8	; Alt-8
set terminal key wy370 \2105 \Kkp9	; Alt-9
set terminal key wy370 \2109 \Kreset	; Alt-=
set terminal key wy370 \2114 \Kbreak	; Alt-B
set terminal key wy370 \2115 \Kcompose	; Alt-C
set terminal key wy370 \2116 \Kdebug	; Alt-D
set terminal key wy370 \2117 \Kprintff	; Alt-E
set terminal key wy370 \2118 \Kfnkeys	; Alt-F
set terminal key wy370 \2120 \Khelp	; Alt-H
set terminal key wy370 \2123 \Kkeyclick	; Alt-K
set terminal key wy370 \2124 \Klbreak	; Alt-L
set terminal key wy370 \2126 \Kucs2	; Alt-N
set terminal key wy370 \2127 \Kprtauto	; Alt-O
set terminal key wy370 \2128 \Kdump	; Alt-P
set terminal key wy370 \2129 \Kquit	; Alt-Q
set terminal key wy370 \2130 \Kreset	; Alt-R
set terminal key wy370 \2131 \Kstatus	; Alt-S
set terminal key wy370 \2132 \Ktermtype	; Alt-T
set terminal key wy370 \2133 \Khangup	; Alt-U
set terminal key wy370 \2134 \Kflipscn	; Alt-V
set terminal key wy370 \2136 \Kexit	; Alt-X
set terminal key wy370 \2146 \Kbreak	; Alt-b
set terminal key wy370 \2147 \Kcompose	; Alt-c
set terminal key wy370 \2148 \Kdebug	; Alt-d
set terminal key wy370 \2149 \Kprintff	; Alt-e
set terminal key wy370 \2150 \Kfnkeys	; Alt-f
set terminal key wy370 \2152 \Khelp	; Alt-h
set terminal key wy370 \2155 \Kkeyclick	; Alt-k
set terminal key wy370 \2156 \Klbreak	; Alt-l
set terminal key wy370 \2158 \Kucs2	; Alt-n
set terminal key wy370 \2159 \Kprtauto	; Alt-o
set terminal key wy370 \2160 \Kdump	; Alt-p
set terminal key wy370 \2161 \Kquit	; Alt-q
set terminal key wy370 \2162 \Kreset	; Alt-r
set terminal key wy370 \2163 \Kstatus	; Alt-s
set terminal key wy370 \2164 \Ktermtype	; Alt-t
set terminal key wy370 \2165 \Khangup	; Alt-u
set terminal key wy370 \2166 \Kflipscn	; Alt-v
set terminal key wy370 \2168 \Kexit	; Alt-x
set terminal key wy370 \2312 \{8}	; Alt-Backspace
set terminal key wy370 \2411 \Kkpminus	; Alt-Add
set terminal key wy370 \2416 \Kdecf11	; Alt-F1
set terminal key wy370 \2417 \Kdecf12	; Alt-F2
set terminal key wy370 \2418 \Kdecf13	; Alt-F3
set terminal key wy370 \2419 \Kdecf14	; Alt-F4
set terminal key wy370 \2420 \Kdecf15	; Alt-F5
set terminal key wy370 \2421 \Kdecdo	; Alt-F6
set terminal key wy370 \2422 \Kdecf17	; Alt-F7
set terminal key wy370 \2423 \Kdecf18	; Alt-F8
set terminal key wy370 \2424 \Kdecf19	; Alt-F9
set terminal key wy370 \2425 \Kdecf20	; Alt-F10
set terminal key wy370 \2928 \Kudkf11	; Alt-Shift-F1
set terminal key wy370 \2929 \Kudkf12	; Alt-Shift-F2
set terminal key wy370 \2930 \Kudkf13	; Alt-Shift-F3
set terminal key wy370 \2931 \Kudkf14	; Alt-Shift-F4
set terminal key wy370 \2932 \Kudkf15	; Alt-Shift-F5
set terminal key wy370 \2933 \Kudkdo	; Alt-Shift-F6
set terminal key wy370 \2934 \Kudkf17	; Alt-Shift-F7
set terminal key wy370 \2935 \Kudkf18	; Alt-Shift-F8
set terminal key wy370 \2936 \Kudkf19	; Alt-Shift-F9
set terminal key wy370 \2937 \Kudkf20	; Alt-Shift-F10
set terminal key wy370 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key wy370 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key wy370 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key wy370 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key wy370 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key wy370 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key wy370 \4143 \Kpf2	; Kp-/
set terminal key wy370 \4361 \Kcompose	; Gray-Tab
set terminal key wy370 \4365 \Kkpenter	; Gray-Enter
set terminal key wy370 \4385 \Kupscn	; Gray-PageUp
set terminal key wy370 \4386 \Kdnscn	; Gray-PageDown
set terminal key wy370 \4387 \Kendscn	; Gray-End
set terminal key wy370 \4388 \Khomscn	; Gray-Home
set terminal key wy370 \4389 \Klfarr	; Gray-LeftArrow
set terminal key wy370 \4390 \Kuparr	; Gray-UpArrow
set terminal key wy370 \4391 \Krtarr	; Gray-RightArrow
set terminal key wy370 \4392 \Kdnarr	; Gray-DownArrow
set terminal key wy370 \4398 \{127}	; Gray-Delete
set terminal key wy370 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key wy370 \4444 \Kignore	; Gray-RightMSWindows
set terminal key wy370 \4445 \Kignore	; Gray-TaskList
set terminal key wy370 \4458 \Kdump	; Gray-Multiply
set terminal key wy370 \4459 \Kkpminus	; Gray-Add
set terminal key wy370 \4463 \Kpf2	; Gray-Divide
set terminal key wy370 \4466 \Kdecf13	; Gray-F3
set terminal key wy370 \4467 \Kdecf14	; Gray-F4
set terminal key wy370 \4468 \Kdecf15	; Gray-F5
set terminal key wy370 \4469 \Kdecdo	; Gray-F6
set terminal key wy370 \4470 \Kdecf17	; Gray-F7
set terminal key wy370 \4471 \Kdecf18	; Gray-F8
set terminal key wy370 \4472 \Kdecf19	; Gray-F9
set terminal key wy370 \4473 \Kdecf20	; Gray-F10
set terminal key wy370 \4476 \Kdecf13	; Gray-F13
set terminal key wy370 \4477 \Kdecf14	; Gray-F14
set terminal key wy370 \4478 \Kdecf15	; Gray-F15
set terminal key wy370 \4479 \Kdecdo	; Gray-F16
set terminal key wy370 \4480 \Kdecf17	; Gray-F17
set terminal key wy370 \4481 \Kdecf18	; Gray-F18
set terminal key wy370 \4482 \Kdecf19	; Gray-F19
set terminal key wy370 \4483 \Kdecf20	; Gray-F20
set terminal key wy370 \4496 \Kgold	; Gray-NumLock
set terminal key wy370 \4514 \Kignore	; Gray-162
set terminal key wy370 \4516 \Kignore	; Gray-164
set terminal key wy370 \4543 \Kpf2	; Gray-OEM.US.Slash
set terminal key wy370 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key wy370 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key wy370 \4909 \Kpaste	; Shift-Gray-Insert
set terminal key wy370 \4910 \{127}	; Shift-Gray-Delete
set terminal key wy370 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key wy370 \4978 \Kudkf13	; Shift-Gray-F3
set terminal key wy370 \4979 \Kudkf14	; Shift-Gray-F4
set terminal key wy370 \4980 \Kudkf15	; Shift-Gray-F5
set terminal key wy370 \4981 \Kudkdo	; Shift-Gray-F6
set terminal key wy370 \4982 \Kudkf17	; Shift-Gray-F7
set terminal key wy370 \4983 \Kudkf18	; Shift-Gray-F8
set terminal key wy370 \4984 \Kudkf19	; Shift-Gray-F9
set terminal key wy370 \4985 \Kudkf20	; Shift-Gray-F10
set terminal key wy370 \4988 \Kudkf13	; Shift-Gray-F13
set terminal key wy370 \4989 \Kudkf14	; Shift-Gray-F14
set terminal key wy370 \4990 \Kudkf15	; Shift-Gray-F15
set terminal key wy370 \4991 \Kudkdo	; Shift-Gray-F16
set terminal key wy370 \4992 \Kudkf17	; Shift-Gray-F17
set terminal key wy370 \4993 \Kudkf18	; Shift-Gray-F18
set terminal key wy370 \4994 \Kudkf19	; Shift-Gray-F19
set terminal key wy370 \4995 \Kudkf20	; Shift-Gray-F20
set terminal key wy370 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key wy370 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key wy370 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key wy370 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key wy370 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key wy370 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key wy370 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key wy370 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key wy370 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key wy370 \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key wy370 \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key wy370 \6435 \Kdecprev	; Alt-Gray-End
set terminal key wy370 \6436 \Kdecinsert	; Alt-Gray-Home
set terminal key wy370 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key wy370 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key wy370 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key wy370 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key wy370 \6445 \Kdecfind	; Alt-Gray-Insert
set terminal key wy370 \6446 \Kdecselect	; Alt-Gray-Delete
set terminal key wy370 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key wy370 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key wy370 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key wy370 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key wy370 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key wy370 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key wy370 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key wy370 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY wy50
set terminal key wy50 \16 \Kignore	; DLE
set terminal key wy50 \17 \Kignore	; DC1
set terminal key wy50 \18 \Kignore	; DC2
set terminal key wy50 \27 \Kwyesc	; ESC
set terminal key wy50 \264 \Kwybs	; Backspace
set terminal key wy50 \265 \Kwytab	; Tab
set terminal key wy50 \269 \Kwyreturn	; Enter
set terminal key wy50 \276 \Kignore	; CapsLock
set terminal key wy50 \289 \Kwypgprev	; PageUp
set terminal key wy50 \290 \Kwypgnext	; PageDown
set terminal key wy50 \291 \Kwyclrln	; End
set terminal key wy50 \292 \Kwyhome	; Home
set terminal key wy50 \293 \Klfarr	; LeftArrow
set terminal key wy50 \294 \Kuparr	; UpArrow
set terminal key wy50 \295 \Krtarr	; RightArrow
set terminal key wy50 \296 \Kdnarr	; DownArrow
set terminal key wy50 \301 \Kwyreplace	; Insert
set terminal key wy50 \302 \{127}	; Delete
set terminal key wy50 \352 \{48}	; Keypad-0
set terminal key wy50 \353 \{49}	; Keypad-1
set terminal key wy50 \354 \{50}	; Keypad-2
set terminal key wy50 \355 \{51}	; Keypad-3
set terminal key wy50 \356 \{52}	; Keypad-4
set terminal key wy50 \357 \{53}	; Keypad-5
set terminal key wy50 \358 \{54}	; Keypad-6
set terminal key wy50 \359 \{55}	; Keypad-7
set terminal key wy50 \360 \{56}	; Keypad-8
set terminal key wy50 \361 \{57}	; Keypad-9
set terminal key wy50 \362 \{42}	; Multiply
set terminal key wy50 \363 \{43}	; Add
set terminal key wy50 \364 \{47}	; Separator
set terminal key wy50 \365 \{45}	; Subtract
set terminal key wy50 \366 \{46}	; Decimal
set terminal key wy50 \368 \Kwyf01	; F1
set terminal key wy50 \369 \Kwyf02	; F2
set terminal key wy50 \370 \Kwyf03	; F3
set terminal key wy50 \371 \Kwyf04	; F4
set terminal key wy50 \372 \Kwyf05	; F5
set terminal key wy50 \373 \Kwyf06	; F6
set terminal key wy50 \374 \Kwyf07	; F7
set terminal key wy50 \375 \Kwyf08	; F8
set terminal key wy50 \376 \Kwyf09	; F9
set terminal key wy50 \377 \Kwyf10	; F10
set terminal key wy50 \378 \Kwyf11	; F11
set terminal key wy50 \379 \Kwyf12	; F12
set terminal key wy50 \400 \Kignore	; NumLock
set terminal key wy50 \401 \Kholdscrn	; ScrollLock
set terminal key wy50 \539 \Kwysesc	; Shift-ESC
set terminal key wy50 \776 \Kwysbs	; Shift-Backspace
set terminal key wy50 \777 \Kwystab	; Shift-Tab
set terminal key wy50 \781 \Kwysreturn	; Shift-Enter
set terminal key wy50 \804 \Kwyshome	; Shift-Home
set terminal key wy50 \813 \Kwyinsert	; Shift-Insert
set terminal key wy50 \880 \Kwysf01	; Shift-F1
set terminal key wy50 \881 \Kwysf02	; Shift-F2
set terminal key wy50 \882 \Kwysf03	; Shift-F3
set terminal key wy50 \883 \Kwysf04	; Shift-F4
set terminal key wy50 \884 \Kwysf05	; Shift-F5
set terminal key wy50 \885 \Kwysf06	; Shift-F6
set terminal key wy50 \886 \Kwysf07	; Shift-F7
set terminal key wy50 \887 \Kwysf08	; Shift-F8
set terminal key wy50 \888 \Kwysf09	; Shift-F9
set terminal key wy50 \889 \Kwysf10	; Shift-F10
set terminal key wy50 \890 \Kwysf11	; Shift-F11
set terminal key wy50 \891 \Kwysf12	; Shift-F12
set terminal key wy50 \912 \Kignore	; Shift-NumLock
set terminal key wy50 \1056 \Knull	; SP
set terminal key wy50 \1326 \{8}	; Ctrl-Delete
set terminal key wy50 \1330 \Knull	; Ctrl-2
set terminal key wy50 \1334 \{30}	; Ctrl-6
set terminal key wy50 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy50 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key wy50 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key wy50 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key wy50 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key wy50 \1842 \Knull	; Ctrl-Shift-2
set terminal key wy50 \1846 \{30}	; Ctrl-Shift-6
set terminal key wy50 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key wy50 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key wy50 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key wy50 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key wy50 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key wy50 \2109 \Kreset	; Alt-=
set terminal key wy50 \2114 \Kbreak	; Alt-B
set terminal key wy50 \2115 \Kcompose	; Alt-C
set terminal key wy50 \2116 \Kdebug	; Alt-D
set terminal key wy50 \2117 \Kprintff	; Alt-E
set terminal key wy50 \2118 \Kfnkeys	; Alt-F
set terminal key wy50 \2120 \Khelp	; Alt-H
set terminal key wy50 \2123 \Kkeyclick	; Alt-K
set terminal key wy50 \2124 \Klbreak	; Alt-L
set terminal key wy50 \2126 \Kucs2	; Alt-N
set terminal key wy50 \2127 \Kprtauto	; Alt-O
set terminal key wy50 \2128 \Kdump	; Alt-P
set terminal key wy50 \2129 \Kquit	; Alt-Q
set terminal key wy50 \2130 \Kreset	; Alt-R
set terminal key wy50 \2131 \Kstatus	; Alt-S
set terminal key wy50 \2132 \Ktermtype	; Alt-T
set terminal key wy50 \2133 \Khangup	; Alt-U
set terminal key wy50 \2134 \Kflipscn	; Alt-V
set terminal key wy50 \2136 \Kexit	; Alt-X
set terminal key wy50 \2146 \Kbreak	; Alt-b
set terminal key wy50 \2147 \Kcompose	; Alt-c
set terminal key wy50 \2148 \Kdebug	; Alt-d
set terminal key wy50 \2149 \Kprintff	; Alt-e
set terminal key wy50 \2150 \Kfnkeys	; Alt-f
set terminal key wy50 \2152 \Khelp	; Alt-h
set terminal key wy50 \2155 \Kkeyclick	; Alt-k
set terminal key wy50 \2156 \Klbreak	; Alt-l
set terminal key wy50 \2158 \Kucs2	; Alt-n
set terminal key wy50 \2159 \Kprtauto	; Alt-o
set terminal key wy50 \2160 \Kdump	; Alt-p
set terminal key wy50 \2161 \Kquit	; Alt-q
set terminal key wy50 \2162 \Kreset	; Alt-r
set terminal key wy50 \2163 \Kstatus	; Alt-s
set terminal key wy50 \2164 \Ktermtype	; Alt-t
set terminal key wy50 \2165 \Khangup	; Alt-u
set terminal key wy50 \2166 \Kflipscn	; Alt-v
set terminal key wy50 \2168 \Kexit	; Alt-x
set terminal key wy50 \2312 \{8}	; Alt-Backspace
set terminal key wy50 \2416 \Kwyf11	; Alt-F1
set terminal key wy50 \2417 \Kwyf12	; Alt-F2
set terminal key wy50 \2418 \Kwyf13	; Alt-F3
set terminal key wy50 \2419 \Kwyf14	; Alt-F4
set terminal key wy50 \2420 \Kwyf15	; Alt-F5
set terminal key wy50 \2421 \Kwyf16	; Alt-F6
set terminal key wy50 \2928 \Kwysf11	; Alt-Shift-F1
set terminal key wy50 \2929 \Kwysf12	; Alt-Shift-F2
set terminal key wy50 \2930 \Kwysf13	; Alt-Shift-F3
set terminal key wy50 \2931 \Kwysf14	; Alt-Shift-F4
set terminal key wy50 \2932 \Kwysf15	; Alt-Shift-F5
set terminal key wy50 \2933 \Kwysf16	; Alt-Shift-F6
set terminal key wy50 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key wy50 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key wy50 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key wy50 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key wy50 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key wy50 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key wy50 \4365 \Kwyenter	; Gray-Enter
set terminal key wy50 \4385 \Kwypgprev	; Gray-PageUp
set terminal key wy50 \4386 \Kwypgnext	; Gray-PageDown
set terminal key wy50 \4387 \Kwyclrln	; Gray-End
set terminal key wy50 \4388 \Kwyhome	; Gray-Home
set terminal key wy50 \4389 \Klfarr	; Gray-LeftArrow
set terminal key wy50 \4390 \Kuparr	; Gray-UpArrow
set terminal key wy50 \4391 \Krtarr	; Gray-RightArrow
set terminal key wy50 \4392 \Kdnarr	; Gray-DownArrow
set terminal key wy50 \4397 \Kwyinsert	; Gray-Insert
set terminal key wy50 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy50 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key wy50 \4444 \Kignore	; Gray-RightMSWindows
set terminal key wy50 \4445 \Kignore	; Gray-TaskList
set terminal key wy50 \4458 \Kdump	; Gray-Multiply
set terminal key wy50 \4463 \{47}	; Gray-Divide
set terminal key wy50 \4466 \Kwyf13	; Gray-F3
set terminal key wy50 \4467 \Kwyf14	; Gray-F4
set terminal key wy50 \4468 \Kwyf15	; Gray-F5
set terminal key wy50 \4469 \Kwyf16	; Gray-F6
set terminal key wy50 \4476 \Kwyf13	; Gray-F13
set terminal key wy50 \4477 \Kwyf14	; Gray-F14
set terminal key wy50 \4478 \Kwyf15	; Gray-F15
set terminal key wy50 \4479 \Kwyf16	; Gray-F16
set terminal key wy50 \4496 \Kignore	; Gray-NumLock
set terminal key wy50 \4514 \Kignore	; Gray-162
set terminal key wy50 \4516 \Kignore	; Gray-164
set terminal key wy50 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key wy50 \4877 \Kwysenter	; Shift-Gray-Enter
set terminal key wy50 \4899 \Kwyclrpg	; Shift-Gray-End
set terminal key wy50 \4900 \Kwyshome	; Shift-Gray-Home
set terminal key wy50 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key wy50 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key wy50 \4909 \Kwyreplace	; Shift-Gray-Insert
set terminal key wy50 \4910 \Kwydelln	; Shift-Gray-Delete
set terminal key wy50 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key wy50 \4978 \Kwysf13	; Shift-Gray-F3
set terminal key wy50 \4979 \Kwysf14	; Shift-Gray-F4
set terminal key wy50 \4980 \Kwysf15	; Shift-Gray-F5
set terminal key wy50 \4981 \Kwysf16	; Shift-Gray-F6
set terminal key wy50 \4988 \Kwysf13	; Shift-Gray-F13
set terminal key wy50 \4989 \Kwysf14	; Shift-Gray-F14
set terminal key wy50 \4990 \Kwysf15	; Shift-Gray-F15
set terminal key wy50 \4991 \Kwysf16	; Shift-Gray-F16
set terminal key wy50 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key wy50 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key wy50 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key wy50 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key wy50 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key wy50 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key wy50 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key wy50 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key wy50 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key wy50 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key wy50 \6435 \Kprintff	; Alt-Gray-End
set terminal key wy50 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key wy50 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key wy50 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key wy50 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key wy50 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key wy50 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key wy50 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key wy50 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key wy50 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key wy50 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key wy50 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key wy50 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; SET TERMINAL KEY wy60
set terminal key wy60 \16 \Kignore	; DLE
set terminal key wy60 \17 \Kignore	; DC1
set terminal key wy60 \18 \Kignore	; DC2
set terminal key wy60 \27 \Kwyesc	; ESC
set terminal key wy60 \264 \Kwybs	; Backspace
set terminal key wy60 \265 \Kwytab	; Tab
set terminal key wy60 \269 \Kwyreturn	; Enter
set terminal key wy60 \276 \Kignore	; CapsLock
set terminal key wy60 \289 \Kwypgprev	; PageUp
set terminal key wy60 \290 \Kwypgnext	; PageDown
set terminal key wy60 \291 \Kwyclrln	; End
set terminal key wy60 \292 \Kwyhome	; Home
set terminal key wy60 \293 \Klfarr	; LeftArrow
set terminal key wy60 \294 \Kuparr	; UpArrow
set terminal key wy60 \295 \Krtarr	; RightArrow
set terminal key wy60 \296 \Kdnarr	; DownArrow
set terminal key wy60 \301 \Kwyreplace	; Insert
set terminal key wy60 \302 \{127}	; Delete
set terminal key wy60 \352 \{48}	; Keypad-0
set terminal key wy60 \353 \{49}	; Keypad-1
set terminal key wy60 \354 \{50}	; Keypad-2
set terminal key wy60 \355 \{51}	; Keypad-3
set terminal key wy60 \356 \{52}	; Keypad-4
set terminal key wy60 \357 \{53}	; Keypad-5
set terminal key wy60 \358 \{54}	; Keypad-6
set terminal key wy60 \359 \{55}	; Keypad-7
set terminal key wy60 \360 \{56}	; Keypad-8
set terminal key wy60 \361 \{57}	; Keypad-9
set terminal key wy60 \362 \{42}	; Multiply
set terminal key wy60 \363 \{43}	; Add
set terminal key wy60 \364 \{47}	; Separator
set terminal key wy60 \365 \{45}	; Subtract
set terminal key wy60 \366 \{46}	; Decimal
set terminal key wy60 \368 \Kwyf01	; F1
set terminal key wy60 \369 \Kwyf02	; F2
set terminal key wy60 \370 \Kwyf03	; F3
set terminal key wy60 \371 \Kwyf04	; F4
set terminal key wy60 \372 \Kwyf05	; F5
set terminal key wy60 \373 \Kwyf06	; F6
set terminal key wy60 \374 \Kwyf07	; F7
set terminal key wy60 \375 \Kwyf08	; F8
set terminal key wy60 \376 \Kwyf09	; F9
set terminal key wy60 \377 \Kwyf10	; F10
set terminal key wy60 \378 \Kwyf11	; F11
set terminal key wy60 \379 \Kwyf12	; F12
set terminal key wy60 \400 \Kignore	; NumLock
set terminal key wy60 \401 \Kholdscrn	; ScrollLock
set terminal key wy60 \539 \Kwysesc	; Shift-ESC
set terminal key wy60 \776 \Kwysbs	; Shift-Backspace
set terminal key wy60 \777 \Kwystab	; Shift-Tab
set terminal key wy60 \781 \Kwysreturn	; Shift-Enter
set terminal key wy60 \804 \Kwyshome	; Shift-Home
set terminal key wy60 \813 \Kwyinsert	; Shift-Insert
set terminal key wy60 \880 \Kwysf01	; Shift-F1
set terminal key wy60 \881 \Kwysf02	; Shift-F2
set terminal key wy60 \882 \Kwysf03	; Shift-F3
set terminal key wy60 \883 \Kwysf04	; Shift-F4
set terminal key wy60 \884 \Kwysf05	; Shift-F5
set terminal key wy60 \885 \Kwysf06	; Shift-F6
set terminal key wy60 \886 \Kwysf07	; Shift-F7
set terminal key wy60 \887 \Kwysf08	; Shift-F8
set terminal key wy60 \888 \Kwysf09	; Shift-F9
set terminal key wy60 \889 \Kwysf10	; Shift-F10
set terminal key wy60 \890 \Kwysf11	; Shift-F11
set terminal key wy60 \891 \Kwysf12	; Shift-F12
set terminal key wy60 \912 \Kignore	; Shift-NumLock
set terminal key wy60 \1056 \Knull	; SP
set terminal key wy60 \1326 \{8}	; Ctrl-Delete
set terminal key wy60 \1330 \Knull	; Ctrl-2
set terminal key wy60 \1334 \{30}	; Ctrl-6
set terminal key wy60 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy60 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key wy60 \1469 \{31}	; Ctrl-OEM.US.Subtract
set terminal key wy60 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key wy60 \1805 \Kkeyclick	; Ctrl-Shift-Enter
set terminal key wy60 \1842 \Knull	; Ctrl-Shift-2
set terminal key wy60 \1846 \{30}	; Ctrl-Shift-6
set terminal key wy60 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key wy60 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key wy60 \2011 \{27}	; Ctrl-Shift-OEM.US.LeftBracket
set terminal key wy60 \2012 \{28}	; Ctrl-Shift-OEM.US.BackSlash
set terminal key wy60 \2013 \{29}	; Ctrl-Shift-OEM.US.RightBracket
set terminal key wy60 \2109 \Kreset	; Alt-=
set terminal key wy60 \2114 \Kbreak	; Alt-B
set terminal key wy60 \2115 \Kcompose	; Alt-C
set terminal key wy60 \2116 \Kdebug	; Alt-D
set terminal key wy60 \2117 \Kprintff	; Alt-E
set terminal key wy60 \2118 \Kfnkeys	; Alt-F
set terminal key wy60 \2120 \Khelp	; Alt-H
set terminal key wy60 \2123 \Kkeyclick	; Alt-K
set terminal key wy60 \2124 \Klbreak	; Alt-L
set terminal key wy60 \2126 \Kucs2	; Alt-N
set terminal key wy60 \2127 \Kprtauto	; Alt-O
set terminal key wy60 \2128 \Kdump	; Alt-P
set terminal key wy60 \2129 \Kquit	; Alt-Q
set terminal key wy60 \2130 \Kreset	; Alt-R
set terminal key wy60 \2131 \Kstatus	; Alt-S
set terminal key wy60 \2132 \Ktermtype	; Alt-T
set terminal key wy60 \2133 \Khangup	; Alt-U
set terminal key wy60 \2134 \Kflipscn	; Alt-V
set terminal key wy60 \2136 \Kexit	; Alt-X
set terminal key wy60 \2146 \Kbreak	; Alt-b
set terminal key wy60 \2147 \Kcompose	; Alt-c
set terminal key wy60 \2148 \Kdebug	; Alt-d
set terminal key wy60 \2149 \Kprintff	; Alt-e
set terminal key wy60 \2150 \Kfnkeys	; Alt-f
set terminal key wy60 \2152 \Khelp	; Alt-h
set terminal key wy60 \2155 \Kkeyclick	; Alt-k
set terminal key wy60 \2156 \Klbreak	; Alt-l
set terminal key wy60 \2158 \Kucs2	; Alt-n
set terminal key wy60 \2159 \Kprtauto	; Alt-o
set terminal key wy60 \2160 \Kdump	; Alt-p
set terminal key wy60 \2161 \Kquit	; Alt-q
set terminal key wy60 \2162 \Kreset	; Alt-r
set terminal key wy60 \2163 \Kstatus	; Alt-s
set terminal key wy60 \2164 \Ktermtype	; Alt-t
set terminal key wy60 \2165 \Khangup	; Alt-u
set terminal key wy60 \2166 \Kflipscn	; Alt-v
set terminal key wy60 \2168 \Kexit	; Alt-x
set terminal key wy60 \2312 \{8}	; Alt-Backspace
set terminal key wy60 \2416 \Kwyf11	; Alt-F1
set terminal key wy60 \2417 \Kwyf12	; Alt-F2
set terminal key wy60 \2418 \Kwyf13	; Alt-F3
set terminal key wy60 \2419 \Kwyf14	; Alt-F4
set terminal key wy60 \2420 \Kwyf15	; Alt-F5
set terminal key wy60 \2421 \Kwyf16	; Alt-F6
set terminal key wy60 \2928 \Kwysf11	; Alt-Shift-F1
set terminal key wy60 \2929 \Kwysf12	; Alt-Shift-F2
set terminal key wy60 \2930 \Kwysf13	; Alt-Shift-F3
set terminal key wy60 \2931 \Kwysf14	; Alt-Shift-F4
set terminal key wy60 \2932 \Kwysf15	; Alt-Shift-F5
set terminal key wy60 \2933 \Kwysf16	; Alt-Shift-F6
set terminal key wy60 \3908 \Kdebuglog	; Ctrl-Alt-Shift-D
set terminal key wy60 \3909 \Kkbemacs	; Ctrl-Alt-Shift-E
set terminal key wy60 \3912 \Kkbhebrew	; Ctrl-Alt-Shift-H
set terminal key wy60 \3918 \Kkbenglish	; Ctrl-Alt-Shift-N
set terminal key wy60 \3922 \Kkbrussian	; Ctrl-Alt-Shift-R
set terminal key wy60 \3927 \Kkbwp	; Ctrl-Alt-Shift-W
set terminal key wy60 \4365 \Kwyenter	; Gray-Enter
set terminal key wy60 \4385 \Kwypgprev	; Gray-PageUp
set terminal key wy60 \4386 \Kwypgnext	; Gray-PageDown
set terminal key wy60 \4387 \Kwyclrln	; Gray-End
set terminal key wy60 \4388 \Kwyhome	; Gray-Home
set terminal key wy60 \4389 \Klfarr	; Gray-LeftArrow
set terminal key wy60 \4390 \Kuparr	; Gray-UpArrow
set terminal key wy60 \4391 \Krtarr	; Gray-RightArrow
set terminal key wy60 \4392 \Kdnarr	; Gray-DownArrow
set terminal key wy60 \4397 \Kwyinsert	; Gray-Insert
set terminal key wy60 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy60 \4443 \Kignore	; Gray-LeftMSWindows
set terminal key wy60 \4444 \Kignore	; Gray-RightMSWindows
set terminal key wy60 \4445 \Kignore	; Gray-TaskList
set terminal key wy60 \4458 \Kdump	; Gray-Multiply
set terminal key wy60 \4463 \{47}	; Gray-Divide
set terminal key wy60 \4466 \Kwyf13	; Gray-F3
set terminal key wy60 \4467 \Kwyf14	; Gray-F4
set terminal key wy60 \4468 \Kwyf15	; Gray-F5
set terminal key wy60 \4469 \Kwyf16	; Gray-F6
set terminal key wy60 \4476 \Kwyf13	; Gray-F13
set terminal key wy60 \4477 \Kwyf14	; Gray-F14
set terminal key wy60 \4478 \Kwyf15	; Gray-F15
set terminal key wy60 \4479 \Kwyf16	; Gray-F16
set terminal key wy60 \4496 \Kignore	; Gray-NumLock
set terminal key wy60 \4514 \Kignore	; Gray-162
set terminal key wy60 \4516 \Kignore	; Gray-164
set terminal key wy60 \4543 \{47}	; Gray-OEM.US.Slash
set terminal key wy60 \4877 \Kwysenter	; Shift-Gray-Enter
set terminal key wy60 \4899 \Kwyclrpg	; Shift-Gray-End
set terminal key wy60 \4900 \Kwyshome	; Shift-Gray-Home
set terminal key wy60 \4901 \Klfone	; Shift-Gray-LeftArrow
set terminal key wy60 \4903 \Krtone	; Shift-Gray-RightArrow
set terminal key wy60 \4909 \Kwyreplace	; Shift-Gray-Insert
set terminal key wy60 \4910 \Kwydelln	; Shift-Gray-Delete
set terminal key wy60 \4970 \Kignore	; Shift-Gray-Multiply
set terminal key wy60 \4978 \Kwysf13	; Shift-Gray-F3
set terminal key wy60 \4979 \Kwysf14	; Shift-Gray-F4
set terminal key wy60 \4980 \Kwysf15	; Shift-Gray-F5
set terminal key wy60 \4981 \Kwysf16	; Shift-Gray-F6
set terminal key wy60 \4988 \Kwysf13	; Shift-Gray-F13
set terminal key wy60 \4989 \Kwysf14	; Shift-Gray-F14
set terminal key wy60 \4990 \Kwysf15	; Shift-Gray-F15
set terminal key wy60 \4991 \Kwysf16	; Shift-Gray-F16
set terminal key wy60 \5008 \Kignore	; Shift-Gray-NumLock
set terminal key wy60 \5409 \Kupone	; Ctrl-Gray-PageUp
set terminal key wy60 \5410 \Kdnone	; Ctrl-Gray-PageDown
set terminal key wy60 \5413 \Kbacknext	; Ctrl-Gray-LeftArrow
set terminal key wy60 \5414 \Kgoto	; Ctrl-Gray-UpArrow
set terminal key wy60 \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key wy60 \5421 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key wy60 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key wy60 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key wy60 \6434 \Kdos	; Alt-Gray-PageDown
set terminal key wy60 \6435 \Kprintff	; Alt-Gray-End
set terminal key wy60 \6437 \Kbacksearch	; Alt-Gray-LeftArrow
set terminal key wy60 \6438 \Kgobook	; Alt-Gray-UpArrow
set terminal key wy60 \6439 \Kfwdsearch	; Alt-Gray-RightArrow
set terminal key wy60 \6440 \Ksetbook	; Alt-Gray-DownArrow
set terminal key wy60 \6945 \Kupscn	; Alt-Shift-Gray-PageUp
set terminal key wy60 \6946 \Kdnscn	; Alt-Shift-Gray-PageDown
set terminal key wy60 \6947 \Kendscn	; Alt-Shift-Gray-End
set terminal key wy60 \6948 \Khomscn	; Alt-Shift-Gray-Home
set terminal key wy60 \6949 \Klfpage	; Alt-Shift-Gray-LeftArrow
set terminal key wy60 \6951 \Krtpage	; Alt-Shift-Gray-RightArrow
set terminal key wy60 \7973 \Klfall	; Ctrl-Alt-Shift-Gray-LeftArrow
set terminal key wy60 \7975 \Krtall	; Ctrl-Alt-Shift-Gray-RightArrow

; End