/usr/lib/neuron/bin/hel2mos1.sh is in neuron-dev 7.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #!/bin/sh
#NETSCAPE='/u3/local/hines/netscape/netscape'
NETSCAPE=`which netscape`
help='http://neuron.yale.edu/neuron/help'
#help="file:$NEURONHOME/html/help"
#dict=$NEURONHOME/lib/helpdict
#echo "$*"
#url=`sed -n '/^'"$*"'/{
# s/.* //p
# q
#}' $dict`
url=$1
if [ -z "$url" ] ; then
echo "|$*|"
url='contents.html'
fi
cmd="$NETSCAPE -remote openURL(${help}/${url})"
if [ -x $NETSCAPE ] ; then
$cmd
if [ ! $? ] ; then
$NEURONHOME/bin/ivdialog "$0: $cmd failed" "Continue" "Continue"
exit 2
fi
else
$NEURONHOME/bin/ivdialog "$0: $NETSCAPE not executable from this shell" "Continue" "Continue"
exit 1
fi
|