diff options
author | abs <abs@pkgsrc.org> | 2003-08-05 20:22:45 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2003-08-05 20:22:45 +0000 |
commit | f832cfe73e0d042fd49ecc0693bbddbd5a39863b (patch) | |
tree | 210f73b10c48dd54acaf6a0ecad8a0d9683f6f14 /www/ns-remote | |
parent | 81f8de84f9978c0b71651a50a28943af46aaaca0 (diff) | |
download | pkgsrc-f832cfe73e0d042fd49ecc0693bbddbd5a39863b.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/Makefile | 4 | ||||
-rwxr-xr-x | www/ns-remote/files/ns-open | 10 |
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 |