MacOS X and X11IRAF


I have updated the .pkg installer to include a fixed xgterm binary for MacOS X 10.2 (and 10.3) Unfortunately, one binary won't work for both. You can also more simply fix your old installation by just downloading the Jaguar xgterm binary from this site.

Download the X11IRAF .pkg installer for MacOS X 10.1. This will only work in 10.1, not in 10.2. This is my X11IRAF .pkg installer, which is in the contrib directory at the IRAF ftp site. The version of xgterm in that installer is broken in Jaguar.

Download the X11IRAF .pkg installer for MacOSX 10.2 or 10.3 This will only work in 10.2 or later, not in 10.1. This is also my work, hosted at the IRAF ftp site in contrib. The version of xgterm here is fixed for Jaguar but incompatible with 10.1. (By the way, 10.1 is code-named Puma, but it was never marketed that way.) In Jaguar, on my machine, the new xgterm binary listed above does not crash if there is an app-defaults file present. So, feel free to put it in the proper place now all you Jaguar users. The 10.2 installer does install an app-defaults file.

Once the installer has been run (you don't have to deal with the iraf user account) then xgterm, ximtool, et. al. will be available to you from the command line. Xgterm has been known to crash if there is any app-defaults file present in /private/etc/X11/app-defaults/. At least this was true in 10.1. My .pkg installer does not install it for that reason.

If for some reason you can't launch the x11iraf tools or even iraf itself from the command line /usr/local/bin may not be in your path. Do this:

% echo $PATH
and see if /usr/local/bin appears in your path or not. You have to edit your .cshrc or .tcshrc file to fix this. Apple's X11 presumably sets your path up properly. See the section on the PATH variable in the UNIX for Newbies section of the site.

I have made a DS9 2.1 and XPA package installer. This installer is now downloadable in contrib . So, you can download the DS9 .pkg installer from there. The DS9 page has a newer version of ds9 as well, version 3. It doesn't really need an installer, it's just on efile that you need to put in your path somewhere. Probably /usr/bin or /usr/local/bin so it will work with the enlightenment, and Apple's X11. If you must use ximtool, then you will have to change X11's preferences for "color bit depth" in full screen mode to 8 bit. This is another instance where Fink may be useful.

Another problem with 8-bit color and ximtool is that there is a bug that prevents any window manager from letting the colormap follow the mouse. That is to say when Ximtool changes your color map to display your image, all the menus and other windows may become unviewable. You can best work around this by setting the maxColors flag in ximtool.

% ximtool -maxColors 32 &

That will force ximtool to only grab 32 colors, and so while things will still change, it won't be so bad that you can't read menu items. I really think ds9 is the best choice for most people.




Copyright 2002-2004 Marcos Huerta