delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/20/17:07:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <200004202209.SAA29269@kahn.localnet.com>
From: "Tom Weichmann" <tomcw AT localnet DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 20 Apr 2000 18:09:40 -0700
MIME-Version: 1.0
Subject: Re: gnuplot won't work with new net release
Reply-to: tomcw AT localnet DOT com
In-reply-to: <20000420142400.P1059@cygnus.com>
References: <200004200651 DOT CAA14943 AT kahn DOT localnet DOT com>; from tomcw AT localnet DOT com on Thu, Apr 20, 2000 at 02:51:56AM -0700
X-mailer: Pegasus Mail for Win32 (v3.12b)

> On Thu, Apr 20, 2000 at 02:51:56AM -0700, Tom Weichmann wrote:
> >> On Wed, Apr 19, 2000 at 11:04:42PM -0700, Tom Weichmann wrote:
> >> >	I am running octave 2.0.13 on the cygwin platform.  Octave 
> >> >saves its plot data to a temp file, then points gnuplot to that
> >> >file in order to plot it.  The problem is that gnuplot only
> >> >understands directories in the c:/tmp form and octave understands
> >> >//c/tmp.  In B20.1 I set an environment variable TMPDIR to c:/tmp,
> >> >and both programs liked it.  The new net release translates this
> >> >environment variable to /cygdrive/c/tmp/, and gnuplot can not
> >> >understand it.  Is there any way to keep cygwin from making this
> >> >translation?  Any other ideas?
> >> 
> >> TMPDIR is being translated so that UNIXy things which rely on it,
> >> like configure will work correctly.
> >> 
> >> What happens if you just don't set the environment variable at all?
> >> Does that work any better?
> >> 
> >> cgf
> >
> >	By not setting the TMPDIR variable gnuplot tries to look in /tmp for
> >the data files it uses, but of course gnuplot can't understand /tmp
> >so it can not find the file it is looking for.
> 
> /tmp is a valid Windows directory.  It refers the tmp directory on the
> root of the current drive.
> 
> cgf
> 

I am not sure what you mean.  I opened up a dos prompt and tried 
cd /tmp and received an invalid switch error.  If I cd %tmp% it takes 
me to C:\windows\temp, but that does not work in cygnus.  I guess 
that the only fix to this is to port gnuplot to the cygwin platform, 
instead of tring to get cygwin to communicate with the win32 port.  
I heard once that Mumit Kahn had some kind of patch for gnuplot, 
but I'm not sure exactly what it was.  I was hoping that there was 
some kind of work around for this, but I can not think of anything.  
Is there any way to set the CYGWIN env variable to prevent this 
translation of file names?

Thanks,

Tom Weichmann

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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