achan (04/09/83)
Does anyone know how to prevent the Apple from reading CTRL-K's as the character '[' from the keyboard. I have an Apple IIe and have the '[' character on the keyboard so I don't need it. What's bothering me is that the new UP-CURSOR key is a CTRL-K so that it is interpreted as a '['. I suspect a patch to SYSTEM.APPLE (similar to the lower-case patch) would do the trick, but I don't know how SYSTEM.APPLE is constructed. Any suggestions or comments would be greatly appreciated. Thanks in advance. Allen Chan ...!decvax!yale-comix!achan
bill (04/12/83)
There are several possible ways to fix the Apple keyboard
so that Pascal will not translate ^K to [.
1) Ron de Groat has written a book, titled (I think)
"All About Apple Pascal", which is reputed to
go very deeply into the guts of the system. He
has published patches to other parts of the
system (e.g., how to enter normally unavailable
characters {}\~ etc) from the keyboard, and I am
pretty sure this book will contain what you need.
It is available from the publishers of Call A.P.P.L.E.
for < $12.00, but (here's the catch, and the reason
I don't have a copy) you have to join the Apple
Puget Sound Library Exchange to get it (another ~$40).
Depending on how desperate you are, you might be tempted.
2) About 2 years ago, de Groat published the above-mentioned
article in Call A.P.P.L.E. -- I believe the title
was something like "Hiding code beneath the heap".
Full source listing was given as well as several ways
to perform the interfacing.
3) You may be able to beg or borrow a patched version
of SYSTEM.APPLE from someone who has installed the
VIDEX keyboard enhancer or another comparable
keyboard encoder board that provides the Apple with
a "real" keyboard. I have the board, and am very
happy with it. The Pascal patch provided with it
works fine.
Good luck.
Bill Jefferys (-!hao!cires!nbires!ut-ngp!bill)
Astronomy Dept
University of Texas