delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/23/14:42:55

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 23 Feb 2003 14:42:42 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Michael Schaap <cygwin AT mscha DOT org>
cc: cygwin AT cygwin DOT com, Ajay Simha <asimha AT cisco DOT com>
Subject: Re: cygstart, mutt or mailcap?
In-Reply-To: <3E591A44.2000603@mscha.org>
Message-ID: <Pine.GSO.4.44.0302231440520.16682-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1NJgsA24469

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
> >>corruption.
>
> 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
> help.
>   – Michael

D'oh, this makes much more sense than my WAGs...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		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!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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