#!/bin/sh
#
# If netscape isn't available, run lynx in a xiterm
# First try standard path, then local, then other possible paths
#

if [ -x /usr/X11R6/bin/netscape ]
then
  /usr/X11R6/bin/netscape /usr/share/afterstep/doc/afterstep.html
elif [ -x /usr/local/bin/netscape ]
  then
   /usr/local/bin/netscape /usr/share/afterstep/doc/afterstep.html
elif [ -x /usr/local/netscape/netscape ]
  then
  /usr/local/netscape/netscape /usr/share/afterstep/doc/afterstep.html
elif [ -x /opt/netscape/netscape ]
  then
  /opt/netscape/netscape /usr/share/afterstep/doc/afterstep.html
elif [ -x /usr/bin/lynx ]
  then
  xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/bin/lynx /usr/share/afterstep/doc/afterstep.html"
elif [ -x /usr/local/bin/lynx ]
  then
  xiterm -bg black -fg peachpuff -sl 500 -vb -e "/usr/local/bin/lynx /usr/share/afterstep/doc/afterstep.html"
elif [ -x /bin/lynx ]
  then
  xiterm -bg black -fg peachpuff -sl 500 -vb -e "/bin/lynx /usr/share/afterstep/doc/afterstep.html"
fi
