Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <3E591A44.2000603@mscha.org> Date: Sun, 23 Feb 2003 20:00:20 +0100 From: Michael Schaap User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Ajay Simha Subject: Re: cygstart, mutt or mailcap? References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed X-Virus-Scanned: at mscha.org by amavisd-milter (http://amavis.org/) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1NJ13C12575 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 -- 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/