PC-IRAF (Cygwin ) (hamabe@fc.jwu.ac.jp) 2009 3 27 Windows XP SP2 Windows Vista Cygwin IRAF Windows Vista Home Edition UNIX IRAF 1 Cygwin 2 1.1 PC................................. 2 1.2 Cygwin... 2 2 IRAF 3 2.1... 3 2.2............................................ 3 2.3.............................................. 4 3 X11IRAF 5 3.1... 5 3.2............................................ 5 3.3 xgterm.................................... 6 4 SAOimage DS9 6 5 7 6 8 6.1 Cygwin................................. 8 6.2 SAOimage DS9................................ 8 6.3 IRAF download... 8 1
1 Cygwin Cygwin Web Cygwin Poderosa(http://ja.poderosa.org/) 1.1 PC PC PC DELL Vostro 220 CPU Intel(R) Core(TM)2 Duo CPU E8400 @3.00GHz (RAM) 4.00GB SATA 500GB OS Windows Vista(TM) Home Basic 1.2 Cygwin Windows Vista Windows XP XP OK Cygwin IRAF X Window Cygwin ( ) diffutils (Utils) IRAF (diff ) tcsh (Shells) CSH TCSH ncurses (Utils) (tput ) xinit (X11) IRAF X Window System libncurses7 (Libs) xgterm Cygwin vim (Editors) vi (login.cl ) nedit (Editors, X11) Word emacs (Editors, Interpreters) openssh (Net) UNIX PC WS 2
2 IRAF 2.1 Cygwin IRAF Iraf.net http://iraf.net/ftp/iraf/v214/pcix/ http://iraf.nao.ac.jp/iraf/ftp/iraf/v214/pcix/ Cygwin ( 2 2009 3 26 ) as.pcix.gen.gz 17-Sep-2008 08:35 25.2M IRAF (AS) ib.cygw.x86.gz 16-Sep-2008 22:35 11.9M IRAF nb.cygw.x86.gz 16-Sep-2008 22:38 14.3M NOAO pciraf.ps.gz 17-Jul-2002 05:05 42k PC-IRAF unixsmg.ps.gz 05-May-2002 14:43 83k IRAF Cygwin C C:\cygwin IRAF C:\cygwin\tmp.gz 2.2 IRAF 2 PC-IRAF Installation Guide (pciraf.ps.gz) IRAF Site Manager s Guide (unixsmg.ps.gz) ( ) Cygwin Poderosa Cygwin Cygwin IRAF ( $ 1. IRAF $ mkdir -p /iraf/iraf $ cd /iraf/iraf $ tar xvfz /tmp/as.pcix.gen.gz $ mkdir -p /iraf/irafbin/bin.cygwin $ cd /iraf/irafbin/bin.cygwin $ tar xvfz /tmp/ib.cygw.x86.gz 3
$ mkdir -p /iraf/irafbin/noao.bin.cygwin $ cd /iraf/irafbin/noao.bin.cygwin $ tar xvfz /tmp/nb.cygw.x86.gz 2. $ cd /iraf/iraf/unix/hlib $./install 3 New iraf root directory (/iraf/iraf): Default root image storage directory (/iraf/imdirs): Local unix commands directory (/usr/local/bin): IRAF *1 Linux Solaris 2.3 2.3.1 login.cl IRAF mkiraf login.cl uparm login.cl IRAF login.cl login.cl /iraf/iraf/unix/hlib/login.cl mkiraf ( 8) set imdir = "U_IMDIR" (31) #set imtype = "imh" (32) set imextn = "oif:imh fxf:fits,fit fxb:fxb plf:pl qpf:qp stf:hhh,??h" ( ) ( 8) set imdir = "HDR$/" (31) set imtype = "fits" (32) set imextn = "oif:imh fxf:fits,fit,fit,fts fxb:fxb plf:pl qpf:qp stf:hhh,??h" *1 IRAF.pix FITS 4
8 IRAF (.pix ) Default root image storage directory (.imh ) 31 IRAF FITS 32 SBIG CCD Meade DSI FIT fts FITS FITS 3 X11IRAF IRAF IRAF X11IRAF xgterm Cygwin X11IRAF β X11IRAF xgterm ximtool FITS IRAF 3.1 Cygwin X11IRAF(β ) iraf.net http://iraf.noao.edu/x11iraf/x11iraf-v2.0beta-bin.cygwin.tar.gz 2009 3 26 β 3.2 $ tar xvfz /tmp/x11iraf-v2.0beta-bin.cygwin.tar.gz README.install $ mv bin.cygwin/* /usr/local/bin # for the binaries $ mv lib.cygwin/* /usr/local/lib # for the CDL library $ mkdir /usr/local/include $ mv include/* /usr/local/include # for CDL include files $ mkdir /usr/lib/x11/app-defaults $ mv app-defaults/* /usr/lib/x11/app-defaults # app resource defaults $ mkdir -k /usr/man/man1 $ mv man/* /usr/man/man1 # man pages README.install mkdir 5
3 ( ) man page ( PATH man ).bashrc alias xgterm= xgterm -sb -fn 7x14 -bg black -fg white -g 80x40 IRAF xgterm ximtool 3.3 xgterm X11IRAF Cygwin xgterm http://iraf.net/ftp/pub/fitz/xgterm.cygwin path (/usr/local/bin) xgterm $ cp /tmp/xgterm.cygwin /usr/local/bin $ cd /usr/local/bin $ chmod 755 xgterm.cygwin $ ln -s xgterm.cygwin xgterm 4 SAOimage DS9 IRAF X11IRAF ximtool SAOimage DS9 Windows http://hea-www.harvard.edu/rd/ds9/ Windows Vista/XP/2000/NT 2009 3 26 5.5 1. ( ds9.windows.5.5.exe Cygwin C:\Program Files\ds9 OK 2. Cygwin Poderosa Cygwin $ cd /usr/local/bin $ ln -s /cygdrive/c/program\ Files/ds9/ds9.exe 2 path 3. IRAF ds9.bashrc export IMTDEV="inet:5137:127.0.0.1" 6
IRAF ds9 5 1. Poderosa Cygwin startxwin.sh X X 2. SAOimage DS9 X ds9 & 3. X xgterm & xgterm 4. IRAF xgterm mkiraf xgterm $ mkiraf -- creating a new uparm directory Terminal types: xgterm,xterm,gterm,vt640,vt100,etc. Enter terminal type: xgterm A new LOGIN.CL file has been created in the current directory. You may wish to review and edit this file to change the defaults. 5. xgterm IRAF cl IRAF NOAO/IRAFNET PC-IRAF Revision 2.14.1 Mon Sep 15 10:12:05 MST 2008 This is the RELEASED version of IRAF V2.14 supporting PC systems. Welcome to IRAF. To list the available commands, type? or??. To get detailed information about a command, type help <command>. To run a command or load a package, type its name. Type bye to exit a package, or logout to get out of the CL. Type news to find out what is new in the version of the system you are using. Visit http://iraf.net if you have questions or to report problems. The following commands or packages are currently defined: ecl> dataio. images. lists. obsolete. proto. system. dbms. language. noao. plot. softools. utilities. 7
6. ecl> ecl> display dev$pix 1 ecl> pcol dev$pix 256 ( ecl> IRAF ) SAOimage DS9 2 OK 6 Cygwin ( 2007 12 ) 6.1 Cygwin Cygwin Windows root ( ) mhamabe X mejiro X /tmp/xwin.log mhamabe mejiro PC Cygwin 6.2 SAOimage DS9 Cygwin SAOimage DS9 Cygwin c:\cygwin\bin cygwin1.dll DS9 (c:\program Files\ds) cygwin1.dll OK 6.3 IRAF download IRAF Windows download tar 2.1 tar xvfz tar xvf 8