From owner-freebsd-gnome Wed Nov 27 8:14: 6 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 026B437B401; Wed, 27 Nov 2002 08:14:04 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0148F43ECD; Wed, 27 Nov 2002 08:13:57 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id gARGDVDj054843; Wed, 27 Nov 2002 11:13:31 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: FreeBSD Port: mozilla-devel-1.2b From: Joe Marcus Clarke To: Vivek Khera Cc: FreeBSD GNOME Users , ports@freebsd.org In-Reply-To: <3DE4ED27.6070205@khera.org> References: <3DE4ED27.6070205@khera.org> Content-Type: multipart/mixed; boundary="=-Bgbe4BRtIutXeuyHdOya" Organization: MarcusCom, Inc. Message-Id: <1038413631.311.24.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 27 Nov 2002 11:13:51 -0500 X-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_01_02,TO_BE_REMOVED_REPLY version=2.43 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-Bgbe4BRtIutXeuyHdOya Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2002-11-27 at 11:04, Vivek Khera wrote: > The latest commit to mozilla-devel, 1.2b-2, has a start script that > breaks many existing apps. > > For example, the klipper application in KDE is configured to pass URLs > to mozilla via this command: > > mozilla -remote "openURL(%s, new-window)" > > as is the VM mail reader. I'm sure there are others that assume this > command line convention. > > The current mozilla-devel start script breaks when called with this > command line; it assumes that to open a URL, one just gives the URL > alone on the command line. > > Could you fix it so that if a -remote option is given, it just uses it? I have been testing a modified version, but I haven't heard feedback from my test user. If you want to test it, and let me know, I can try and get it in before 5.0-RELEASE. The new script is attached. Joe > > Thanks. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- PGP Key : http://www.marcuscom.com/pgp.asc --=-Bgbe4BRtIutXeuyHdOya Content-Disposition: attachment; filename=mozilla Content-Type: text/x-sh; name=mozilla; charset=ISO8859-1 Content-Transfer-Encoding: 7bit #!/bin/sh MOZILLA_DIR="/usr/X11R6/lib/mozilla" MOZILLA_EXEC="mozilla" LOCATION='new-tab' cd $MOZILLA_DIR || exit 1 case $1 in -mail) REMOTE_COMMAND="xfeDoCommand (openInbox)" ;; -*) exec ./$MOZILLA_EXEC "$@" ;; *) REMOTE_COMMAND="openURL($@, $LOCATION)" ;; esac # process found ./$MOZILLA_EXEC -remote "ping()" && ./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0 # no existing process exec ./$MOZILLA_EXEC "$@" --=-Bgbe4BRtIutXeuyHdOya-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message