delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/31/18:07:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <20050131230707.59008.qmail@web53003.mail.yahoo.com>
Date: Mon, 31 Jan 2005 15:07:07 -0800 (PST)
From: John Owens <john_owens AT yahoo DOT com>
Subject: problems with cygstart as .mailcap - how to use?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

(I asked this question in October and got no response
...
would be happy if anyone on this list could help me
out.)


Greetings, I am running "Wanderlust" (an emacs mailer)
under NT Emacs 21.3 on WinXP SP 1. WL uses the
emacs-mime package, and within that package I can
hit 'v' to launch an external application using 
mailcap settings.

This works fine on my Mac (OS X); in my mailcap there
I use /sw/bin/launch ("launch" from the fink 
distribution, which is based on BSD launch and 
launches the application assigned to the filetype).
cygstart is the analogue on Windows, so I'd like to
use it too. 

The problem is cyglaunch never actually launches 
anything. It works fine from the command line, but
I can't make it work via .mailcap. 

In my emacs *messages* buffer:

Wrote c:/temp/EMI33842sX/proposal2.pdf
External method is starting...

But nothing happens.

Now, if I then open up a tcsh window and run

cygstart c:/temp/EMI33842sX/proposal2.pdf

it launches Acrobat nicely. 

Any thoughts on how I could debug this problem?
It's cygstart 1.0 (latest cygwin), and I append
my mailcap below.

JDO

=========================

image/*; cygstart %s; copiousoutput;
audio/*; cygstart %s; copiousoutput;
video/*; cygstart %s; copiousoutput;
text/html; cygstart %s; copiousoutput;
# application/octet-stream; cygstart %s;
copiousoutput;
application/pdf; cygstart %s; copiousoutput;
application/msword; cygstart %s; copiousoutput;
application/msexcel; cygstart %s; copiousoutput;
application/vnd.ms-word; cygstart %s; copiousoutput;
application/vnd.ms-excel; cygstart %s; copiousoutput;
application/vnd.ms-powerpoint; cygstart %s;
copiousoutput;
application/octet-stream; cygstart %s; copiousoutput;
application/postscript; cygstart %s; copiousoutput;



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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