Re: [Plplot-devel] Status of Tcl and friends

2013-12-03 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > * Examples 14 and 31 don't work. This is also an issue for > test_tk_standard_examples, see comment in bindings/tk/standard_examples.in so > there may be no easy solution. Anyhow, you should grey o

Re: [Plplot-devel] Status of Tcl and friends

2013-11-25 Thread Arjen Markus
Sent: Saturday, November 23, 2013 5:56 AM > To: Arjen Markus > Cc: PLplot development list > Subject: Re: [Plplot-devel] Status of Tcl and friends > > Hi Arjen: > > I got fed up attempting to source runallDemos.tcl by hand for the plserver > and wish > cases. I therefore

Re: [Plplot-devel] Status of Tcl and friends

2013-11-25 Thread Arjen Markus
of. Regards, Arjen > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Saturday, November 23, 2013 3:00 AM > To: Arjen Markus > Cc: PLplot development list > Subject: RE: [Plplot-devel] Status of Tcl and friends > > Hi Arjen: >

Re: [Plplot-devel] Status of Tcl and friends

2013-11-25 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > As far as I can tell there is only one immediate issue left for this device > which can be > demonstrated by running > > examples/c/x33c -dev ntk > > On Linux that vertical menu for 100 different pa

Re: [Plplot-devel] Status of Tcl and friends

2013-11-23 Thread Alan W. Irwin
On 2013-11-23 10:38-0800 Alan W. Irwin wrote: > [...]That idea (when PLPLOT_ITK_VERSION is set don't do the execute_process > and also set ITK_RC to 0) would work. In fact, it would actually be > slightly more efficient than running execute_process every time CMake > is re-run. But it is a little

Re: [Plplot-devel] Status of Tcl and friends

2013-11-23 Thread Alan W. Irwin
On 2013-11-23 12:11- Andrew Ross wrote: > On Friday 22 Nov 2013 14:26:31 Alan W. Irwin wrote: >> On 2013-11-22 12:40- Andrew Ross wrote: >>> Alan, >>> >>> I've been testing your changes as I go on my Ubuntu system. One thing >>> I noticed almost by accident is that your itk detection code

Re: [Plplot-devel] Status of Tcl and friends

2013-11-23 Thread Andrew Ross
On Friday 22 Nov 2013 14:26:31 Alan W. Irwin wrote: > On 2013-11-22 12:40- Andrew Ross wrote: > > Alan, > > > > I've been testing your changes as I go on my Ubuntu system. One thing > > I noticed almost by accident is that your itk detection code requires a > > working X11 display. This is not

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Alan W. Irwin
Hi Arjen: I got fed up attempting to source runallDemos.tcl by hand for the plserver and wish cases. I therefore (revision 12744) implemented test targets called test_plserver_runAllDemos and test_wish_runAllDemos to do this automatically. I previously asked you to do this yourself, but I don't

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Alan W. Irwin
Hi Arjen: Thanks very much for your recent pause changes for the plserver/tkdemos.tcl case. My tests show that plw::set_pause .plw 0 and plw::set_pause .plw 1 now give me complete control over pausing for the plserver/tkdemos.tcl case with no pausing commands required in tkdemos.tcl. However

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Alan W. Irwin
On 2013-11-22 12:40- Andrew Ross wrote: > > Alan, > > I've been testing your changes as I go on my Ubuntu system. One thing > I noticed almost by accident is that your itk detection code requires a > working X11 display. This is not actually required to build (although > it obviously is to use

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Alan W. Irwin
On 2013-11-22 11:26- Arjen Markus wrote: > Hi Alan, > Meanwhile I have the ntk device working on both Cygwin and bare Windows. > Which is > quite nice a result :). Indeed, and congratulations for that achievement! > > I still need to fiddle a bit with the CMake logic, as it seems to turn o

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Andrew Ross
Alan, I've been testing your changes as I go on my Ubuntu system. One thing I noticed almost by accident is that your itk detection code requires a working X11 display. This is not actually required to build (although it obviously is to use). I only noticed because I was building via a ssh connec

Re: [Plplot-devel] Status of Tcl and friends

