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

Home » Public Forums » archive » keyboard problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: keyboard problem [message #33766 is a reply to message #33674] Mon, 20 January 2003 16:55 Go to previous message
sciprogrammer is currently offline  sciprogrammer
Messages: 2
Registered: January 2003
Junior Member
"Chris" <not@this.address> wrote in message news:<2tEW9.294$mL1.20524@ursa-nb00s0.nbnet.nb.ca>...
> Hi;
> We recently moved to IDL 5.5, running on a Dell Inspiron laptop under Linux
> 8.0, with an NVidia Gforce 4 card. Everything works really well except for
> one irritating bug - IDL doesn't recognize the arrow keys. No other program
> I run has that problem, so I assume it is either an issue with IDL or the
> way I have it set up. Any thoughts out there about how to fix this problem?
>
> TIA,
>
> Chris

Try using HELP,/ALL_KEYS to see what IDL thinks your keyboard mapping
should be. On my system I have these settings for the arrow keys:

LEFT ARROW (\033[D) <Cursor Left>
RIGHT ARROW (\033[C) <Cursor Right>
UP ARROW (\033[A) <Previous Line>
DOWN ARROW (\033[B) <Next Line>

You can experiment with key mappings using DEFINE_KEY. Check the
documentation for the exact synax, but it would be something like

DEFINE_KEY,'LEFT ARROW',ESC='SomeEscapeSequence',/BACK_CHARACTER
DEFINE_KEY,'RIGHT ARROW',ESC='SomeEscapeSequence',/FORWARD_CHARACTER
DEFINE_KEY,'UP ARROW',ESC='SomeEscapeSequence',/PREVIOUS_LINE
DEFINE_KEY,'DOWN ARROW',ESC='SomeEscapeSequence',/NEXT_LINE

If you figure it out, just put the commands in your .idl_startup file.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL_STARTUP trouble and .kshrc
Next Topic: How to add 'd' to get the correct julian conversion ?

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

Current Time: Sun Oct 12 04:38:05 PDT 2025

Total time taken to generate the page: 0.86182 seconds