On 2013-11-15 13:45-0000 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 found in [info nameofexecutable]. While that 
> could be anything,
> within PLplot we can be reasonably sure it is "plserver" or something else.
>
> Yes, that might be the way to implement the distinction. I will definitely 
> keep this in mind!

Thanks for being willing to look at this, but with that hint from you
that I was on the right track, I have now (revision 12704) solved this
issue completely following what web Tcl tutorials and also the string
man page say about using the string command to figure out whether
"plserver" or "wish" are in $argv0.  So that horrible hack is now gone
as well as all the scattered bits and pieces that helped to support
that hack.

At the same time, the test_wish_standard_examples target is suddenly
displaying properly.  I am not exactly sure what solved that, but I
did fix one dependency on xwin today so that might have been the
issue. I have no clue why there is a dependency on xwin since the
display of all the plots is via wish.  But for a fresh build of just
the test_wish_standard_examples target to test its dependencies were
done correctly there was a complaint from the PLplot core that xwin
could not be loaded (because at the time xwin had not been built since
it wasn't an official dependency).  Adding xwin as a dependency for
that target fixed that complaint, and may have affected the display
issue in a positive way.

The result is both

make -j4 test_wish_standard_examples

and

make test_wish_standard_examples

(both commands starting from a fresh configuration) now build
everything they need and then render all plots except the few that
have been commented out (see examples/tk/wish_standard_examples.in for
details) until a segfault (also recently discussed on plplot-general)
occurs _after_ example 33 has finished.

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),

* Test the installed examples case and fix it if necessary.

* Take a look at the segfault noted above.

* Try installing Tcl8.6 without private headers to see whether PLplot
can build against that.

* Deal with a few other non-Tcl PLplot issues such as the f77 expunge.

That activity should still leave plenty for you to do whenever you
have time to work on PLplot.  Here is the complete list (as far as I
know) of issues that I am leaving for you to look at.  (For details
look at my e-mail for the last week or so, but I think everything
else mentioned in those e-mails is now taken care of.)

* Implement a test of runAllDemos.tcl as well as making that GUI a lot
more relevant, i.e., including all our possible standard examples from
0 to 33 with the non-working (2, 24, etc.,) and the non-existent ones
(32) dealt with in some manner (greyed out or return an appropriate
text string).

* Figure out the color issues for examples 2 and 24.

* Figure out the three issues for version 4 of Itcl and friends that I
discussed previously.

* Do "make test_interactive" on the Cygwin and Linux platforms you
have access to, and report/deal with any issues those tests show.

This last issue is probably the most immediately important since you
are our ownly active developer with access to Cygwin, and you may be
our only active developer with access to non-Debian forms of Linux.

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
__________________________

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to