delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/12:24:17

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
Date: Thu, 10 Jul 2003 17:22:55 +0100 (BST)
From: andrew brian clegg <a DOT clegg AT mail DOT cryst DOT bbk DOT ac DOT uk>
X-X-Sender: fcleg01 AT sark DOT cryst DOT bbk DOT ac DOT uk
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin apps talking to Windows browsers?
In-Reply-To: <200307101532.h6AFWxu24071@escapade.honig.net>
Message-ID: <Pine.LNX.4.44.0307101702190.6775-100000@sark.cryst.bbk.ac.uk>
MIME-Version: 1.0
X-MailScanner-Information: Please contact CCSG (http://www.cryst.bbk.ac.uk/CCSG/) more information
X-MailScanner-cryst-bbk: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-31, required 9,
BAYES_01, EMAIL_ATTRIBUTION, FROM_ENDS_IN_NUMS, IN_REP_TO,
QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES, USER_AGENT_PINE)


I'm no expert on how to do this in mh-e but speaking of the general case,
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).

Assuming mh-e has a configuration option that lets you give it a command
string to execute with a %s or whatever where the URL should be, one of
those approaches should do the trick.

As far as clicking on a URL in a remote app and having it display in a
local Windows browser goes... Pass. Anyone else?

Andrew.

On Thu, 10 Jul 2003, Jeffrey C Honig wrote:

> Date: Thu, 10 Jul 2003 11:32:59 -0400
> From: Jeffrey C Honig <jch AT honig DOT net>
> To: cygwin AT cygwin DOT com
> Subject: Cygwin apps talking to Windows browsers?
> 
> I use emacs under Cygwin (with Cygwin/XFree86 and/or Exceed) and would
> like to switch to using mh-e in this environment.
> 
> One thing that I would like to do is to be able to click on a URL and
> have my Windows browser (in this case Opera) be told to open the page.
> Is there an app to allow this?
> 
> How about an app that would allow this from emacs running on another
> host via X?
> 
> If there is no APP for this, is there an API for it?
> 
> Thanks.
> 
> Jeff
> 


--
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