PRB: Incorrect Keystroke Values on Wyse 50 TerminalLast reviewed: February 3, 1995Article ID: Q122979 |
The information in this article applies to:
SYMPTOMSSome keystroke values returned from INKEY() or READKEY() may have incorrect values on a Wyse 50 terminal.
CAUSEThe Wyse 50 is not detecting a status change on the terminal and does not reset the terminal type correctly. NOTE: The Wyse 50 terminal is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.
RESOLUTIONTo resolve this problem on a Wyse 50, do the following every time after the user logs into the terminal:
MORE INFORMATIONWhen using a TERM environment variable value of wy50 or wy50fox (which ships for FoxPro for UNIX), it is possible for READKEY() and INKEY() to return incorrect values for the Down and Left arrow keys. Outlined below is a table with correct and possible incorrect values for arrow keys:
Possible Incorrect Values Keystroke Correct Returned from INKEY/READKEY
Down arrow 24 10 Up arrow 5 5 Right arrow 4 4 Left arrow 19 127 |
Additional reference words: FoxUnix 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |