summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs>2003-08-05 20:22:45 +0000
committerabs <abs>2003-08-05 20:22:45 +0000
commitfd340228eeab5fbe543be2c2b084d4bcfd950d80 (patch)
tree210f73b10c48dd54acaf6a0ecad8a0d9683f6f14 /www/ns-remote
parentcea5e802f936231fd9674b17476301528eab9635 (diff)
downloadpkgsrc-fd340228eeab5fbe543be2c2b084d4bcfd950d80.tar.gz
Updated ns-remote to 1.8:
- Use 'openURL(about:blank,new-window)' rather than 'openBrowser', so we can open blank windows with Mozilla >= 1.3. From Todd Vierling
Diffstat (limited to 'www/ns-remote')
-rw-r--r--www/ns-remote/Makefile4
-rwxr-xr-xwww/ns-remote/files/ns-open10
2 files changed, 6 insertions, 8 deletions
diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile
index fc31f304769..d0080dc0813 100644
--- a/www/ns-remote/Makefile
+++ b/www/ns-remote/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2003/07/22 04:14:26 martti Exp $
+# $NetBSD: Makefile,v 1.16 2003/08/05 20:22:45 abs Exp $
DISTNAME= ns-remote
-PKGNAME= ns-remote-1.7
+PKGNAME= ns-remote-1.8
CATEGORIES= www
MASTER_SITES= http://home.netscape.com/newsref/std/
DISTFILES= remote.c vroot.h
diff --git a/www/ns-remote/files/ns-open b/www/ns-remote/files/ns-open
index c17e96f845b..3cd08c6ac0a 100755
--- a/www/ns-remote/files/ns-open
+++ b/www/ns-remote/files/ns-open
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ns-open,v 1.9 2002/09/20 11:26:52 abs Exp $
+# $NetBSD: ns-open,v 1.10 2003/08/05 20:22:46 abs Exp $
#
# Simple script to open a URL in Netscape, starting a new process if necessary
# If a netscape process is not running it will look for a valid netscape
@@ -76,12 +76,10 @@ done
if [ -z "$START_NEW_NETSCAPE" ];then
NS_REMOTE_ARGS="$NS_REMOTE_ARGS $RAISE"
if [ -z "$REMOTE_SPECIFIED" ];then
- if [ -n "$URL" ];then
- # encode , " and ` to avoid problems with openURL(x,y)
- NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openURL(${URL},new-window)"
- else
- NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openBrowser"
+ if [ -z "$URL" ];then
+ URL=about:blank
fi
+ NS_REMOTE_ARGS="$NS_REMOTE_ARGS -remote openURL(${URL},new-window)"
fi
if ns-remote -noraise 2>/dev/null; then
if ns-remote $NS_REMOTE_ARGS ; then