KSM/FLT
Filter
SET devspec KSM/FLT [USING] filespec [(parameter)]
FILTER
*KI
devspec
Establishes the KSM (Key Stroke Multiply) filter.
You can use KSM/FLT to assign repetitive tasks (such as issuing a
TRSDOS command) to one key, so that you only have to press
(CLEAR)
and the assigned key to execute the task.
devspec is any user-created devspec.
filespec contains up to 26 "key equivalents." The KSM filter loads the
key equivalents from
filespec into high memory.
The
parameter is:
ENTER
=value specifies value as the character TRSDOS
recognizes as an
(ENTER)
character
in
a KSM file. value is a
number
in
the hexadecimal format X'nn', a decimal number,
or a single character such as a colon ( :
).
Each key equivalent is associated with the
(CLEAR)
key and an
alphabetic key. When you press
(CLEAR)
and a key, TRSDOS
executes the phrase associated with that key.
Building a KSM File
You can use the BUILD library command to build a
IKSM. file.
To
build
a KSM file named ROUTINE/KSM, type:
BU I
LD
ROUT I NE / K
8M
(ENTER)
TRSDOS then lets you enter up to 26 key equivalents with the
prompts:
A
-
",
- .,'
B=>
c=>
Z=>
A-92