[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProTerm arrow keys on a IIc!



In article <D9qILy.H6x@cs.dal.ca>,
Tony Cianfaglione <ab616@ccn.cs.dal.ca> wrote:
> 
> How come when I use ProTerm on a GS, the arrow keys in the vt100 
> emulation work as they are supposed to but when I use my IIc, the arrow 
> keys mess up and only work near what they are supposed to when I hold 
> down the closed apple key in conjunction with the arrow keys? 
> 
> Does anyone have a solution to this dilemma?

There isn't one.  On the II+, IIe and IIc, there is no way for
software to identify whether you are pressing Ctrl-H, Ctrl-U, Ctrl-J
and Ctrl-K or one of the arrow keys.

Some programs assume that the control keys are actually arrow keys, so
if you press one of the aforementioned control keys, you actually end
up sending the code for the arrow key, which is likely to have a
completely different effect.

Other programs insist on the use of the Apple (Open Apple) or Option
(Solid Apple) key to identify which keys you actually want.

On the IIgs, software can distinguish an arrow key from a control key
combination, because the modifier keys are all readable.  i.e. the
program sees that you typed "Ctrl-H" but the Control key wasn't down,
so you must have pushed the left-arrow key.

The IIgs cannot distinguish Ctrl-Arrow combinations from the
corresponding Ctrl-Letter combinations (e.g. Ctrl-H and
Ctrl-Left-Arrow), unless the program completely bypasses the normal
keyboard handling and processes the raw key-up and key-down codes from
the ADB keyboard.
-- 
David Empson
dempson@actrix.gen.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand