Hi Alan, > -----Original Message----- > From: Alan W. Irwin [mailto:[email protected]] > > To simplify that bug hunt (always a good thing to do), what happens when you > use > plserver in the build tree by hand, e.g., >
Actually, with the help of Jan Nijtmans and a closer look at the source code I solved the immediate problem with plserver: The thing is that Cygwin acts more UNIX-like than I thought, which means that a wish-like application like plserver can indeed take commands from the ordinary terminal/console. On Windows this is not the case and you open a special window via the "console show" command (*). So after removing "!defined(__CYGWIN__)" from the plserver.c file and rebuilding it is now working fine. Another thing I thought was going wrong was simply my mistake. The window has to be positioned before plserver can take any commands. So it is now happily running the runAllDemos.tcl program that brings up a window with a range of buttons to run the examples one by one. Running the standard examples via wish is a different matter though. I think there we are running into the problem of the Windows philosophy versus the Linux philosophy I alluded to above. Well, that should be solvable. > > Making PLplot work under wish was a contribution by Vince Darley back in 1992 > with > some help from me to do the testing on the Linux side. > But I could never get anyone else in the PLplot community to try it after we > were > done. So it is most gratifying that my further work in the last week or so > to get rid of > the bit rot for this case has resulted in you being able to get essentially > perfect results > with the method on Cygwin. And I would very much appreciate your expert > backup > in the Linux case to get rid of the last issues in that case as well. > Tcl/Tk has gone through quite some evolution since then. But I do appreciate Vince's work. > > > > 3. I need to adapt the pkgIndex.tcl file for Cygwin, I have not sorted out > > yet how > best > > to do that for the general case. > > > > Anyway, this is a summary of my experiences so far. Will be continued. > > Thanks very much for your Tcl/Tk testing efforts which continue to be a big > help. > Well, it is a whole new set of puzzles to solve :). I have used the Tcl part on Windows, but not Tk. With Cygwin that has become possible. Maybe it will be possible to port it to bare Windows as well. First though, an update of the plserver program. I think that will solve the segfault you have been seeing - look for the calls to Tcl_VarEval(). Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
