View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

implot results in garbage in xgterm

sf16imager wrote on Jan 01, 2007

when I try to use any type of plot (mostly implot) all I get is garbage in the xgterm (IRAF on cygwin). I have looked at changing the stty to gterm, and also changing the stdplot & stdgraph, but to no avail. Also tried opening a plot in ds9, but the output of implot still goes to the terminal, and is hung there (ctrl-z or ctrl-c to exit the cl).

I have managed to compile galphot (stools & surfphot are up) under cygwin, so the hangup in using them is I have to do a plot.

RobertB

Mike Fitzpatrick wrote on Jan 01, 2007

Garbage always means a terminal mismatch of some kind. Since you've got DS9 running (which doesn't do plots BTW) you've started X, but be sure you're running IRAF from an actual XGterm window (or an XTerm if you set the terminal in IRAF to some flavor of 'xterm'), which you'll need to install and start separately, and not the default Cygwin terminal window. You can use the XTerm that comes with Cygwin but the graphics aren't as pretty, just rerun MKIRAF an answer 'xtermjh' (a flavor that doesn't overwrite graphics with the status line) when asked about the terminal type, or type 'cl> stty xtermjh' at the CL prompt. If you're using an XGterm window the correct prompt for the terminal type is 'xgterm'.

-Mike

Last post on Jan 01, 2007