; C-Kermit SAVE KEYMAP file: Wed Oct 01 15:22:45 1997

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 aixterm 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 beos-ansi 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 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 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 vt320 clear
set terminal key vt52 clear
set terminal key wy30 clear
set terminal key wy370 clear
set terminal key wy50 clear
set terminal key wy60 clear


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

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

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

; SET TERMINAL KEY hft
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 \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 \368 \{27}[001q	; F1
set terminal key hft \369 \{27}[002q	; F2
set terminal key hft \370 \{27}[003q	; F3
set terminal key hft \371 \{27}[004q	; F4
set terminal key hft \372 \{27}[005q	; F5
set terminal key hft \373 \{27}[006q	; F6
set terminal key hft \374 \{27}[007q	; F7
set terminal key hft \375 \{27}[008q	; F8
set terminal key hft \376 \{27}[009q	; F9
set terminal key hft \377 \{27}[010q	; F10
set terminal key hft \378 \{27}[011q	; F11
set terminal key hft \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 \777 \{27}[Z	; Shift-Tab
set terminal key hft \880 \{27}[013q	; Shift-F1
set terminal key hft \881 \{27}[014q	; Shift-F2
set terminal key hft \882 \{27}[015q	; Shift-F3
set terminal key hft \883 \{27}[016q	; Shift-F4
set terminal key hft \884 \{27}[017q	; Shift-F5
set terminal key hft \885 \{27}[018q	; Shift-F6
set terminal key hft \886 \{27}[019q	; Shift-F7
set terminal key hft \887 \{27}[020q	; Shift-F8
set terminal key hft \888 \{27}[021q	; Shift-F9
set terminal key hft \889 \{27}[022q	; Shift-F10
set terminal key hft \890 \{27}[023q	; Shift-F11
set terminal key hft \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 \1289 \{27}[072q	; Ctrl-Tab
set terminal key hft \1292 \{27}[184q	; Ctrl-Clear
set terminal key hft \1313 \{27}[190q	; Ctrl-PageUp
set terminal key hft \1314 \{27}[194q	; Ctrl-PageDown
set terminal key hft \1315 \{27}[176q	; Ctrl-End
set terminal key hft \1316 \{27}[172q	; Ctrl-Home
set terminal key hft \1317 \{27}[174q	; Ctrl-LeftArrow
set terminal key hft \1318 \{27}[182q	; Ctrl-UpArrow
set terminal key hft \1319 \{27}[192q	; Ctrl-RightArrow
set terminal key hft \1320 \{27}[186q	; Ctrl-DownArrow
set terminal key hft \1322 \{27}[211q	; Ctrl-Print
set terminal key hft \1325 \{27}[178q	; Ctrl-Insert
set terminal key hft \1326 \{27}[196q	; Ctrl-Delete
set terminal key hft \1328 \{27}[056q	; Ctrl-0
set terminal key hft \1329 \{27}[049q	; Ctrl-1
set terminal key hft \1330 \Knull	; Ctrl-2
set terminal key hft \1331 \{27}[050q	; Ctrl-3
set terminal key hft \1332 \{27}[051q	; Ctrl-4
set terminal key hft \1333 \{27}[052q	; Ctrl-5
set terminal key hft \1335 \{27}[053q	; Ctrl-7
set terminal key hft \1336 \{27}[054q	; Ctrl-8
set terminal key hft \1337 \{27}[055q	; Ctrl-9
set terminal key hft \1386 \{27}[187q	; Ctrl-Multiply
set terminal key hft \1387 \{27}[200q	; Ctrl-Add
set terminal key hft \1389 \{27}[198q	; Ctrl-Subtract
set terminal key hft \1392 \{27}[025q	; Ctrl-F1
set terminal key hft \1393 \{27}[026q	; Ctrl-F2
set terminal key hft \1394 \{27}[027q	; Ctrl-F3
set terminal key hft \1395 \{27}[028q	; Ctrl-F4
set terminal key hft \1396 \{27}[029q	; Ctrl-F5
set terminal key hft \1397 \{27}[030q	; Ctrl-F6
set terminal key hft \1398 \{27}[031q	; Ctrl-F7
set terminal key hft \1399 \{27}[032q	; Ctrl-F8
set terminal key hft \1400 \{27}[033q	; Ctrl-F9
set terminal key hft \1401 \{27}[034q	; Ctrl-F10
set terminal key hft \1402 \{27}[035q	; Ctrl-F11
set terminal key hft \1403 \{27}[036q	; Ctrl-F12
set terminal key hft \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key hft \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 \2096 \{27}[067q	; Alt-0
set terminal key hft \2097 \{27}[058q	; Alt-1
set terminal key hft \2098 \{27}[059q	; Alt-2
set terminal key hft \2099 \{27}[060q	; Alt-3
set terminal key hft \2100 \{27}[061q	; Alt-4
set terminal key hft \2101 \{27}[062q	; Alt-5
set terminal key hft \2102 \{27}[063q	; Alt-6
set terminal key hft \2103 \{27}[064q	; Alt-7
set terminal key hft \2104 \{27}[065q	; Alt-8
set terminal key hft \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 \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 \2145 \{27}[087q	; Alt-a
set terminal key hft \2146 \{27}[105q	; Alt-b
set terminal key hft \2147 \{27}[103q	; Alt-c
set terminal key hft \2148 \{27}[089q	; Alt-d
set terminal key hft \2149 \{27}[076q	; Alt-e
set terminal key hft \2150 \{27}[090q	; Alt-f
set terminal key hft \2151 \{27}[091q	; Alt-g
set terminal key hft \2152 \{27}[092q	; Alt-h
set terminal key hft \2153 \{27}[081q	; Alt-i
set terminal key hft \2154 \{27}[093q	; Alt-j
set terminal key hft \2155 \{27}[094q	; Alt-k
set terminal key hft \2156 \{27}[095q	; Alt-l
set terminal key hft \2157 \{27}[107q	; Alt-m
set terminal key hft \2158 \{27}[106q	; Alt-n
set terminal key hft \2159 \{27}[082q	; Alt-o
set terminal key hft \2160 \{27}[083q	; Alt-p
set terminal key hft \2161 \{27}[074q	; Alt-q
set terminal key hft \2162 \{27}[077q	; Alt-r
set terminal key hft \2163 \{27}[088q	; Alt-s
set terminal key hft \2164 \{27}[078q	; Alt-t
set terminal key hft \2165 \{27}[080q	; Alt-u
set terminal key hft \2166 \{27}[104q	; Alt-v
set terminal key hft \2167 \{27}[075q	; Alt-w
set terminal key hft \2168 \{27}[102q	; Alt-x
set terminal key hft \2169 \{27}[079q	; Alt-y
set terminal key hft \2170 \{27}[101q	; Alt-z
set terminal key hft \2312 \{27}[071q	; Alt-Backspace
set terminal key hft \2317 \{27}[100q	; Alt-Enter
set terminal key hft \2346 \{27}[212q	; Alt-Print
set terminal key hft \2350 \{27}[197q	; Alt-Delete
set terminal key hft \2410 \{27}[188q	; Alt-Multiply
set terminal key hft \2411 \{27}[201q	; Alt-Add
set terminal key hft \2413 \{27}[199q	; Alt-Subtract
set terminal key hft \2416 \{27}[037q	; Alt-F1
set terminal key hft \2417 \{27}[038q	; Alt-F2
set terminal key hft \2418 \{27}[039q	; Alt-F3
set terminal key hft \2419 \{27}[040q	; Alt-F4
set terminal key hft \2420 \{27}[041q	; Alt-F5
set terminal key hft \2421 \{27}[042q	; Alt-F6
set terminal key hft \2422 \{27}[043q	; Alt-F7
set terminal key hft \2423 \{27}[044q	; Alt-F8
set terminal key hft \2424 \{27}[045q	; Alt-F9
set terminal key hft \2425 \{27}[046q	; Alt-F10
set terminal key hft \2426 \{27}[047q	; Alt-F11
set terminal key hft \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 \4365 \{13}	; Gray-Enter
set terminal key hft \4385 \{27}[150q	; Gray-PageUp
set terminal key hft \4386 \{27}[154q	; Gray-PageDown
set terminal key hft \4387 \{27}146q	; Gray-End
set terminal key hft \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 \4397 \{27}[139q	; Gray-Insert
set terminal key hft \4398 \{27}[P	; Gray-Delete
set terminal key hft \4458 \Kdump	; Gray-Multiply
set terminal key hft \4496 \Kignore	; Gray-NumLock
set terminal key hft \4543 \{47}	; Gray-OEM.US.Slash
set terminal key hft \4897 \{27}[151q	; Shift-Gray-PageUp
set terminal key hft \4898 \{27}[155q	; Shift-Gray-PageDown
set terminal key hft \4899 \{27}[147q	; Shift-Gray-End
set terminal key hft \4900 \{27}[143q	; Shift-Gray-Home
set terminal key hft \4901 \{27}[158q	; Shift-Gray-LeftArrow
set terminal key hft \4902 \{27}[161q	; Shift-Gray-UpArrow
set terminal key hft \4903 \{27}[167q	; Shift-Gray-RightArrow
set terminal key hft \4904 \{27}[164q	; Shift-Gray-DownArrow
set terminal key hft \4909 \{27}[139q	; Shift-Gray-Insert
set terminal key hft \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 \5409 \{27}[152q	; Ctrl-Gray-PageUp
set terminal key hft \5410 \{27}[156q	; Ctrl-Gray-PageDown
set terminal key hft \5411 \{27}[148q	; Ctrl-Gray-End
set terminal key hft \5412 \{27}[144q	; Ctrl-Gray-Home
set terminal key hft \5413 \{27}[159q	; Ctrl-Gray-LeftArrow
set terminal key hft \5414 \{27}[162q	; Ctrl-Gray-UpArrow
set terminal key hft \5415 \{27}[168q	; Ctrl-Gray-RightArrow
set terminal key hft \5416 \{27}[165q	; Ctrl-Gray-DownArrow
set terminal key hft \5421 \{27}[140q	; Ctrl-Gray-Insert
set terminal key hft \5422 \{27}[142q	; Ctrl-Gray-Delete
set terminal key hft \5487 \{27}[179q	; Ctrl-Gray-Divide
set terminal key hft \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key hft \6433 \{27}[153q	; Alt-Gray-PageUp
set terminal key hft \6434 \{27}[157q	; Alt-Gray-PageDown
set terminal key hft \6435 \{27}[149q	; Alt-Gray-End
set terminal key hft \6436 \{27}[145q	; Alt-Gray-Home
set terminal key hft \6437 \{27}[160q	; Alt-Gray-LeftArrow
set terminal key hft \6438 \{27}[162q	; Alt-Gray-UpArrow
set terminal key hft \6439 \{27}[169q	; Alt-Gray-RightArrow
set terminal key hft \6440 \{27}[165q	; Alt-Gray-DownArrow
set terminal key hft \6445 \{27}[141q	; Alt-Gray-Insert
set terminal key hft \6446 \{27}[M	; Alt-Gray-Delete
set terminal key hft \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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key hp2621a \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key hp2621a \4496 \Kignore	; Gray-NumLock
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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key hpterm \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key hpterm \4496 \Kignore	; Gray-NumLock
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 \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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key hz1500 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \4365 \{13}	; Gray-Enter
set terminal key hz1500 \4385 \{5}	; Gray-PageUp
set terminal key hz1500 \4386 \{1}	; Gray-PageDown
set terminal key hz1500 \4387 ~\{15}	; Gray-End
set terminal key hz1500 \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 \4458 \Kdump	; Gray-Multiply
set terminal key hz1500 \4496 \Kignore	; Gray-NumLock
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 qansi
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 \289 \{27}[V	; PageUp
set terminal key qansi \290 \{27}[U	; PageDown
set terminal key qansi \291 \Kendscn	; End
set terminal key qansi \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 \301 \{27}[@	; Insert
set terminal key qansi \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 \368 \{27}OP	; F1
set terminal key qansi \369 \{27}OQ	; F2
set terminal key qansi \370 \{27}OR	; F3
set terminal key qansi \371 \{27}OS	; F4
set terminal key qansi \372 \{27}OT	; F5
set terminal key qansi \373 \{27}OU	; F6
set terminal key qansi \374 \{27}OV	; F7
set terminal key qansi \375 \{27}OW	; F8
set terminal key qansi \376 \{27}OX	; F9
set terminal key qansi \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 \776 \{27}[Z	; Shift-Backspace
set terminal key qansi \777 \{27}[Z	; Shift-Tab
set terminal key qansi \912 \Kignore	; Shift-NumLock
set terminal key qansi \1056 \Knull	; SP
set terminal key qansi \1318 \{27}[a	; Ctrl-UpArrow
set terminal key qansi \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key qansi \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \2145 \{27}Na	; Alt-a
set terminal key qansi \2146 \{27}Nb	; Alt-b
set terminal key qansi \2147 \{27}Nc	; Alt-c
set terminal key qansi \2148 \{27}Nd	; Alt-d
set terminal key qansi \2149 \{27}Ne	; Alt-e
set terminal key qansi \2150 \{27}Nf	; Alt-f
set terminal key qansi \2151 \{27}Ng	; Alt-g
set terminal key qansi \2152 \{27}Nh	; Alt-h
set terminal key qansi \2153 \{27}Ni	; Alt-i
set terminal key qansi \2154 \{27}Nj	; Alt-j
set terminal key qansi \2155 \{27}Nk	; Alt-k
set terminal key qansi \2156 \{27}Nl	; Alt-l
set terminal key qansi \2157 \{27}Nm	; Alt-m
set terminal key qansi \2158 \{27}Nn	; Alt-n
set terminal key qansi \2159 \{27}No	; Alt-o
set terminal key qansi \2160 \{27}Np	; Alt-p
set terminal key qansi \2161 \{27}Nq	; Alt-q
set terminal key qansi \2162 \{27}Nr	; Alt-r
set terminal key qansi \2163 \{27}Ns	; Alt-s
set terminal key qansi \2164 \{27}Nt	; Alt-t
set terminal key qansi \2165 \{27}Nu	; Alt-u
set terminal key qansi \2166 \{27}Nv	; Alt-v
set terminal key qansi \2167 \{27}Nw	; Alt-w
set terminal key qansi \2168 \{27}Nx	; Alt-x
set terminal key qansi \2169 \{27}Ny	; Alt-y
set terminal key qansi \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 \4365 \{13}	; Gray-Enter
set terminal key qansi \4385 \{27}[V	; Gray-PageUp
set terminal key qansi \4386 \{27}[U	; Gray-PageDown
set terminal key qansi \4387 \Kendscn	; Gray-End
set terminal key qansi \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 \4397 \{27}[@	; Gray-Insert
set terminal key qansi \4398 \{27}[P	; Gray-Delete
set terminal key qansi \4458 \Kdump	; Gray-Multiply
set terminal key qansi \4496 \Kignore	; Gray-NumLock
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 \5414 \{27}[a	; Ctrl-Gray-UpArrow
set terminal key qansi \5415 \Kfwdnext	; Ctrl-Gray-RightArrow
set terminal key qansi \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 \264 \{127}	; Backspace
set terminal key qnx \268 \{255}\{165}	; Clear
set terminal key qnx \269 \{13}	; Enter
set terminal key qnx \276 \Kignore	; CapsLock
set terminal key qnx \289 \{255}\{162}	; PageUp
set terminal key qnx \290 \{255}\{170}	; PageDown
set terminal key qnx \291 \{255}\{168}	; End
set terminal key qnx \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 \298 \{255}\{173}	; Print
set terminal key qnx \301 \{255}\{171}	; Insert
set terminal key qnx \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 \363 \{255}\{167}	; Add
set terminal key qnx \364 \{47}	; Separator
set terminal key qnx \365 \{255}\{163}	; Subtract
set terminal key qnx \366 \{46}	; Decimal
set terminal key qnx \368 \{255}\{129}	; F1
set terminal key qnx \369 \{255}\{130}	; F2
set terminal key qnx \370 \{255}\{131}	; F3
set terminal key qnx \371 \{255}\{132}	; F4
set terminal key qnx \372 \{255}\{133}	; F5
set terminal key qnx \373 \{255}\{134}	; F6
set terminal key qnx \374 \{255}\{135}	; F7
set terminal key qnx \375 \{255}\{136}	; F8
set terminal key qnx \376 \{255}\{137}	; F9
set terminal key qnx \377 \{255}\{138}	; F10
set terminal key qnx \378 \{255}\{174}	; F11
set terminal key qnx \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 \776 \{255}\{252}	; Shift-Backspace
set terminal key qnx \777 \{255}\{128}	; Shift-Tab
set terminal key qnx \781 \{255}\{224}	; Shift-Enter
set terminal key qnx \880 \{255}\{139}	; Shift-F1
set terminal key qnx \881 \{255}\{140}	; Shift-F2
set terminal key qnx \882 \{255}\{141}	; Shift-F3
set terminal key qnx \883 \{255}\{142}	; Shift-F4
set terminal key qnx \884 \{255}\{143}	; Shift-F5
set terminal key qnx \885 \{255}\{144}	; Shift-F6
set terminal key qnx \886 \{255}\{145}	; Shift-F7
set terminal key qnx \887 \{255}\{146}	; Shift-F8
set terminal key qnx \888 \{255}\{147}	; Shift-F9
set terminal key qnx \889 \{255}\{148}	; Shift-F10
set terminal key qnx \890 \{255}\{219}	; Shift-F11
set terminal key qnx \891 \{255}\{220}	; Shift-F12
set terminal key qnx \912 \Kignore	; Shift-NumLock
set terminal key qnx \1056 \Knull	; SP
set terminal key qnx \1151 \{255}\{222}	; DEL
set terminal key qnx \1289 \{255}\{159}	; Ctrl-Tab
set terminal key qnx \1292 \{255}\{181}	; Ctrl-Clear
set terminal key qnx \1293 \{255}\{208}	; Ctrl-Enter
set terminal key qnx \1313 \{255}\{178}	; Ctrl-PageUp
set terminal key qnx \1314 \{255}\{186}	; Ctrl-PageDown
set terminal key qnx \1315 \{255}\{184}	; Ctrl-End
set terminal key qnx \1316 \{255}\{176}	; Ctrl-Home
set terminal key qnx \1317 \{255}\{180}	; Ctrl-LeftArrow
set terminal key qnx \1318 \{255}\{177}	; Ctrl-UpArrow
set terminal key qnx \1319 \{255}\{182}	; Ctrl-RightArrow
set terminal key qnx \1320 \{255}\{185}	; Ctrl-DownArrow
set terminal key qnx \1322 \{255}\{189}	; Ctrl-Print
set terminal key qnx \1325 \{255}\{187}	; Ctrl-Insert
set terminal key qnx \1326 \{255}\{188}	; Ctrl-Delete
set terminal key qnx \1330 \Knull	; Ctrl-2
set terminal key qnx \1387 \{255}\{183}	; Ctrl-Add
set terminal key qnx \1389 \{255}\{179}	; Ctrl-Subtract
set terminal key qnx \1392 \{255}\{149}	; Ctrl-F1
set terminal key qnx \1393 \{255}\{150}	; Ctrl-F2
set terminal key qnx \1394 \{255}\{151}	; Ctrl-F3
set terminal key qnx \1395 \{255}\{152}	; Ctrl-F4
set terminal key qnx \1396 \{255}\{153}	; Ctrl-F5
set terminal key qnx \1397 \{255}\{154}	; Ctrl-F6
set terminal key qnx \1398 \{255}\{155}	; Ctrl-F7
set terminal key qnx \1399 \{255}\{156}	; Ctrl-F8
set terminal key qnx \1400 \{255}\{157}	; Ctrl-F9
set terminal key qnx \1401 \{255}\{158}	; Ctrl-F10
set terminal key qnx \1402 \{255}\{190}	; Ctrl-F11
set terminal key qnx \1403 \{255}\{191}	; Ctrl-F12
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 \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 \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 \2145 \{255}\{225}	; Alt-a
set terminal key qnx \2146 \{255}\{226}	; Alt-b
set terminal key qnx \2147 \{255}\{227}	; Alt-c
set terminal key qnx \2148 \{255}\{228}	; Alt-d
set terminal key qnx \2149 \{255}\{229}	; Alt-e
set terminal key qnx \2150 \{255}\{230}	; Alt-f
set terminal key qnx \2151 \{255}\{231}	; Alt-g
set terminal key qnx \2152 \{255}\{232}	; Alt-h
set terminal key qnx \2153 \{255}\{233}	; Alt-i
set terminal key qnx \2154 \{255}\{234}	; Alt-j
set terminal key qnx \2155 \{255}\{235}	; Alt-k
set terminal key qnx \2156 \{255}\{236}	; Alt-l
set terminal key qnx \2157 \{255}\{237}	; Alt-m
set terminal key qnx \2158 \{255}\{238}	; Alt-n
set terminal key qnx \2159 \{255}\{239}	; Alt-o
set terminal key qnx \2160 \{255}\{240}	; Alt-p
set terminal key qnx \2161 \{255}\{241}	; Alt-q
set terminal key qnx \2162 \{255}\{242}	; Alt-r
set terminal key qnx \2163 \{255}\{243}	; Alt-s
set terminal key qnx \2164 \{255}\{244}	; Alt-t
set terminal key qnx \2165 \{255}\{245}	; Alt-u
set terminal key qnx \2166 \{255}\{246}	; Alt-v
set terminal key qnx \2167 \{255}\{247}	; Alt-w
set terminal key qnx \2168 \{255}\{248}	; Alt-x
set terminal key qnx \2169 \{255}\{249}	; Alt-y
set terminal key qnx \2170 \{255}\{250}	; Alt-z
set terminal key qnx \2312 \{255}\{223}	; Alt-Backspace
set terminal key qnx \2316 \{255}\{197}	; Alt-Clear
set terminal key qnx \2317 \{255}\{251}	; Alt-Enter
set terminal key qnx \2337 \{255}\{194}	; Alt-PageUp
set terminal key qnx \2338 \{255}\{202}	; Alt-PageDown
set terminal key qnx \2339 \{255}\{200}	; Alt-End
set terminal key qnx \2340 \{255}\{192}	; Alt-Home
set terminal key qnx \2341 \{255}\{196}	; Alt-LeftArrow
set terminal key qnx \2342 \{255}\{193}	; Alt-UpArrow
set terminal key qnx \2343 \{255}\{198}	; Alt-RightArrow
set terminal key qnx \2344 \{255}\{201}	; Alt-DownArrow
set terminal key qnx \2346 \{255}\{221}	; Alt-Print
set terminal key qnx \2349 \{255}\{203}	; Alt-Insert
set terminal key qnx \2350 \{255}\{204}	; Alt-Delete
set terminal key qnx \2410 \{255}\{205}	; Alt-Multiply
set terminal key qnx \2411 \{255}\{199}	; Alt-Add
set terminal key qnx \2413 \{255}\{195}	; Alt-Subtract
set terminal key qnx \2416 \{255}\{209}	; Alt-F1
set terminal key qnx \2417 \{255}\{210}	; Alt-F2
set terminal key qnx \2418 \{255}\{211}	; Alt-F3
set terminal key qnx \2419 \{255}\{212}	; Alt-F4
set terminal key qnx \2420 \{255}\{213}	; Alt-F5
set terminal key qnx \2421 \{255}\{214}	; Alt-F6
set terminal key qnx \2422 \{255}\{215}	; Alt-F7
set terminal key qnx \2423 \{255}\{216}	; Alt-F8
set terminal key qnx \2424 \{255}\{217}	; Alt-F9
set terminal key qnx \2425 \{255}\{218}	; Alt-F10
set terminal key qnx \2426 \{255}\{206}	; Alt-F11
set terminal key qnx \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 \4365 \{13}	; Gray-Enter
set terminal key qnx \4385 \{255}\{162}	; Gray-PageUp
set terminal key qnx \4386 \{255}\{170}	; Gray-PageDown
set terminal key qnx \4387 \{255}\{168}	; Gray-End
set terminal key qnx \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 \4397 \{255}\{171}	; Gray-Insert
set terminal key qnx \4398 \{255}\{172}	; Gray-Delete
set terminal key qnx \4458 \Kdump	; Gray-Multiply
set terminal key qnx \4496 \Kignore	; Gray-NumLock
set terminal key qnx \4543 \{47}	; Gray-OEM.US.Slash
set terminal key qnx \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 \5389 \{255}\{208}	; Ctrl-Gray-Enter
set terminal key qnx \5409 \{255}\{178}	; Ctrl-Gray-PageUp
set terminal key qnx \5410 \{255}\{186}	; Ctrl-Gray-PageDown
set terminal key qnx \5411 \{255}\{184}	; Ctrl-Gray-End
set terminal key qnx \5412 \{255}\{176}	; Ctrl-Gray-Home
set terminal key qnx \5413 \{255}\{180}	; Ctrl-Gray-LeftArrow
set terminal key qnx \5414 \{255}\{177}	; Ctrl-Gray-UpArrow
set terminal key qnx \5415 \{255}\{182}	; Ctrl-Gray-RightArrow
set terminal key qnx \5416 \{255}\{185}	; Ctrl-Gray-DownArrow
set terminal key qnx \5421 \{255}\{187}	; Ctrl-Gray-Insert
set terminal key qnx \5422 \{255}\{188}	; Ctrl-Gray-Delete
set terminal key qnx \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key qnx \6413 \{255}\{251}	; Alt-Gray-Enter
set terminal key qnx \6433 \{255}\{194}	; Alt-Gray-PageUp
set terminal key qnx \6434 \{255}\{202}	; Alt-Gray-PageDown
set terminal key qnx \6435 \{255}\{200}	; Alt-Gray-End
set terminal key qnx \6436 \{255}\{192}	; Alt-Gray-Home
set terminal key qnx \6437 \{255}\{196}	; Alt-Gray-LeftArrow
set terminal key qnx \6438 \{255}\{193}	; Alt-Gray-UpArrow
set terminal key qnx \6439 \{255}\{198}	; Alt-Gray-RightArrow
set terminal key qnx \6440 \{255}\{201}	; Alt-Gray-DownArrow
set terminal key qnx \6445 \{255}\{203}	; Alt-Gray-Insert
set terminal key qnx \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 \39 \{44}	; '
set terminal key russian \44 \{154}	; ,
set terminal key russian \46 \{149}	; .
set terminal key russian \47 \{46}	; /
set terminal key russian \59 \{147}	; ;
set terminal key russian \97 \{153}	; a
set terminal key russian \98 \{144}	; b
set terminal key russian \99 \{129}	; c
set terminal key russian \100 \{130}	; d
set terminal key russian \101 \{151}	; e
set terminal key russian \102 \{139}	; f
set terminal key russian \103 \{146}	; g
set terminal key russian \104 \{137}	; h
set terminal key russian \105 \{143}	; i
set terminal key russian \106 \{135}	; j
set terminal key russian \107 \{140}	; k
set terminal key russian \108 \{138}	; l
set terminal key russian \109 \{150}	; m
set terminal key russian \110 \{142}	; n
set terminal key russian \111 \{141}	; o
set terminal key russian \112 \{148}	; p
set terminal key russian \113 \{47}	; q
set terminal key russian \114 \{152}	; r
set terminal key russian \115 \{131}	; s
set terminal key russian \116 \{128}	; t
set terminal key russian \117 \{133}	; u
set terminal key russian \118 \{132}	; v
set terminal key russian \119 \{39}	; w
set terminal key russian \120 \{145}	; x
set terminal key russian \121 \{136}	; y
set terminal key russian \122 \{134}	; z

; SET TERMINAL KEY scoansi
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 \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 \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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key scoansi \4496 \Kignore	; Gray-NumLock
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 \264 \{8}	; Backspace
set terminal key sni-97801 \265 \Ksni_tab	; Tab
set terminal key sni-97801 \268 \Kkp5	; Clear
set terminal key sni-97801 \269 \{13}	; Enter
set terminal key sni-97801 \276 \Kignore	; CapsLock
set terminal key sni-97801 \289 \Kkp9	; PageUp
set terminal key sni-97801 \290 \Kkp3	; PageDown
set terminal key sni-97801 \291 \Kkp1	; End
set terminal key sni-97801 \292 \Kkp7	; Home
set terminal key sni-97801 \293 \Kkp4	; LeftArrow
set terminal key sni-97801 \294 \Kkp8	; UpArrow
set terminal key sni-97801 \295 \Kkp6	; RightArrow
set terminal key sni-97801 \296 \Kkp2	; DownArrow
set terminal key sni-97801 \301 \Kkp0	; Insert
set terminal key sni-97801 \302 \Kkpdot	; Delete
set terminal key sni-97801 \352 \Kkp0	; Keypad-0
set terminal key sni-97801 \353 \Kkp1	; Keypad-1
set terminal key sni-97801 \354 \Kkp2	; Keypad-2
set terminal key sni-97801 \355 \Kkp3	; Keypad-3
set terminal key sni-97801 \356 \Kkp4	; Keypad-4
set terminal key sni-97801 \357 \Kkp5	; Keypad-5
set terminal key sni-97801 \358 \Kkp6	; Keypad-6
set terminal key sni-97801 \359 \Kkp7	; Keypad-7
set terminal key sni-97801 \360 \Kkp8	; Keypad-8
set terminal key sni-97801 \361 \Kkp9	; Keypad-9
set terminal key sni-97801 \362 \Kpf3	; Multiply
set terminal key sni-97801 \363 \Kkpcoma	; Add
set terminal key sni-97801 \364 \{47}	; Separator
set terminal key sni-97801 \365 \Kpf4	; Subtract
set terminal key sni-97801 \366 \Kkpdot	; 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 \Kgold	; 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 \Kudkf1	; Shift-F1
set terminal key sni-97801 \881 \Kudkf2	; Shift-F2
set terminal key sni-97801 \882 \Kudkf3	; Shift-F3
set terminal key sni-97801 \883 \Kudkf4	; Shift-F4
set terminal key sni-97801 \884 \Kudkf5	; Shift-F5
set terminal key sni-97801 \885 \Kudkf6	; Shift-F6
set terminal key sni-97801 \886 \Kudkf7	; Shift-F7
set terminal key sni-97801 \887 \Kudkf8	; Shift-F8
set terminal key sni-97801 \888 \Kudkf9	; Shift-F9
set terminal key sni-97801 \889 \Kudkf10	; Shift-F10
set terminal key sni-97801 \912 \Kignore	; Shift-NumLock
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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key sni-97801 \1393 \Kmarkcancel	; Ctrl-F2
set terminal key sni-97801 \1471 \{29}	; Ctrl-OEM.US.Slash
set terminal key sni-97801 \1805 \Kkpenter	; 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 \1981 \{31}	; Ctrl-Shift-OEM.US.Subtract
set terminal key sni-97801 \1983 \{31}	; Ctrl-Shift-OEM.US.Slash
set terminal key sni-97801 \2092 \Kkpcoma	; Alt-,
set terminal key sni-97801 \2093 \Kkpminus	; Alt--
set terminal key sni-97801 \2094 \Kkpdot	; Alt-.
set terminal key sni-97801 \2096 \Kkp0	; Alt-0
set terminal key sni-97801 \2097 \Kkp1	; Alt-1
set terminal key sni-97801 \2098 \Kkp2	; Alt-2
set terminal key sni-97801 \2099 \Kkp3	; Alt-3
set terminal key sni-97801 \2100 \Kkp4	; Alt-4
set terminal key sni-97801 \2101 \Kkp5	; Alt-5
set terminal key sni-97801 \2102 \Kkp6	; Alt-6
set terminal key sni-97801 \2103 \Kkp7	; Alt-7
set terminal key sni-97801 \2104 \Kkp8	; Alt-8
set terminal key sni-97801 \2105 \Kkp9	; Alt-9
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 \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 \Kdebug	; 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 \Khelp	; 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 \2159 \Kprtauto	; Alt-o
set terminal key sni-97801 \2160 \Kdump	; 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 \Kstatus	; 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 \2411 \Kkpminus	; Alt-Add
set terminal key sni-97801 \2416 \Ksni_f13	; Alt-F1
set terminal key sni-97801 \2417 \Ksni_f14	; Alt-F2
set terminal key sni-97801 \2418 \Ksni_f15	; Alt-F3
set terminal key sni-97801 \2419 \Ksni_f16	; Alt-F4
set terminal key sni-97801 \2420 \Ksni_f17	; Alt-F5
set terminal key sni-97801 \2421 \Ksni_f18	; Alt-F6
set terminal key sni-97801 \2422 \Ksni_f19	; Alt-F7
set terminal key sni-97801 \2423 \Ksni_f20	; Alt-F8
set terminal key sni-97801 \2424 \Ksni_f21	; Alt-F9
set terminal key sni-97801 \2425 \Ksni_f22	; Alt-F10
set terminal key sni-97801 \2928 \Kudkf11	; Alt-Shift-F1
set terminal key sni-97801 \2929 \Kudkf12	; Alt-Shift-F2
set terminal key sni-97801 \2930 \Kudkf13	; Alt-Shift-F3
set terminal key sni-97801 \2931 \Kudkf14	; Alt-Shift-F4
set terminal key sni-97801 \2932 \Kudkf15	; Alt-Shift-F5
set terminal key sni-97801 \2933 \Kudkdo	; Alt-Shift-F6
set terminal key sni-97801 \2934 \Kudkf17	; Alt-Shift-F7
set terminal key sni-97801 \2935 \Kudkf18	; Alt-Shift-F8
set terminal key sni-97801 \2936 \Kudkf19	; Alt-Shift-F9
set terminal key sni-97801 \2937 \Kudkf20	; Alt-Shift-F10
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 \4143 \Kpf2	; Kp-/
set terminal key sni-97801 \4361 \Kcompose	; Gray-Tab
set terminal key sni-97801 \4365 \Kkpenter	; 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 \4398 \Ksni_del_char	; Gray-Delete
set terminal key sni-97801 \4458 \Kdump	; Gray-Multiply
set terminal key sni-97801 \4459 \Kkpminus	; Gray-Add
set terminal key sni-97801 \4463 \Kpf2	; Gray-Divide
set terminal key sni-97801 \4466 \Kdecf13	; Gray-F3
set terminal key sni-97801 \4467 \Kdecf14	; Gray-F4
set terminal key sni-97801 \4468 \Kdecf15	; Gray-F5
set terminal key sni-97801 \4469 \Kdecdo	; Gray-F6
set terminal key sni-97801 \4470 \Kdecf17	; Gray-F7
set terminal key sni-97801 \4471 \Kdecf18	; Gray-F8
set terminal key sni-97801 \4472 \Kdecf19	; Gray-F9
set terminal key sni-97801 \4473 \Kdecf20	; Gray-F10
set terminal key sni-97801 \4476 \Kdecf13	; Gray-F13
set terminal key sni-97801 \4477 \Kdecf14	; Gray-F14
set terminal key sni-97801 \4478 \Kdecf15	; Gray-F15
set terminal key sni-97801 \4479 \Kdecdo	; Gray-F16
set terminal key sni-97801 \4480 \Kdecf17	; Gray-F17
set terminal key sni-97801 \4481 \Kdecf18	; Gray-F18
set terminal key sni-97801 \4482 \Kdecf19	; Gray-F19
set terminal key sni-97801 \4483 \Kdecf20	; Gray-F20
set terminal key sni-97801 \4496 \Kgold	; Gray-NumLock
set terminal key sni-97801 \4543 \Kpf2	; 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 \4978 \Kudkf13	; Shift-Gray-F3
set terminal key sni-97801 \4979 \Kudkf14	; Shift-Gray-F4
set terminal key sni-97801 \4980 \Kudkf15	; Shift-Gray-F5
set terminal key sni-97801 \4981 \Kudkdo	; Shift-Gray-F6
set terminal key sni-97801 \4982 \Kudkf17	; Shift-Gray-F7
set terminal key sni-97801 \4983 \Kudkf18	; Shift-Gray-F8
set terminal key sni-97801 \4984 \Kudkf19	; Shift-Gray-F9
set terminal key sni-97801 \4985 \Kudkf20	; Shift-Gray-F10
set terminal key sni-97801 \4988 \Kudkf13	; Shift-Gray-F13
set terminal key sni-97801 \4989 \Kudkf14	; Shift-Gray-F14
set terminal key sni-97801 \4990 \Kudkf15	; Shift-Gray-F15
set terminal key sni-97801 \4991 \Kudkdo	; Shift-Gray-F16
set terminal key sni-97801 \4992 \Kudkf17	; Shift-Gray-F17
set terminal key sni-97801 \4993 \Kudkf18	; Shift-Gray-F18
set terminal key sni-97801 \4994 \Kudkf19	; Shift-Gray-F19
set terminal key sni-97801 \4995 \Kudkf20	; Shift-Gray-F20
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 \Kmarkcopyclip	; Ctrl-Gray-Insert
set terminal key sni-97801 \5422 \{8}	; Ctrl-Gray-Delete
set terminal key sni-97801 \5933 \Kmarkcopyhost	; Ctrl-Shift-Gray-Insert
set terminal key sni-97801 \6433 \Kdecremove	; Alt-Gray-PageUp
set terminal key sni-97801 \6434 \Kdecnext	; Alt-Gray-PageDown
set terminal key sni-97801 \6435 \Kdecprev	; Alt-Gray-End
set terminal key sni-97801 \6436 \Kdecinsert	; 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 \Kdecfind	; Alt-Gray-Insert
set terminal key sni-97801 \6446 \Kdecselect	; 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 tty
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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key tty \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key tty \4496 \Kignore	; Gray-NumLock
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+ \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+ \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+ \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi910+ \1393 \Kmarkcancel	; Ctrl-F2
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+ \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+ \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+ \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+ \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+ \4458 \Kdump	; Gray-Multiply
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+ \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+ \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 \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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi925 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
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 \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 \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 \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 \Ktvif12	; 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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key tvi950 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \Ktvisf12	; 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 \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 \4458 \Kdump	; Gray-Multiply
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 \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 \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 \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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vc404 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4397 \{27}\{105}	; Gray-Insert
set terminal key vc404 \4398 \{27}\{100}	; Gray-Delete
set terminal key vc404 \4458 \Kdump	; Gray-Multiply
set terminal key vc404 \4496 \Kignore	; Gray-NumLock
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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vip7809 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key vip7809 \4463 \Kpf2	; Gray-Divide
set terminal key vip7809 \4496 \Kgold	; Gray-NumLock
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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt100 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key vt100 \4463 \Kpf2	; Gray-Divide
set terminal key vt100 \4496 \Kgold	; Gray-NumLock
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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt102 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key vt102 \4463 \Kpf2	; Gray-Divide
set terminal key vt102 \4496 \Kgold	; Gray-NumLock
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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt220 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \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 \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 vt320
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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt320 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \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 \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 vt52
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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key vt52 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \4458 \Kdump	; Gray-Multiply
set terminal key vt52 \4463 \Kpf2	; Gray-Divide
set terminal key vt52 \4496 \Kgold	; Gray-NumLock
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 wy30
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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy30 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \Kwyreplace	; Gray-Insert
set terminal key wy30 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy30 \4458 \Kdump	; Gray-Multiply
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 \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 \Kwyinsert	; 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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy370 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \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 \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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy50 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \Kwyreplace	; Gray-Insert
set terminal key wy50 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy50 \4458 \Kdump	; Gray-Multiply
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 \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 \Kwyinsert	; 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 \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 \1392 \Kmarkstart	; Ctrl-F1
set terminal key wy60 \1393 \Kmarkcancel	; Ctrl-F2
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 \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 \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 \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 \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 \Kwyreplace	; Gray-Insert
set terminal key wy60 \4398 \Kwydelchar	; Gray-Delete
set terminal key wy60 \4458 \Kdump	; Gray-Multiply
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 \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 \Kwyinsert	; 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
