This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems with cygstart as .mailcap - how to use?


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!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]