cd mkdir iraf cd iraf mkirafYou don't need to do this (you do need to run mkiraf), but unless IRAF is your entire life (like it is for our oven pilots), it is nice to have the various IRAF related files (login.cl and the uparm directory) isolated in their own directory.
You only do this once for each user.
You can certainly run IRAF in any terminal window, but if you want to use any IRAF commands that do graphics, you will probably want to launch an xgterm and then start IRAF in it using the following commands:
cd iraf clType "logout" to exit IRAF.
If you want to display images, you will need to start ximtool, or better yet these days, ds9.
The "flpr" command is used as a magic bullet to cure weird issues. The textbook definition is that this flushes the process cache. What I think this means is that IRAF process management is buggy and that forcing IRAF to start new processes from scratch often fixes issues.
Tom's home page / tom@mmto.org