Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: <hauser@acm.org>
From: "Ralf Hauser" <ralfhauser@gmx.ch>
To: <cygwin@cygwin.com>
Subject: RE: Cygwin apps talking to Windows browsers? openmoz for file URLs
Date: Thu, 10 Jul 2003 22:40:07 +0200
Message-ID: <KJEOKFJJEDMIGBEEJCHCOEPFOHAA.ralfhauser@gmx.ch>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <Pine.LNX.4.44.0307101702190.6775-100000@sark.cryst.bbk.ac.uk>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

...
> there's no particular jiggery-pokery needed to get a Cygwin app to launch
> a URL in a Windows browser.
>
> e.g. try typing
>
> explorer "http://www.google.com/"
>
> from your bash prompt, or if you want your default Windows URL handler to
> handle it by magic, you can do
>
> cmd /c start "http://www.google.com"
>
> (the start trick works in Win2K and XP, not sure about DOS-style Windows).

have a look at http://ostermiller.org/openmoz/ - especially since that
script also handles file URLs

I did some minor changes and now it also should run under cygwin
--> https://p4u.ch/public/cygwin_usr_local_bin/openmoz.sh


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

