annotate kbd-xterm.tf @ 1677:32c6a74b989a

Improve spell handling, add grabbing of wiz-only spell chance value.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 27 Mar 2024 17:24:10 +0200
parents c10f8a59a2e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
533
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 ;;
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 ;; xterm, rxvt and compatibles
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 ;; Keyboard bindings for GgrTF under TF4/5
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 ;;
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1035
c10f8a59a2e3 Use module depencies for checking required parent modules.
Matti Hamalainen <ccr@tnsp.org>
parents: 1027
diff changeset
6 /loaded KBD::XTerm
c10f8a59a2e3 Use module depencies for checking required parent modules.
Matti Hamalainen <ccr@tnsp.org>
parents: 1027
diff changeset
7 /test prdefmodule("KBD_XTerm")
533
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 ;; Line editing
1027
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
10 /def -i -b'^[[A' = /dokey recallb
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
11 /def -i -b'^[[B' = /dokey recallf
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
12 /def -i -b'^[OM' = /dokey newline
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
13 /def -i -b'^[[7~' = /dokey home
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
14 /def -i -b'^[[8~' = /dokey end
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
15 /def -i -b'^[Od' = /dokey wleft
3eade3fdc825 Improvements in keyboard handling.
Matti Hamalainen <ccr@tnsp.org>
parents: 593
diff changeset
16 /def -i -b'^[Oc' = /dokey wright
533
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 ;; Numpad
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 /def -i -b'^[Ox' = /prmove n
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 /def -i -b'^[Or' = /prmove s
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 /def -i -b'^[Ot' = /prmove w
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 /def -i -b'^[Ov' = /prmove e
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 /def -i -b'^[Ow' = /prmove nw
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 /def -i -b'^[Oy' = /prmove ne
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 /def -i -b'^[Oq' = /prmove sw
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 /def -i -b'^[Os' = /prmove se
f2bff7fec38c Keyboard bindings for xterm/rxvt/compatibles
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 /def -i -b'^[Ou' = /prmove X