Date: Thu, 4 May 2000 20:27:29 +0400 (MSD) From: "Aleksandr A.Babaylov" <babolo@links.ru> To: knu@idaemons.org (Akinori -Aki- MUSHA) Cc: sada@FreeBSD.ORG, obrien@FreeBSD.ORG, tom@eborcom.com, girgen@partitur.se, cjh@kr.freebsd.org, freebsd-ports@FreeBSD.ORG Subject: Re: Introducing a netscape wrapper Message-ID: <200005041627.UAA07604@aaz.links.ru> In-Reply-To: <86bt2nv26q.wl@localhost.local.idaemons.org> from "Akinori -Aki- MUSHA" at "May 4, 0 04:55:25 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Akinori -Aki- MUSHA writes: > Hi, netscape ports' maintainers. > > I had ported a netscape wrapper from RedHat Linux and been pondering > how to introduce it with minimum changes over a bunch of netscape > ports, then I came up with an idea. We could do it by the following > steps. > > 1) Make all netscape ports install ${PREFIX}/bin/netscape.run instead > of ${PREFIX}/bin/netscape. > > 2) Import a new port called www/netscape-wrapper that installs > ${PREFIX}/bin/netscape that invokes ${PREFIX}/bin/netscape.run on > demand. > > What the wrapper exactly does would be described as this: First, > the wrapper checks whether the lock file (~/.netscape/lock) > exists, and when it actually does, it searches for the currently > running netscape process and asks that to open a new window to > show a page with the supplied URL. When no instance is running, > it runs a new netscape with the URL. The wrapper is also capable > of killing a stale lock file and/or zombie instances. > > Thus applications could show HTML help windows, web sites and > any resources they want just by executing "netscape foo.bar", > without the Netscape-has-detected-a-lock-file-blah-blah-blah > warnings. > > Plus, some neat shortcuts to such as opening a Messenger window > are supported. Look into the port for further details. > > 3) Make all netscape ports depend on www/netscape-wrapper. 3 is the Bad Thing IMHO look at ports/www/netscape-remote > The patch that does 1) and 3) is attached at the bottom of this mail, > and the concrete work of 2) is available on the site below: > > http://people.freebsd.org/~knu/ports/www/netscape-wrapper/ > http://people.freebsd.org/~knu/ports/www/netscape-wrapper.tar.gz > > > I'd note I didn't touch the www/netscape4-communicator.us port because > it installs ${PREFIX}/bin/netscape.us, not ${PREFIX}/bin/netscape. As far as I remember (I do not use ports for netscape because I need 9 Netscapes in onre system) ${PREFIX}/bin/netscape is symlink only to shell script with name-version. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005041627.UAA07604>