delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/16:39:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <hauser AT acm DOT org>
From: "Ralf Hauser" <ralfhauser AT gmx DOT ch>
To: <cygwin AT cygwin DOT 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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019