View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

pstselect error

mohack wrote on Dec 10, 2009

Hi!
I already used the forum search, but I haven't found a working solution.
The problem is: I'm currently working on a colleague's machine running IRAF on SUSE Linux with DS9 (same as on my own machine). When I try to run the pstselect task interactively I get the error "Warning: Graphics overlay not available for display device", the image cursor changes (as it should) but there is no window opening up showing the first star plot. None of the usual keys (m, c, r) works, I only can return to the cl promt by pressing q. So I googled and found the hint to set stdimcur to stdgraph. After I did that, now the plot window pops up but is empty except the red cross cursor. Again, I only can press q to quit.
I've read that a similar problem often occured with phot, but that works fine actually.
Any ideas?

-Mo

Mike Fitzpatrick wrote on Dec 10, 2009

My first thought is there are two potential problems: First you need to verify that the terminal setting is correct and that graphics work as expected, e.g. does IMPLOT work normally? It sounds like you are using an XGterm (i.e. the red cursor), is this the terminal type you set when you did a MKIRAF or a "stty xgterm"??

Secondly, your mouse focus policy might require that you click on the DS9 window so the keystroke is directed to the DS9 window. An 'n' keystroke for instance should bring up a surface plot, does this work? Setting the stdimcur to stdgraph forces the system to use plots rather than the image display but for some tasks requires e.g. that you already have a contour plot of the image displayed. Note that the warning about graphics overlays is normal and can be ignored.

Lastly, there have been reports about problems with DS9 reading cursor keystrokes, you might also see whether you have the latest version and if not, update. Hope this helps.

-Mike

Last post on Dec 10, 2009