!		How to Build Squaw and Run the Squawtest Program
!						JMB, 6/20/95
> pwd
/tmp_mnt/remote/gblusr/e852	! or /gblusr/e852
> source setup

!	To rebuild the libraries:
> cd squaw/src
!	! the following move is necessary to avoid complete recompilation
> mv ../ibm/*.o .		! relocate existing objects
> make -f makeibm		! recompile IBM library
	or:
> mv ../sgi/*.o .		! relocate existing objects
> make -f makesgi		! recompile SGI library

!	To make the Squawtest program
> cd squaw/ibm		! or cd squaw/sgi
> make cleantest		! remove old object & executable
> make squawtest		! make new object & executable

!	To run the program
> squawtest -M100 /p4data/e852/doran/neutrals.tape2430.run8208.0000.dat
! # of events ^		data file				optional &^

! other data files
 /pi4dat/e852/taegar/022/itape/tape11300.itape		! eta3pi events
 /p4data/e852/taegar/data/itape/2g.11604.cuts.itape
 /p4data/e852/taegar/data/itape/4g.11604.cuts.itape
 /kusr/dls/e852/monte/etaetapr/fourgam_2ch/eta_etapr.a1
 /p2data/e852/neutrals/ahs/an6g.dat
There is a file of post-skimmer 1-3-3 events in
 /pi3dat/e852/adams/133/tape11514partb.dat

! the following i/o files can be bypassed by using SquawIO; see SquawUse.txt 
! control card file
squawcntl.dat 
0,0,1,50,0,0,0,0 
(no min, no max, norm print, chg prt after 50, relics=0)
! do not use no print and a change prt.ne.0; this turns on full debug.
! debug print is usually 5 or 10, min print is 0.  Change print is between
! nonzero to 0 or 0 to full debug (10).  All 0s is a good production version.

! print files
-rw-r--r--   1 bishop   hep        51200 Dec 19 16:36 squawhist.lis
-rwxrwxr-x   1 bishop   hep       561152 Dec 19 16:36 squawprint.lis
! Note that these are reused by each run.
! These use standard fortran carriage control, but the unix lpr does not
! understand it.
! to print cleanly, copy to a vax disk (usually /du02/e852/squaw), 
! convert to fortran carr ctl, del col 1 & save, then print.
$ TAPES		! define names
$ CONVF filefrom.unix vms.name	! convert to Fortran carr ctl
$ EDIT vms.name
^K	! define key
^B	! key to define
1000(D+CL).	!then keypad enter to define the key
^B	! exec the key, as many times as needed to get to bottom of file.
Gold-E	! exit and save
$ PRINT vms.name