delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/06/16:29:17

X-Spam-Check-By: sourceware.org
Message-ID: <2fc802c00602061329x56784831mb5ab16a12191b2e@mail.gmail.com>
Date: Mon, 6 Feb 2006 21:29:07 +0000
From: David Picton <djpicton AT gmail DOT com>
To: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Subject: Re: strange cygstart bug with current Cygwin versions
Cc: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.63.0602031614330.3425@access1.cims.nyu.edu>
MIME-Version: 1.0
References: <2fc802c00602031305p7574f255g5e67e44cd8b754e AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0602031614330 DOT 3425 AT access1 DOT cims DOT nyu DOT edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k16LTFKI022442

On 2/3/06, Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Fri, 3 Feb 2006, David Picton wrote:
>
> > I have encountered a strange bug when starting Microsoft Word when it is
> > started by the cygstart command, e.g. "cygstart Index.doc", with the
> > current version of the Cygwin dll.
> >
> > The symptoms are as follows:
> >
> > 1.  Word appears to start normally, and the file can be edited on screen.

[snip]

> > 3.  Attempting to save the file gets no response.  The only way to close
> > the window is to exit without saving!

[snip]

>
> Sounds like an instance of
> <http://cygwin.com/ml/cygwin/2005-05/msg00587.html>...  Does it work if
> you "cygstart cmd" and then start word from that cmd shell?  If you get
> the same symptoms, please run "set" in that cmd window and compare the
> output with the same in a cmd started via "Start->Run"...

I get the same symptoms, and now I can see what the problem is.  The 
CMD window shows that TEMP and TMP have retained Cygwin-style
pathnames:

TEMP=/cygdrive/c/DOCUME~1/dave/LOCALS~1/Temp
TMP=/cygdrive/c/DOCUME~1/dave/LOCALS~1/Temp

Word works OK if I set TMP to a proper Windows pathname e.g. D:\cygwin\tmp

>
> Do you get the same problem if you use "run winword.exe filename"?  Which
> version of Word are you trying to use?

No.  Everything worked normally when I did the following:

export PATH='/cygdrive/c/program files/microsoft office/office11':"$PATH"
run winword paper1.doc

The problem seems to be specific to commands started by cygstart (with
the current
Cygwin dll) but isn't specific to one version of Word - I've seen it
with both Word 2003
and Word 2000.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019