/usr/share/cone/http.handler is in cone 0.89-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 35 | #! /bin/bash
#
#
# Copyright 2005, Double Precision Inc.
#
# See COPYING for distribution information.
#
# Sample Cone URL handler.
#
# Searches for "firefox", then "mozilla", and runs whatever it finds.
prog="`which firefox 2>/dev/null`"
if test "$prog" = ""
then
prog="`which mozilla 2>/dev/null`"
fi
# Debian?
for f in /etc/alternatives/x-www-browser /etc/alternatives/www-browser
do
if test -x $f
then
prog=$f
fi
done
if test "$prog" = ""
then
exit 1
fi
$prog "$1" &
exit 0
|