Thanks for spotting that Alan - I hadn't considered that people might edit the 
scripts with native Windows tools
I have made a bit more progress on getting the Tcl tests to run on my machine. 
In the end I got pltcl to run under Cygwin. Not sure what changed, but I 
managed to get a prompt.
There were a few things in the tcl script that I had to modify. Firstly in my 
environment the path wasn't preserved when a new instance of bash is opened, 
although the current directory is. So where new bash instances were created I 
had to cd to an appropriate location first.
However the biggest thing, that took me a while to work out was that my pltcl 
and all the examples, which are built in native Windows require native Windows 
paths, even when run from Cygwin - which makes perfect sense really, path 
interpretation is built into an exe and is nothing to do with the running 
environment.
So I'm not sure where to go here. I'm not sure at what point path 
interpretation is built in. I imagine it depends upon whether you have a 
Windows or Cygwin install of Tcl. I'm not sure what the best strategy is here 
to check what format paths are needed. Any suggestions? This could go all the 
way back to a CMAKE option for the initial build.
Phil 
  

     From: Alan W. Irwin <ir...@beluga.phys.uvic.ca>
 To: phil rosenberg <philip_rosenb...@yahoo.com> 
Cc: "plplot-devel@lists.sourceforge.net" <plplot-devel@lists.sourceforge.net>; 
Arjen Markus <arjen.mar...@deltares.nl> 
 Sent: Friday, 3 October 2014, 22:07
 Subject: Re: [Plplot-devel] Testing on Windows (line endings for bash scripts)
   
On 2014-10-03 12:35-0700 Alan W. Irwin wrote:

> So you should expect to see another commit from me along these lines
[i.e., use text=auto for most text files]
> (which will also check for and remove any line-endings issues that
> might have gotten into any of our text files since we adopted git.)

OK, I have made this change (commit 5ba6591).  You and Arjen should
carefully check this commit to make sure it doesn't clobber any binary
files by looking for any LF in the binary file and changing it to
something else.



Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


  
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to