View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Question about IRAF in Cygwin

vprilepi wrote on Jul 01, 2008

Hello,
I have just installed IRAF in cygwin on my laptop.
Everything works all right when I try to open an X window.
I enter startx in my tcsh shell window. Then I type ds9 and the prompt returns. But when I cd to my home directory and type "ecl" in my xgterm, I get : bash: ecl: command not found.

What is wrong? Please give me some tips.

Thank you,
Valentina Prilepina

Mike Fitzpatrick wrote on Jul 01, 2008

A 'Command not found' simply means the directory with the command isn't in your PATH variable. You can either start it explicitly using e.g. "/usr/local/bin/cl" to start up, or else edit your .bashrc file and add /usr/local/bin to the list of paths.

-Mike

vprilepi wrote on Jul 01, 2008

Thanks for your help. Actually, I have been able to install everything all right by now. ecl works but now in my xgterm, the ony command that responds is display. For imexamine and implot, I get: command not found.

What should i try?
Thanks,
Valentina

Mike Fitzpatrick wrote on Jul 01, 2008

'Command not found' is a host error message, do you mean 'task not found'?? If so then did you do a 'mkiraf' command to create a login.cl file before doing the 'cl' (only needs to be done once)? Even so, the 'display' IRAF command requires certain packages to be loaded, and 'imexamine' is in the same package and so should be found.

-Mike

vprilepi wrote on Jul 01, 2008

Hi.

No, I mean that I get : -bash: imexamine: command not found in my xgterm.
So, I go startx, ds9, set xgterm font, then in the window I cd to my home and type ecl or cl.
When i try imexamine, I get the above message.
So, what's wrong?
Thanks,
Valentina

Mike Fitzpatrick wrote on Jul 01, 2008

Try typing "which imexamine", the response should be "tv" to indicate it is in the TV package, something like "user" would mean it was redefined (probably in a login.cl or loginuser.cl file). If you get "imexamine: task not found" then it means the TV package is not loaded.

Did you see the standard message-of-the day banner when you first logged in, or a message about "no login.cl found" and then just a package listing? If the latter, you need to type "mkiraf" first to create a login.cl file. I'm assuming you have the C-shell installed since the CL command worked (it's a c-shell script), but it appears for some reason that it thinks IMEXAM is a foreign command.

-Mike

Last post on Jul 01, 2008