2013-11-22 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Arjen Markus [mailto:arjen.mar...@deltares.nl] ... > > I think I know what is going on: > When I use the ntk device with a Tcl interpreter program like tclsh or pltcl, > this device > will still create a new Tcl interpreter which is completely indepen

Re: [Plplot-devel] Status of Tcl and friends

2013-11-21 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > * Tested the ntk device. No display (unlike ~5 years ago when this simple > device > worked with no issues). Probably some updating of the Tk calls is required > to get the > display working agai

Re: [Plplot-devel] Status of Tcl and friends

2013-11-21 Thread Arjen Markus
Hi Alan, > > -Original Message- > > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > > > * Tested the ntk device. No display (unlike ~5 years ago when this > > simple device worked with no issues). Probably some updating of the > > Tk calls is required to get the display workin

Re: [Plplot-devel] Status of Tcl and friends

2013-11-21 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Arjen Markus > > For the Tcl examples, the default toplevel window remains empty. But that may > be > due to not mapping the plot window correctly. Maybe that is what is happening > on > your system? > > I will dive further into this. > I think I kn

Re: [Plplot-devel] Status of Tcl and friends

2013-11-21 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Arjen Markus [mailto:arjen.mar...@deltares.nl] > I know one thing: > The < so that > the commands that plserver gets are not the intended commands: > .../plserver < ... > $plwin cmd plspause 0 > ... > EOF > > gets passed to plserver as "cmd plspause 0"

Re: [Plplot-devel] Status of Tcl and friends

2013-11-21 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Wednesday, November 20, 2013 9:19 AM > To: Arjen Markus > Cc: PLplot development list > Subject: Re: [Plplot-devel] Status of Tcl and friends > > Hi Arjen: > > O

Re: [Plplot-devel] Status of Tcl and friends

2013-11-20 Thread Alan W. Irwin
Hi Arjen: On 2013-11-15 19:08-0800 Alan W. Irwin wrote: > [...]Over the next few days, I plan to do the following: > > * Try once more to get the nopause option to work for the > test_tk_standard_examples case (since it works fine for the largely > equivalent test_wish_standard_examples case), N

Re: [Plplot-devel] Status of Tcl and friends

2013-11-19 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > I also see that bad default geometry (just a few pixels in width) on Linux > for the wish > case. (The default plserver geometry is fine.) > > To work around the issue of a bad default wish geometr

Re: [Plplot-devel] Status of Tcl and friends

2013-11-19 Thread Alan W. Irwin
On 2013-11-18 20:23- Arjen Markus wrote: >> -Original Message- >> From: Arjen Markus [mailto:arjen.mar...@deltares.nl] > > >> 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 L

Re: [Plplot-devel] Status of Tcl and friends

2013-11-18 Thread Arjen Markus
> -Original Message- > From: Arjen Markus [mailto:arjen.mar...@deltares.nl] > 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 s

Re: [Plplot-devel] Status of Tcl and friends

2013-11-18 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > > 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 sou

Re: [Plplot-devel] Status of Tcl and friends

2013-11-18 Thread Alan W. Irwin
Hi Arjen: On 2013-11-18 11:47- Arjen Markus wrote: > Hi Alan, > > I promised to tell more about my experiences with Tcl/Tk on Cygwin yesterday. > Here goes: > > 1. I can run the examples via wish, but not via plserver. I am currently > trying to figure >out why it does not work, but the

Re: [Plplot-devel] Status of Tcl and friends

2013-11-18 Thread Arjen Markus
Hi Alan, I promised to tell more about my experiences with Tcl/Tk on Cygwin yesterday. Here goes: 1. I can run the examples via wish, but not via plserver. I am currently trying to figure out why it does not work, but the symptom is that it brings up the default window within the X Wind

Re: [Plplot-devel] Status of Tcl and friends

2013-11-16 Thread Alan W. Irwin
On 2013-11-16 13:40-0800 Alan W. Irwin wrote: > Hi Arjen: > > I took a look at the segfault that was occurring at the end of running > the test_wish_standard_examples target. The segfault persisted even if > I eliminated running all examples, and finally I discovered that > the "plframe .plw" com

Re: [Plplot-devel] Status of Tcl and friends

