#!/bin/csh -f # # Program to read a tioga file. # David Nichols # June, 1991 # set echo # This tells were our auxiliary files are located. setenv TIOGADIR ${XeroxCedar}/../viewtioga set cedarnamedir=${XeroxCedar}/../cedarname # This will have to be specialized for your ANDREW installation setenv ANDREWDIR /import/andrew-r5 set andyfonts=/import/openwin/lib/fonts/andrew # This will have to be specialized for your X11 installation set xset=/import/X11R4/bin/xset set xdpyinfo=/import/X11R4/bin/xdpyinfo set openwinfontdir=/import/openwin/lib/fonts set x11fontdir=/import/lib/X11/fonts setenv TEMPLATEPATH ${TIOGADIR}/lib/tpls:${ANDREWDIR}/lib/tpls setenv CLASSPATH "${TIOGADIR}/lib/dlib:${ANDREWDIR}/dlib/atk" $xdpyinfo | grep -s NeWS if ( $status == 0 ) then $xset q | grep -s $andyfonts if ( $status != 0 ) then $xset fp+ $andyfonts endif set tiogafonts=${openwinfontdir}/tioga else set tiogafonts=${x11fontdir}/tioga endif $xset q | grep -s $tiogafonts if ( $status != 0 ) then $xset fp+ $tiogafonts endif set files= foreach i ($*) set files=($files `${cedarnamedir}/cedarname $i`) end $ANDREWDIR/bin/ez -ni -o tiogatxt $files