mjmerlo |
06/03/2010 09:57PM (Read 5782 times)
|
|
|
Status: offline
Registered: 06/03/2010
Posts: 5
|
When I display an image in ds9 and run imexam, none of the interactive commands work. For example, if I press a to get the aperture photometry, nothing happens. This is the same of all the interactive commands. If you hold down the key for a long time, sometimes the command does run, but there is no pattern to this. Any help would be appreciated.
|
|
|
|
fitz |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
See https://iraf.net/phpBB2/viewtopic.php?t=89947&highlight=imexam
|
|
|
|
mjmerlo |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 06/03/2010
Posts: 5
|
unlike what is described in that posting, I cannot get any of the interactive commands to work. it also does not matter if I run it in an xterm or xgterm window, I have the same problem. Also when I am pressing the keys, they do not output to the iraf window, so it is not a problem with not being in the ds9 window.
|
|
|
|
fitz |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Does the DS9 window show a blinking circle cursor indicating it went into "cursor read mode"? Is there another DS9 or XImtool running on a shared machine that might have gotten the event instead? Does running the RIMCURSOR command initiate a cursor mode and return the keys or does it appear to hang and do nothing?Otherwise, what platform (OS, 32 or 64-bit), ds9 version and iraf version is this?
|
|
|
|
mjmerlo |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 06/03/2010
Posts: 5
|
We are running iraf version 2.14.1 and ds9 version 6.1 on a fedora core 10 machine.
When I execute either the imexam command or the rimcursor command, ds9 does give me the blinking circle. When press the a button in either mode nothing happens. If I hold down the button for awhile, eventually the command executes.
|
|
|
|
fitz |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Are you sure this isn't a focus issue? What came up in the other thread was that once cursor mode was started, focus was released from the terminal window, but that doesn't necessarily mean it was reset to the DS9 window. Do you need to click-to-focus your windows or does the trick of moving the mouse in/out of the DS9 to reset the focus have any effect?If you hold down the button, typically the key will be sent multiple times. Do those other keys sent in the seconds you've held it down show up anywhere? Have you tried using a different (older) version of DS9? I don't have FC10 here so I'm unable to test this directly. You might also see whether there is a difference between using Gnome and KDE as your window system.
|
|
|
|
mjmerlo |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 06/03/2010
Posts: 5
|
I don't have to click to focus in the window and and moving the mouse in and out of the window has no effect. I have tried older versions of ds9. I have the same config on several other machines and it works fine. When I hold the a command key, just before the command finally executes, a couple of the letters come up in the iraf window, but not nearly as many as there should be if it was simply outputting to the iraf window instead of the ds9 window.
|
|
|
|
fitz |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
It's sounding more and more like the earlier thread focus problem. I know you don't *have* to click on the window, but if you do does it make a difference? Is there some sort of window highlight indicating focus you can use as a cue to whether the DS9 has input focus?You might also look at the control panel for your desktop to see whether there is some sort of "Window Behavior" (or somesuch) option you might try to toggle. Does using Xterm rather than XGterm matter? If you have XImtool installed (the 24-bit version) does it work any better?
|
|
|
|
mjmerlo |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 06/03/2010
Posts: 5
|
Clicking on the window and switching between xterm and xgterm also has not effect. The commands work fine in xmtool, but we really need to run it with ds9.
|
|
|
|
fitz |
06/03/2010 09:57PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You should contact SAO to see if they've also had reports. There's not much I can do to fix DS9 problems and to the extent I've been able to reproduce the problem it appears to be related to getting the input focus when entering cursor mode. You might check that its not something stupid like the CapsLock/NumLock key being set on one machine and not another (this changes the event masking and might be a new behavior, in the past it simply prevented menu options from being selected and the scaling didn't work).
|
|
|
|