defining Keys [message #10293] |
Tue, 11 November 1997 00:00 |
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 *
* *
*****************************************
|
|
|