Hello, this readme file contains note for those IRTF users who are interested in VF. VF is a simple FITS viewer. It was developed by the NASA Infrared Telescope Facility for use with their data acquistion systems. We are making the source code available to any interested persons. The files in this directory are: README.vf - This file. vf.source.tar.Z - The source code necessary to compile vf. Notes on VF's Source Code =========================== The file vf.source.tar.Z contains the sources to the View Fits (VF) program. I have made the source code available to those who are interested in porting or running VF at their home institution. And for those who are curious to seeing how the software is written. VF wase developed using solaris 5.x using the XVIEW toolkit. They are compiled using gcc compiler. If your workstation has an ANSI compiler and the XVIEW libraries you should be able to compile these programs. I am also able compile and run this application on a Linux PC/AT system. These instructions assume you have some knowledge in developing programming in an unix enviroment. If not, you will probably need assistance from a programmer-type. To install and compile the source: 1. Obtain and install mylib in your user account. The mylib source can be obtain from the source as the vf source. 2. Download the vf.source.tar.Z to your home directory. 3. uncompress and un-tar this file. ie: % uncompress -c vf.source.tar.Z | tar xvf - The following files/directories should be created in you home directory: .vf-init - startup file for VF src/vf/ - This directory contains the source the VF. vf/ - I usually make the binaries in this directory 4. To compile the VF application, Go to the vf/ directory and type 'make' to compile the program. Note: You may need to modify the makefile to compile in your enviroment. % cd ~/vf % vi make <- view & edit to match you machine. % make 5. Edit the following startup files for vf: ~/.vf-init - VF's startup file. Please refer to the VF user manual for further details. 6. When VF starts up, it need to know the location of some of the file distributed in the vf/src directory (*.cm, ps_proc). The enviroment variable VFHOME give the location of the file. Set this variable before starting vf. For example, after you compiled vf, let say you installed vf, *.cm and ps_proc to /usr/local/vf. Set the enviroment variable VFHOME to /usr/local/vf before starting up vf. I recommend you have this in you .cshrc (or equivalent): setenv VFHOME /usr/local/vf If you have question/comments, please contact me. I would be happy to help you. Tony Denault IRTF Programmer /--------------------------------------------------------------------------\ | Tony Denault | Email: denault at ifa.hawaii.edu | | NASA IRTF, Institute of Astronomy | Phone: (808) 933-0893 | | 640 North Aohoku Place | Fax: (808) 933-0737 | | Hilo, Hawaii 96720 | | \--------------------------------------------------------------------------/