README FOR HP-UX IRAF VERSION 2.11 Last Updated Thu Feb 10 2000 Current Patch Level V2.11.3 ----------------------------------------------------------------------------- 23Dec97 Initial IRAF V2.11.1 release of HPUX/IRAF 14Dec99 ***** V2.11.3 patch ***** 10Feb00 V2.11.3a (applications) patch (see "patch3a" notes below) If you are INSTALLING IRAF FOR THE FIRST TIME ignore any patch files and just do a normal install from the AS, IB, and NB distributions as described in the installation guide in this directory. If you already have a V2.11.1 system installed and you are updating to V2.11.3, you have the option of either doing a full install or installing patch3.tar.Z (or patch3.tar.gz) as outlined below in Section 6. In either case you must update your binaries as well (the IB and NB distributions). If you have an older V2.11EXPORT installed you can update by applying patch 3 and then updating the binaries (IB and NB distributions). You may prefer however to do a full install instead, which will give you a clean V2.11.3 system without any patching required. The December release of HPUX/IRAF is at IRAF version V2.11.3. The IRAF distribution does not itself include graphics and image visualization tools, these are distributed separately. See /iraf/x11iraf and /contrib. You should use Xgterm for any IRAF line graphics. Ximtool, SaoTNG, SAOimage, and other related image viewers may be used for image interaction. See also the post-distribution notes at the end of this file. These are continually updated after the release as any problems are encountered. ----------------------------------------------------------------------------- 1. INTRODUCTION 1.1. THE HEWLETT-PACKARD HPUX/IRAF V2.11 RELEASE HPUX/IRAF V2.11 is a port of IRAF to Hewlett-Packard PA-Risc platforms running HP-UX (we used HP-UX 10.20 for our port). README This file as.hpux.gen All-Sources (main IRAF distribution) ib.hpux.sun Core system binaries for HPUX nb.hpux.sun NOAO package binaries for HPUX The distribution directories contain large compressed Tar files split into a number of modest size (e.g. 512KB) chunks, to allow recovery if the network fails during a transfer. The Installation Guide provides detailed instructions on how to use these files to install IRAF. 1.2 WHO SHOULD UPGRADE? IRAF V2.11 is a major IRAF release for all supported IRAF platforms. Support for older versions of IRAF is limited so sites running earlier versions of IRAF should update to the new version of IRAF. There may be incompatibilities between V2.11 and earlier versions of IRAF, so updating in the middle of an analysis program might not be advisable. Mixing different versions of IRAF works in most cases, but there can be complications. Large installations may want to keep and older version of IRAF around to give users time to complete their programs before switching to the new version of IRAF (e.g. here at NOAO, "cl" or "iraf" runs V2.11, and "irafo" will bring up the older V2.10.4 release). 2. INSTALLING HPUX/IRAF The procedure for installing HPUX/IRAF is unchanged from earlier versions of HPUX/IRAF and other versions of IRAF. Refer to the HPUX/IRAF Installation Guide for detailed installation instructions (see (hpuxiraf.ps.Z in the distribution directory). A full installation, as this is a major release, will be required. The installation guide contains the full installation instructions (see also the notes below) but one thing is worth emphasizing here: the installation will be simplified if you set up the iraf directories as follows: /iraf root of iraf related files /iraf/iraf root iraf directory (AS dist) /iraf/irafbin iraf bin dirs go here /iraf/irafbin/bin.hp700 HPUX binaries for core system /iraf/irafbin/noao.bin.hp700 HPUX binaries for noao packages /iraf/extern external packages (tables etc.) Here "" is the path where all this is located, e.g., "/u3/iraf" on the IRAF development system here at NOAO. The actual path to the iraf root can be anything. You might want to also set up a symbolic link "/iraf" pointing to the "/iraf" directory. This allows all iraf files to be referred to relative to /iraf, regardless of where the files actually are located, and agrees with the default configuration used in the distribution files. The V2.11 HPUX/IRAF release currently supports only one architecture. The "hp700" architecture is the HPUX architecture for PA-Risc platforms running HP-UX, built using the standard HP-UX compilers. There are still hooks in HPUX/IRAF for the older 300-series machines, but these are no longer supported. 3. X11/GUI SUPPORT IRAF V2.11 includes full support for the X11IRAF utilities - these include xgterm for xterm-compatible terminal emulation and graphics, and ximtool for image display under X. The X11IRAF package is not included in IRAF; you need to get it and install it separately, as you would any other X software. X11IRAF is available in /iraf/x11iraf on the main IRAF network server (iraf.noao.edu). Other IRAF-compatible GUIs can also be used with IRAF, e.g. SAOimage, SAOtng, and IPAC SkyView. This software is continually under development and new versions appear on a timetable independent of that for the main IRAF distribution. 3.1 THE X11 DESKTOP The X11IRAF utilities will run under any X desktop. Most people will probably use DEC's default CDE-based desktop, but Motif/mwm, twm, fvwm, and so on may be used as well. As of the time of this writing, the X11IRAF utilities do not run on 24 bit truecolor screens, only 8 bit pseudocolor. Support for 24 bit screens is planned. 3.2 THINGS TO WATCH OUT FOR (IRAF) Please see the release notes for information on what has changed in V2.11, and things to watch out for. 3.3 THINGS TO WATCH OUT FOR (X11) Please see the documentation included with X11IRAF V1.0 or later releases for information on running these utilities, including common problems and how to deal with them. One thing we would like to emphasize here is that we STRONGLY suggest that you use "xgterm", not the standard "xterm" to run IRAF. Xgterm, which is included in X11IRAF, has advanced graphics capabilities developed for use with IRAF. Xterm graphics work, but not terribly well. When you start up the cl in an xgterm window, type "stty xgterm" after the CL starts up to tell it you are using an xgterm window. 4. MAGTAPE INTERFACE The DEV directory contains a default template tapecap file for HPUX. If a server is configured to run IRAF for multiple network clients, you can now have multiple tapecap files, one for each host, e.g. "tapecap.foobar" for host "foobar". See the release notes for further information on this capability. 5. PRINTER INTERFACE Local printers are interfaced to IRAF using the dev$termcap file. The default printer, defined by the "printer" environment varilable in hlib$zzsetenv.def, is "lp". This uses the host system lpr with no explicit printer name given, allowing the host environment variable PRINTER to be defined in ther user's environment to direct out to the actual printer. The dev$termcap file may need to be customized to support the printers in use at your site. See the IRAF Site Manager's Guide for detailed instructions on configuration the printer interface. 6. PATCHES 6.1 HPUX/IRAF V2.11.3 - Tue Dec 14 1999 The HPUX/IRAF distribution files have been fully regenerated for V2.11.3, so one simple way to upgrade IRAF to V2.11.3 is to do a full install and diff/merge selected locally customized files from DEV (tapecap, graphcap, imtoolrc, devices.hlp, etc.) and HLIB (extern.pkg, mkiraf.csh, login.cl, zzsetenv.def). If you have an existing HPUX/IRAF V2.11.3 installation you have the option of installing the patch file. Note that THE V2.11.3 PATCH WILL OVERWRITE CERTAIN SITE SPECIFIC FILES. These are the following: unix/hlib/zzsetenv.def unix/hlib/login.cl dev/graphcap dev/imtoolrc dev/termcap dev/tapecap You may want to save copies of these files and diff/merge them with the new versions after installing the patch. To install the patch, login as the iraf system manager, go to the $iraf directory, and untar the patch as follows: % cd $iraf cat patch3.tar.Z | uncompress | tar -xpvf - Or if you have Gnu tar (e.g. gtar) and downloaded the gzipped patch, % cd $iraf gtar -xpvzf patch3.tar.gz Next, go to the archives and download and install the IB (IRAF core system) and NB (NOAO package) binaries for the architectures your installation will support. For example, to install IB.HPUX.HP7 (the HP/UX binaries for the core system, with the IB.HPUX.HP7 distribution downloaded to the directory "/ib.hpux.hp7" (where is where you created this directory): % cd $iraf/bin.hp700 % pwd /iraf/irafbin/bin.hp700 # (you should be here, or somewhere similar) % cat /ib.hpux.hp7/ib.* | uncompress | tar -xpvf - A similar procedure is followed to install each of the other binaries. See the URL http://iraf.noao.edu/v2112revs.html for a detailed description of what is included in the V2.11.3 patche. Most of the new features were introduced in V2.11.2. V2.11.3 mostly consists of additional bug fixes, minor changes related to the PC-IRAF upgrades, and a few isolated minor application enhancements. The system notes file (iraf/local/notes.v211) documents these revisions in detail for the core system. 6.2 Patch3a - Feb 10 2000 Patch 3a is a small patch which fixes bugs in several of the V2.11.3 applications, including a serious one affecting onedspec.dispcor (details can be found in the buglogs). The task IMEDIT and the packages APEXTRACT, ONEDSPEC, and RV are affected by the patch. The patch file is as follows: patch3a-hp700.tar.Z patch3a for HP/UX 10.20 The patch files contain updated executables for the given architecture. Some source and runtime files are also included; these are duplicated in each patch file, and will be updated correctly no matter which patch files are installed or in what order. To install the patch, merely untar it at the IRAF root. For example, to install the patch for the HP/UX 10.20 architecture: % cd $iraf zcat patch3a-hp700.tar.Z | tar -xpvf - *** NOTE *** Patch3a is an incremental patch for the V2.11.3 release only. IRAF must already have been upgraded to V2.11.3 before the patch is installed. The V2.11.3 distribution files DO NOT include patch3a. Patch3a must be installed after upgrading to IRAF V2.11.3. ----------------------------------------------------------------------------- NOTES added since the release. Please check this space in the future for notes on any problems or issues arising after the initial release. January 11, 2000 A bug in the install script was repaired and a patched hlib$install script was added to this directory. The change can be made in place by editing the script and changing line 50 from set mach = `mach` to set mach = "hp700"