irafterm on cygwin
Nils wrote on Mar 27, 2008
I just installed iraf on windows. Everything is ok except when I'm using imexam, the irafterm window doesn't pop up. Here is what is shown on the terminal:
server # XGTERM.GUI -- Default GUI for Xgterm, providing a standard graphics terminal
# emulation.
reset-server
appInitialize irafterm IRAFterm{
IRAFterm.objects: toplevel Gterm gterm
*allowShellResize: true
*gterm.warpCursor: true
*gterm.raiseWindow: true
*gterm.deiconifyWindow: true
}
creatObjects
send gterm setGterm
activate
(then a bunch of unrecognized characters)[/img]
server # XGTERM.GUI -- Default GUI for Xgterm, providing a standard graphics terminal
# emulation.
reset-server
appInitialize irafterm IRAFterm{
IRAFterm.objects: toplevel Gterm gterm
*allowShellResize: true
*gterm.warpCursor: true
*gterm.raiseWindow: true
*gterm.deiconifyWindow: true
}
creatObjects
send gterm setGterm
activate
(then a bunch of unrecognized characters)[/img]
Mike Fitzpatrick wrote on Mar 27, 2008
This normally means you're running an XTerm window (or perhaps just the cygwin shell window, which cannot be used for graphics), but IRAF thinks you're using an XGterm. You can either install X11IRAF and run the XGterm, or simply reset the terminal type to xterm. For the latter, you can rerun MKIRAF and reply 'xtermjh' when prompted for the terminal type, or at the CL prompt do
The 'xtermjh' does a better job of putting the status line output on the text window than the default 'xterm' setting (I should really just change the default).
Cheers,
-Mike
cl> stty xtermjh
cl> gflushThe 'xtermjh' does a better job of putting the status line output on the text window than the default 'xterm' setting (I should really just change the default).
Cheers,
-Mike
Nils wrote on Mar 27, 2008
Thanks, Mike. It works now.
Nils
Nils
Last post on Mar 27, 2008