comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading Arrow keys from keyboard ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading Arrow keys from keyboard ? [message #706] Wed, 02 December 1992 08:10
lindaas is currently offline  lindaas
Messages: 3
Registered: December 1992
Junior Member
We would like to use the arrow keys from our vt240 keyboard
(at least I think it is a vt240). In IDL we can use GET_KBRD()
to get ASCII keys but have not figured out how to determine if
an arrow key was hit.
for example
IDL>a=get_kbrd(1)
IDL>[D
->this is what happens if we hit the left-arrow key (its code is
ESC-[D I beleive).

If someone knows how to do this please respond via e-mail to
zhang@bnlx1l.nsls.bnl.gov (or bnlx1l::zhang )

Thanks!

(ps it should also apply to function keys as well?)
[Message index]
 
Read Message
Previous Topic: Registering images with IDL
Next Topic: Standard file formats

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:52:07 PDT 2025

Total time taken to generate the page: 0.88100 seconds