home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug044.arc
/
QUICKKEY.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
5KB
|
136 lines
Q W I K K E Y
A Keyboard Redefinition Program
V2.0 25-MAR-1984
Copyright (c) 1984 by Tony Fleig
QwikKey may be used for non-commercial purposes only.
No commercial use of QwikKey may be made without the
author's express written permission.
1.0 INTRODUCTION
QwikKey allows the user to assign a character strings to keys.
When a key having a string defined in this way is struck, the
defined string, rather than the character normally associated
with the key, is delivered to the program running at the time.
Key definitions may be loaded from files containing previously
saved definitions, or they may be defined on-the-fly, even while
a program is running. Both normal keys (i.e. keys generating a
single character) and keys generating escape sequences are
supported.
The maximum length of the defined string is 31 minus the length
of the character or string normally generated by the key in
question. Thirty-one different keys may be defined.
2.0 OPERATION
2.1 The First Time
QwikKey V2.0 should be invoked for the first time with the
command "QK". QwikKey will prompt for an "attention/termination
character" and an "escape sequence lead-in character".
The attention/termination character is used to gain the attention
of QwikKey in order to enter a new key definition. The same
character is used to terminate the definition string. Thus, this
character should be one that is seldom if ever used, both from
the keyboard, and in key definition strings.
The escape sequence lead-in character is the first character
generated by keys which generate escape sequences rather than
è
single characters. This is almost always the ESCAPE character
(ASCII 27 decimal).
After the attention and lead-in characters are entered, QwikKey
loads itself below the CCP (Console Command Processor), and
returns control to CP/M. The message "QwikKey loaded." will
appear at each warm boot to remind you that QwikKey is indeed
active.
At this point, striking the attention character key will cause
QwikKey to respond with the following prompt:
Key:
Now strike the key you wish to define. The character normally
generated by the key will be displayed, followed by an equals
sign. Suppose for example, you wished to define the control-K
key. The following would appear after striking CTRL-K:
Key: ^K =
Now enter the definition string, followed by the attention
character again. Suppose we wished to define ^K as "PIP
A:=B:*.*[V]". The following would be displayed just before we
hit the attention character to terminate the definition:
Key: ^K = PIP A:=B:*.*[V]
Upon entry of the termination character, the key definition
dialogue is erased. Note that characters overwritten by the
definition dialogue are not rewritten, but replaced on the screen
with spaces.
At this point, the key has been defined, and striking the defined
key will result in the definition string being delivered to the
current program (perhaps the CCP).
2.2 Saving Definitions
The following command will save your current definitions for
later recall in the file KEYDEF.DAT. It can only be issued at
the CCP prompt level (e.g. A>).
A>QK SAVE KEYDEF.DAT
If the filename is omitted in the above example, the definitions
will be saved in the file QWIKKEY.DEF. SAVE may be abbreviated
to the single character "S".
è
Note that the attention/termination character and the escape
sequence lead-in character are also saved in the definition file.
2.3 Loading Previously Saved Definitions
The following command will load previously saved commands from
KEYDEF.DAT into QwikKey's definition table in memory, replacing
any current definitions. It can only be issued at the CCP prompt
level (e.g. A>).
A>QK LOAD KEYDEF.DAT
If the filename is omitted in the above example, the definitions
will be read from the file QWIKKEY.DEF. LOAD may be abbreviated
to the single character "L".
Note that the attention/termination character and the escape
sequence lead-in character are also read from the definition
file.