delorie.com/archives/browse.cgi | search |
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-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Andrew Markebo <andrew DOT markebo AT telia DOT com> |
Subject: | Re: cygstart, mutt or mailcap? |
Date: | Sun, 23 Feb 2003 21:45:46 +0100 |
Lines: | 30 |
Message-ID: | <m3wujqybd1.fsf@telia.com> |
References: | <3E591A44 DOT 2000603 AT mscha DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0302231440520 DOT 16682-100000 AT slinky DOT cs DOT nyu DOT edu> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 |
Cancel-Lock: | sha1:aXQ4Z+5JkJ+INGD/4E8O+IdNtYQ= |
|> 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 Wild guess 2 (sorry if I have missed this thought before) /tmp/something.doc gets sent to cygstart... points to c:\cygwin\tmp\something.doc, who opens word with "/tmp/something.doc", who looks for c:\tmp\something.doc? Saw a suggestion doing Application/MSWORD; cp %s /tmp/blah.doc && cygstart /tmp/blah.doc; copiousoutput; if they go this way, it (blah.doc) will probably not be deleted by Mutt, who only knows of %s? What happens if you do Application/MSWORD; cp %s c:/cygwin/tmp/blah.doc && cygstart c:/cygwin/tmp/blah.doc; (removed the copiousoutput word, what does that mean?) /Andy -- The eye of the beholder rests on the beauty! -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |