Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/script/hood.inst

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/sh
# Starts up the Hood debugging user-interface

NHC98BINDIR=${NHC98BINDIR-ScriptDir}
NHC98LIBDIR=${NHC98LIBDIR-ExecutableDir}
MACHINE=`${NHC98BINDIR}/harch`

#if [ ! -d $NHC98LIBDIR/$MACHINE ]
#then
#  echo "Warning: nhc98 may not be installed/configured for $MACHINE."
#  echo "  This might restrict your ability to use the Hood Browser."
#fi

case $# in
  1) case $MACHINE in
       ix86-CYGWIN*) CLASSPATH=`cygpath -w -p $NHC98LIBDIR/hood.jar` ;;
       *)            CLASSPATH=$NHC98LIBDIR/hood.jar ;;
     esac
     export CLASSPATH
     echo Starting Hood user interface...
     java Hood "$1" & ;;
  *) echo "Usage: `basename $0` filename.xml"
     exit 1 ;;
esac

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].