echo "Position to INFOFLEX DIRECTORY (fx/unx)" 

. ./fxsettar

cd ..
cd ..



#fx/src/term/*.act 
#fx/src/term/*.crt 
#fx/src/term/*.dir  
#fx/src/term/*.asc

echo
echo
if test "$1" = ""; then 
     echo "INSERT Diskette 1 and Press Return"; 
     read answer; 
     fi
rm tar.lst
strip fx/demo/bin/demoflex
strip fx/demo/bin/cwmenu
strip fx/bin/fxmore
strip fx/bin/fxedit
strip fx/bin/termflex
strip fx/bin/fxroute
find fx/src/term  -type f -print >> tar.lst
find fx/src/misc  -type f -print >> tar.lst
find fx/dev       -type f -print >> tar.lst
find fx/demo/bin  -type f -print >> tar.lst
find fx/demo/demo.dbs  -type f -print >> tar.lst
find fx/demo/help -type f -print >> tar.lst
find fx/demo/defaults -name "dummy" -print >> tar.lst
find fx/bin -name "fxmore"    -print >> tar.lst  
find fx/bin -name "fxedit"    -print >> tar.lst  
find fx/bin -name "termflex"    -print >> tar.lst  
find fx/bin -name "fxroute"    -print >> tar.lst  
find fx/unx -name "fxsetenv"    -print >> tar.lst  
find fx/unx -name "flex*"    -print >> tar.lst  
tar $TARLIST fx/fxdemo $TARLIST2 tar.lst 

cd fx
cp unx/fxsetup .

rm fxdemo.Z
compress fxdemo


if test "$1" = "-n"; then exit ; fi
if test "$1" = "-dir"
   then
       cp fxsetup fxdemo.Z "$2"
       exit
   fi


tar cvf $TARDRIVE fxsetup fxdemo.Z

