#!/bin/sh
# Invokes the Netscape Navigator web browser with a given URL in
# remote control mode (if running on this display already). This 
# avoids running multiple copies at once. Otherwise, starts it up 
# fresh with the given URL. Remove the "-install" flag if you don't 
# like the psychedelic color changes when you move to another window, 
# but any images you visit will have a reduced colormap available to 
# them. 
# Works only on Netscape Navigator 1.2 or later versions.

if [ $1 ]; then
netscape -remote openURL\("$1"\) >/dev/null 2>&1 \
	|| exec netscape -install "$1" &
else
	echo "Usage: $0 URL"
	exit 0
fi
