Quote by: fitz
You can delete/rename the binaries in $iraf/vendor/x11iraf/bin.linux (and/or bin.macintel) and your path should pick up the previous binary you were using. A BadDrawable error may indicate you're not using a compatible X visual (e.g. a 16-bit default for some reason), you can use the 'xdpyinfo' command to verify what your default visual us. XGterm/XImtool do support 24- and 32-bit visuals.
xdpyinfo prints next:
visual:
visual id: 0x139
class: TrueColor
depth: 15 planes
available colormap entries: 32 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 5 bits
I'm using imt4096 setting to display 2048x4096 images.
but if an image is called from iraf display task, ds9 displays it with wrong coordinates.
Y pixels are good, but ds9 shows x pixels up to more than 3000 pixel.
Iraf get this wrong coordinates and when I use imexam task, iraf give me an information for this wrong coordinates.
Of course, if I hit s or r on the pixels higher than 2048, irafterm answers "Warning: Pixels out of bounds".
There is no such a problem is an image is called using menu bar of ds9.
I tested with imt2048 by modifying login.cl, and in this case there is no problem in X pixel,
but iraf get wrong Y pixel from ds9.
I tried several re-installs of iraf, xgterm, and ds9, but the problem can not be fixed.
I tried to install both 32-bit and 64-bit iraf.
also I tried to install x11iraf-v2.0BETA-bin.macintel.tar.gz for xgterm.
What's wrong in my installation?
I'm using iMac with OS X 10.8.5.
I bought this only a week ago.