#!/bin/csh -f # # set DIR=`dirname $0` set DIR=`cd $DIR; pwd` # get absolute path set BASE=`basename $0` set BASE2=`basename` set OS=`uname` set OSVERSION=`uname -r | sed -e 's/^5\..*/5.x/' -e 's/^4\.1\..*/4.1.x/'` set MACH=`uname -m | sed -e 's/sun4.*/sun4/'` set EXE=exe/$OS-$OSVERSION.$MACH set MACHINENAME=`uname -n` set CPU=`uname -p` if ($CPU == i386) then setenv XIL_DISPLAY ioShmXlib endif # The following setting helps PEX run more efficiently on the local machine setenv SUNPEX_DIRECT_ENABLE if ($?DISPLAY) then test `echo $DISPLAY | grep "^:"` if ($status == "0") then setenv DISPLAY "$MACHINENAME$DISPLAY" endif else echo "DISPLAY environment variable must be set to run this demo" exit 1 endif if ( $?CDHOME ) then $CDHOME/bin/$EXE/notice -Wp 350 300 "Notice" \ "This demo could take a few minutes" \ "to load and format all the data"\ " "\ " " \ "Press Continue or Cancel" set STAT=$status if ("$STAT" != 0) then exit 1 endif endif setenv LD_LIBRARY_PATH "$X11HOME/lib:$LD_LIBRARY_PATH" cd $DIR $CDHOME/bin/slay PEX_radwalk.exe >& /dev/null $DIR/$EXE/RadWalk -bg gray