View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

imhist issues

Gregory Feiden wrote on Jun 21, 2007

Hi,

I have recently installed iraf on my home computer, running Fedora Core 6, and thus far everything seems to work except for imhist. When I run:

cl> imhist <file>

it prints a long string of nonsense characters. I've installed the patch, x11iraf, and the update for xgterm. Any suggestions?

Greg

Mike Fitzpatrick wrote on Jun 21, 2007

Check your terminal type, i.e. if you use XGTerm then do a new MKIRAF and say 'xgterm' when asked for the type or do a "cl> stty xgterm ; gflush" and run it again. Note rxvt, gnome-terminal, etc cannot be used for graphics, but somehow the terminal you're using is not the one you told IRAF you are using.

-Mike

Gregory Feiden wrote on Jun 21, 2007

Mike,

I checked the terminal type, and I'm using xterm. So i ran mkiraf again and told it to set to xterm. I then proceeded to run cl and it still wanted to set to xgterm. I then edited the login.cl file so that it set to xterm instead of xgterm on startup. Still, nothing changed, imhist still won't cooperate. Is there a way to check what terminal IRAF thinks I should be using?

Greg

Gregory Feiden wrote on Jun 21, 2007

Mike,

I just found the issue, it was the termianl I was running cl in. I just called xterm and then tried imhist and it worked! Thanks for the advice!

Greg

Last post on Jun 21, 2007