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

Home » Public Forums » archive » defining Keys
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
defining Keys [message #10293] Tue, 11 November 1997 00:00
Ye Hong is currently offline  Ye Hong
Messages: 6
Registered: October 1996
Junior Member
Hi,

Is there anyone who have tried "define_key" with IDL5.0?

The following is my programm:
IDL> setup_keys
IDL> define_key, 'f1', 'print'

It works well if I use IDL4.0. But pushing "f1" does not give me
"print" after I use IDL5.0. I found the difference between IDL 4.0 and
5.0 from the command "help, /keys." as follows:

IDL4.0 IDL5.0
------ ------
IDL> help, /keys IDL> help, /keys
... ...
F1 <\033[001q> = print F1 (\033[11~) print
...

Although both versions indicate that "f1" has been defined as "print",
the symbol (\033[11~) in IDL5.0 sounds strange.

Any clue?

By the way, my machine is SGI. Thanks in advance.



-- Ye

*****************************************
* *
* Ye Hong ` _||_||_ || / ||_ *
* Code 912 ``_||_||_ `||'| ||_ *
* NASA/GSFC /` / \ //`--||-- *
* || *
* phone: (301)-286-1495 *
* fax: (301)-286-1762 *
* email: yhong@audry.gsfc.nasa.gov *
* *
*****************************************
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Accessing other widgets.
Next Topic: Re: batch UNIX-IDL

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

Current Time: Wed Oct 08 15:21:48 PDT 2025

Total time taken to generate the page: 0.00371 seconds