2013-11-16 Thread Alan W. Irwin
Hi Arjen: I took a look at the segfault that was occurring at the end of running the test_wish_standard_examples target. The segfault persisted even if I eliminated running all examples, and finally I discovered that the "plframe .plw" command (part of tkdemos.tcl that is executed in the wish cas

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Alan W. Irwin
On 2013-11-15 13:45- Arjen Markus wrote: > Hi Alan, > > the full command-line is split up into pieces, where argv0 is the name of the > script that is being > run and argv the list of command-line arguments - so a trifle different than > the C convention. > The name of the executable is foun

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Arjen Markus
Hi Alan, the full command-line is split up into pieces, where argv0 is the name of the script that is being run and argv the list of command-line arguments - so a trifle different than the C convention. The name of the executable is found in [info nameofexecutable]. While that could be anything

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Alan W. Irwin
On 2013-11-14 07:17- Arjen Markus wrote: > I will have a look at the color issues and the hack in tkdemos. Hi Arjen: Before I sign off to get some delayed sleep, I have just had an idea about a replacement for that hack. If tkdemos.tcl has access to the wish and plserver command line, then

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Andrew Ross
On Friday 15 Nov 2013 01:35:04 Alan W. Irwin wrote: > Hi Arjen: > > This is a response to one of your older messages that I initially missed > in the mail mess I was dealing with. > > On 2013-11-14 07:17- Arjen Markus wrote: > > Hi Alan, > > > > yes, I have seen the various commit messsages.

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Alan W. Irwin
Hi Arjen: This is a response to one of your older messages that I initially missed in the mail mess I was dealing with. On 2013-11-14 07:17- Arjen Markus wrote: > Hi Alan, > > yes, I have seen the various commit messsages. Many thanks for this work! > > I will have a look at the color issues

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Alan W. Irwin
Hi Arjen (again): On 2013-11-15 00:24-0800 Alan W. Irwin wrote: > [...]I use the following cmake configuration: > > rm -rf /home/software/plplot_svn/HEAD/build_dir/* \ > /home/software/plplot_svn/installcmake > > cd /home/software/plplot_svn/HEAD/build_dir > > cmake -DCMAKE_INSTALL_PREFIX=/home/s

Re: [Plplot-devel] Status of Tcl and friends

2013-11-15 Thread Alan W. Irwin
Hi Arjen: On 2013-11-13 16:32-0800 Alan W. Irwin wrote: > The other issue I asked you to investigate still remains; the > incredible hack in tkdemos.tcl (and accompanying instructions in > examples/tk/README.tkdemos to make that incredible hack work) to > distinguish between the cases when tkdemo

Re: [Plplot-devel] Status of Tcl and friends

2013-11-14 Thread Alan W. Irwin
On 2013-11-14 12:18- Arjen Markus wrote: > Hi Alan, Maurice, > > running the Tk part of PLplot is a new experience for me, but it is running > now on > Windows/Cygwin. Drawing is rather slow and I had to adapt the pkgIndex.tcl > file for > the Cygwin platform, but it is working, including su

Re: [Plplot-devel] Status of Tcl and friends

2013-11-14 Thread Arjen Markus
7 AM > To: Alan W. Irwin; PLplot development list > Subject: Re: [Plplot-devel] Status of Tcl and friends > > Hi Alan, > > yes, I have seen the various commit messsages. Many thanks for this work! > > I will have a look at the color issues and the hack in tkdemos. > > Mea

Re: [Plplot-devel] Status of Tcl and friends

2013-11-13 Thread Arjen Markus
Hi Alan, yes, I have seen the various commit messsages. Many thanks for this work! I will have a look at the color issues and the hack in tkdemos. Meanwhile, I have been looking at the Pltk issue - mainly to see how I can reproduce it. So far, I have not succeeded with this. I can try in three

[Plplot-devel] Status of Tcl and friends

2013-11-13 Thread Alan W. Irwin
Hi Arjen: I have made a lot of progress in the last week or so fixing a fairly large number of PLplot issues for Tcl and friends (Tcl, Tk, Itcl, Itk, and Iwidgets). I will only list the ones I remember here, but there were many more. * There have been lots of improvements to the version consisten