Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/documents/dhb/web/cappa_irafprimer.fm1.html
Дата изменения: Tue Nov 18 00:20:35 1997 Дата индексирования: Sat Dec 22 17:00:24 2007 Кодировка: Поисковые слова: trees |
We assume that your site has IRAF and STSDAS installed. If not, you must obtain and install the software. See "Getting IRAF and STSDAS" on page A-13 for details.
If you call your root IRAF directory "iraf", you can set up IRAF as follows:
% mkdir iraf
% cd iraf
% setenv iraf /usr/stsci/iraf/
% source $iraf/unix/hlib/irafuser.csh
% mkiraf
$ CREATE/DIR [.IRAF]The mkiraf command initializes IRAF by creating a login.cl file and a subdirectory called uparm. After typing the mkiraf command, you will see the following:
$ SET DEFAULT [.IRAF]
$ IRAF
$ MKIRAF
Enter the type of terminal or workstation you will most often use with IRAF. 1 Generic terminal types that will work for most users are:
% mkiraf
-- creating a new uparm directory
Terminal types: gterm=ttysw+graphics,vt640...
Enter terminal type:
You can change your terminal type at any time by typing set term=new_type during an IRAF session. You can also change your default type by editing the appropriate line in your login.cl file.
The login.cl file is the startup file used by the IRAF command language (CL). It is similar to the LOGIN.COM file used by VMS or the .login file used by Unix. Whenever IRAF starts, it looks at the login.cl file. You can edit this file to customize your IRAF environment. In fact, you should look at it to make sure that everything in it is correct. In particular, there is a line starting with set home = that tells IRAF where to find your IRAF home directory. You should verify that this statement does, in fact, point to your IRAF directory. If you will be working with standard IRAF format images you should also insert a line saying set imdir = "HDR$". The imdir setting is ignored when working with GEIS format images.
A new LOGIN.CL file has been created in the current ...
You may wish to review and edit this file to change ...
The uparm directory will contain your own copies of IRAF task parameters. This directory allows you to customize your IRAF environment by setting certain parameter values as defaults. Once you set up IRAF, you should rarely need to do it again, expect when updated version of IRAF are installed.
stevens@stsci.edu Copyright © 1997, Association of Universities for Research in Astronomy. All rights reserved. Last updated: 11/13/97 18:01:47