Skip to content

Instantly share code, notes, and snippets.

@masaponto
Created June 23, 2018 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masaponto/d0c436c1f601947ca89233648514c16c to your computer and use it in GitHub Desktop.
Save masaponto/d0c436c1f601947ca89233648514c16c to your computer and use it in GitHub Desktop.
teraterm keybord setting for dvorak
; Sample of KEYBOARD.CNF for the IBM-PC/AT 101-key keyboard.
; See KEYCODE.TXT for the description of the format.
;
; This file based on IBMKEYB.CNF
; 1. send the symbol of each key top "as-is" at editor keypad.
;
[VT editor keypad]
;Up arrow key
Up=328
;Down arrow key
Down=336
;Right arrow key
Right=333
;Left arrow key
Left=331
;Insert key
Insert=338
;Home key
Find=327
;PageUp key
Prev=329
;Delete key
Remove=339
;End key
Select=335
;PageDown key
Next=337
[VT numeric keypad]
;Num pad 0 key
Num0=82
;Num pad 1 key
Num1=79
;Num pad 2 key
Num2=80
;Num pad 3 key
Num3=81
;Num pad 4 key
Num4=75
;Num pad 5 key
Num5=76
;Num pad 6 key
Num6=77
;Num pad 7 key
Num7=71
;Num pad 8 key
Num8=72
;Num pad 9 key
Num9=73
;Ctrl + Num pad '+' key
NumMinus=1102
;Num pad '+' key
NumComma=78
;Num pad '.' key
NumPeriod=83
;Num pad Enter key
NumEnter=284
;Num pad NumLock key
PF1=325
;Num pad '/' key
PF2=309
;Num pad '*' key
PF3=55
;Num pad '-' key
PF4=74
[VT function keys]
Hold=off
Print=off
Break=off
;F6 key
F6=64
;F7 key
F7=65
;F8 key
F8=66
;F9 key
F9=67
;F10 key
F10=68
;F11 key
F11=87
;F12 key
F12=88
;Shift + F3 key
F13=573
;Shift + F4 key
F14=574
;Shift + F5 key
Help=575
;Shift + F6 key
Do=576
;Shift + F7 key
F17=577
;Shift + F8 key
F18=578
;Shift + F9 key
F19=579
;Shift + F10 key
F20=580
;Ctrl + F6 key
UDK6=1088
;Ctrl + F7 key
UDK7=1089
;Ctrl + F8 key
UDK8=1090
;Ctrl + F9 key
UDK9=1091
;Ctrl + F10 key
UDK10=1092
;Ctrl + F11 key
UDK11=1111
;Ctrl + F12 key
UDK12=1112
;Ctrl + Shift + F3 key
UDK13=1597
;Ctrl + Shift + F4 key
UDK14=1598
;Ctrl + Shift + F5 key
UDK15=1599
;Ctrl + Shift + F6 key
UDK16=1600
;Ctrl + Shift + F7 key
UDK17=1601
;Ctrl + Shift + F8 key
UDK18=1602
;Ctrl + Shift + F9 key
UDK19=1603
;Ctrl + Shift + F10 key
UDK20=1604
[X function keys]
; F1 key
XF1=59
; F2 key
XF2=60
; F3 key
XF3=61
; F4 key
XF4=62
; F5 key
XF5=63
; Shift + Tab key
XBackTab=527
[Shortcut keys]
; Ctrl + Insert
EditCopy=1362
; Shift + Insert
EditPaste=850
EditPasteCR=off
EditCLS=off
EditCLB=off
ControlOpenTEK=off
ControlCloseTEK=off
; Ctrl + up-arrow
LineUp=1352
; Ctrl + down-arrow
LineDown=1360
; Ctrl + PageUp
PageUp=1353
; Ctrl + PageDown
PageDown=1361
; Ctrl + Home
BuffTop=1351
; Ctrl + End
BuffBottom=1359
; Ctrl + Tab
NextWin=1039
NextShownWin=off
; Ctrl + Shift + Tab
PrevWin=1551
PrevShownWin=off
LocalEcho=off
; ScrollLock
ScrollLock=70
;Example of user key definitions.
;[User keys]
; Ctrl + F1 key: character string
;User1=1083,0,telnet myhost
;
; Ctrl + F2 key: control characters
;User2=1084,0,$0D$0A
;
; Ctrl + F3 key: CR character with new-line code conversion (CR -> CR/CR+LF)
;User3=1085,1,$0D
;
; Ctrl + F4 key: Executing a macro file
;User4=1086,2,test.ttl
;
; Ctrl + F5 key: Executing a menu command
;User5=1087,3,50110
[User keys]
User1 = 16,0,$27
; q to '
User2 = 17,0,$2c
; w to ,
User3 = 18,0,$2e
; e to .
User4 = 19,0,$70
; r to p
User5 = 20,0,$79
; t to y
User6 = 21,0,$66
; y to f
User7 = 22,0,$67
; u to g
User8 = 23,0,$63
; i to c
User9 = 24,0,$72
; o to r
User10 = 25,0,$6C
; p to l
User11 = 26,0,$2F
; @ to /
User12 = 27,0,$3D
; [ to =
User13 = 31,0,$6F
; s to o
User14 = 32,0,$65
; d to e
User15 = 33,0,$75
; f to u
User16 = 34,0,$69
; g to i
User17 = 35,0,$64
; h to d
User18 = 36,0,$68
; j to h
User19 = 37,0,$74
; k to t
User20 = 38,0,$6E
; l to n
User21 = 39,0,$73
; ; to s
User22 = 40,0,$2D
; : to -
User23 = 43,0,$5C
; ] to \
User24 = 44,0,$3B
; z to ;
User25 = 45,0,$71
; x to q
User26 = 46,0,$6A
; c to j
User27 = 47,0,$6B
; v to k
User28 = 48,0,$78
; b to x
User29 = 49,0,$62
; n to b
User30 = 51,0,$77
; , to w
User31 = 52,0,$76
; . to v
User32 = 53,0,$7A
; / to z
User33 = 515,0,$40
; " to @
User34 = 517,0,$5E
; & to ^
User35 = 520,0,$26
; ' to &
User36 = 521,0,$2A
; ( to *
User37 = 522,0,$28
; ) to (
User38 = 523,0,$29
; to )
User39 = 524,0,$7D
; = to {
User40 = 525,0,$7B
; ~ to }
User41 = 125,0,$60
; to `
User42 = 553,0,$7E
; to ~
User43 = 528,0,$22
; Q to "
User44 = 529,0,$3C
; W to <
User45 = 530,0,$3E
; E to >
User46 = 531,0,$50
; R to P
User47 = 532,0,$59
; T to Y
User48 = 533,0,$46
; Y to F
User49 = 534,0,$47
; U to G
User50 = 535,0,$43
; I to C
User51 = 536,0,$52
; O to R
User52 = 537,0,$4C
; P to L
User53 = 538,0,$3F
; ` to ?
User54 = 539,0,$2B
; { to +
User55 = 543,0,$4F
; S to O
User56 = 544,0,$45
; D to E
User57 = 545,0,$55
; F to U
User58 = 546,0,$49
; G to I
User59 = 547,0,$44
; H to D
User60 = 548,0,$48
; J to H
User61 = 549,0,$54
; K to T
User62 = 550,0,$4E
; L to N
User63 = 551,0,$53
; + to S
User64 = 552,0,$5F
; * to _
User65 = 555,0,$7C
; } to |
User66 = 556,0,$3A
; Z to :
User67 = 557,0,$51
; X to Q
User68 = 558,0,$4A
; C to J
User69 = 559,0,$4B
; V to K
User70 = 560,0,$58
; B to X
User71 = 561,0,$42
; N to B
User72 = 563,0,$57
; < to W
User73 = 564,0,$56
; > to V
User74 = 565,0,$5A
; ? to Z
User75 = 1043,0,$10
; C-r to C-p
User76 = 1044,0,$19
; C-t to C-y
User77 = 1045,0,$06
; C-y to C-f
User78 = 1046,0,$07
; C-u to C-g
User79 = 1047,0,$03
; C-i to C-c
User80 = 1048,0,$12
; C-o to C-r
User81 = 1049,0,$0C
; C-p to C-l
User82 = 1055,0,$0F
; C-s to C-o
User83 = 1056,0,$05
; C-d to C-e
User84 = 1057,0,$15
; c-f to c-u
User85 = 1058,0,$09
; c-g to c-i
User86 = 1059,0,$04
; c-h to c-d
User87 = 1060,0,$08
; c-j to c-h
User88 = 1061,0,$14
; c-k to c-t
User89 = 1062,0,$0E
; c-l to c-n
User90 = 1063,0,$13
; c-; to c-s
User91 = 1069,0,$11
; c-x to c-q
User92 = 1070,0,$0A
; C-c to C-j
User93 = 1071,0,$OB
; c-v to c-k
User94 = 1072,0,$18
; c-b to c-x
User95 = 1073,0,$02
; c-n to c-b
User96 = 1075,0,$17
; c-, to c-w
User97 = 1076,0,$16
; c-. to C-v
User98 = 1077,0,$1A
; c-/ to c-z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment