This is the mail archive of the
mailing list for the Cygwin project.
Re: cygstart, mutt or mailcap?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Michael Schaap <cygwin at mscha dot org>
- Cc: cygwin at cygwin dot com, Ajay Simha <asimha at cisco dot com>
- Date: Sun, 23 Feb 2003 14:42:42 -0500 (EST)
- Subject: Re: cygstart, mutt or mailcap?
- Reply-to: cygwin at cygwin dot com
On Sun, 23 Feb 2003, Michael Schaap wrote:
> On 23-Feb-2003 19:07, Igor Pechtchanski wrote:
> >>I tried everything now it may have something to do with starting it
> >>directly from a view command within mutt. If I save it and then start
> >>it either through windows or cygstart command it does not have any
> Wild guess:
> 1. Mutt saves the file to /tmp/something.doc
> 2. Mutt runs "cygstart /tmp/something.doc"
> 3. Cygstart starts Word (if necessary) and tells it to load the doc,
> and exits immediately.
> 4. Since Cygstart has exited, Mutt deletes /tmp/something.doc
> 5. Word is still loading the file and gets in trouble
> > Just had a wild idea: try setting your .doc rule in your .mailcap as follows:
> > Application/MSWORD; cp %s /tmp/blah.doc && cygstart /tmp/blah.doc; copiousoutput;
> > It should set the permissions and ownership of /tmp/blah.doc to your
> > current user... Don't know if it'll help...
> If my theory, correction, wild guess is correct, then this might indeed
> ? Michael
D'oh, this makes much more sense than my WAGs...
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html