aman@xroads.UUCP (Chris Minshall) (02/28/90)
Does anyone know any easy method for reading the arrow keys from the console device??? I have opened a window and the console device and when I read characters from the keyboard I don't get the characters for the arrow keys that the amiga programming guides (including RKM) tell me I should! I get "AA" for up arrow and "BB" for down arrow instead of <CSI> A~ for up arrow and <CSI> B~ for down arrow. I can't figure out how to detect either of those two or the "AA" and "BB" that I am getting now. I am using if statements to check the char variable (ch) and when I output it to the window using a console write character procedure, it gives me the aforementioned "AA" or "BB"?? Anybody got a clue as to how to detect those arrow keys?? I would appreciate any and all replys!!!! thanks. Chris -- \ / C r o s s r o a d s C o m m u n i c a t i o n s /\ (602) 941-2005 300|1200 Baud 24 hrs/day / \ hplabs!hp-sdd!crash!xroads!aman