-----
IDL setup : set environmental variables in FOCASRED/setup_focasred properly,
            and execute it

             FOCASREDHOME : path to the FOCASRED package
             RSI_DIR : path to the IDL root directory
             FOCASRED_FITS_IN : working directory

(if you don't have IDL license, please try IDLVM)

            For Linux user:
             To use X window properly on 16bit X-window system (which is
             common in Linux computers), you may have to type
              DEVICE,PSEUDO_COLOR=8
             in the IDLDE command line at the bottom.

-----
IDLVM setup : download from http://www.ittvis.com/idlvm/, and install it.
              .sav files and example scripts are in FOCASRED/vm/

-----
IRAF setup : in login.cl, define FOCASREDHOME (path to FOCASRED) and declare
             the package name
#example
set FOCASREDHOME = "/home/hattori/FOCASRED/"
task $focasred.pkg = "FOCASREDHOME$/IRAF/focasred.cl"
#example end


Compilation :
 If you're going to use distcalib, bigimage (tasks for distortion correction),
 or mosextract (task for MOS reduction) in IRAF, please execute 'make' in
 'FOCASRED/bin/src/' directory.
 If there are .o files in FOCASRED/bin/src/ directory, please execute
 'make clean' first, and then 'make'.
 You may have to edit 'Makefile' to specify where libcfitsio is.
 # see comments in Makefile for an example
 # if you are a Mac user and failed to compile, it is strongly recommended
 # to download cfitsio source code and compile it by yourself using
 # 'configure' and 'make'



(2013/3/5 T. Hattori, hattori@subaru.naoj.org)

