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 
Switch to threaded view of this topic Create a new topic Submit Reply
keyboard problem [message #33674] Sun, 19 January 2003 13:08 Go to next message
Chris[1] is currently offline  Chris[1]
Messages: 23
Registered: January 2003
Junior Member
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
Re: keyboard problem [message #33745 is a reply to message #33674] Wed, 22 January 2003 09:41 Go to previous message
Chris[1] is currently offline  Chris[1]
Messages: 23
Registered: January 2003
Junior Member
Thanks for the several offers of help. Though they didn't fix it directly,
it did lead to a partial solution - the problem only occurs in a
gnome-terminal window, not an xterm. So I can work from there.

Thanks again

Chris

"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
>
>
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Oct 11 07:41:29 PDT 2025

Total time taken to generate the page: 0.24024 seconds