From: <ai...@us...> - 2010-06-16 18:04:33
|
Revision: 11076 http://plplot.svn.sourceforge.net/plplot/?rev=11076&view=rev Author: airwin Date: 2010-06-16 18:04:26 +0000 (Wed, 16 Jun 2010) Log Message: ----------- Turn examples/tcl/standard_examples(.in) into a properly configured shell script with the correct properties. Modified Paths: -------------- trunk/examples/tcl/standard_examples.in Property Changed: ---------------- trunk/examples/tcl/standard_examples.in Modified: trunk/examples/tcl/standard_examples.in =================================================================== --- trunk/examples/tcl/standard_examples.in 2010-06-16 18:01:15 UTC (rev 11075) +++ trunk/examples/tcl/standard_examples.in 2010-06-16 18:04:26 UTC (rev 11076) @@ -1,39 +1,40 @@ -# Examples 14 and 31 left out - see Tk standard_examples.in -# -# Problem in x22: crash - but not if run standalone -# Interference from x21? According to the messages I need to call plinit again -# Yes, leaving out x21 makes x22 behave correctly -# -# -source tcldemos.tcl -plinit -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -15 -16 -17 -18 -19 -20 -#21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -exit +#!@SH_EXECUTABLE@ +# Examples 14 and 31 left out - see Tk standard_examples.in +# +# Problem in x22: crash - but not if run standalone +# Interference from x21? According to the messages I need to call plinit again +# Yes, leaving out x21 makes x22 behave correctly +# +@pltcl_LOCATION@ $* <<EOF +source tcldemos.tcl +plinit +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +15 +16 +17 +18 +19 +20 +22 +23 +24 +25 +26 +27 +28 +29 +30 +exit +EOF Property changes on: trunk/examples/tcl/standard_examples.in ___________________________________________________________________ Added: svn:executable + * Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ai...@us...> - 2010-06-16 20:42:04
|
Revision: 11078 http://plplot.svn.sourceforge.net/plplot/?rev=11078&view=rev Author: airwin Date: 2010-06-16 20:41:58 +0000 (Wed, 16 Jun 2010) Log Message: ----------- On Linux with -dev xwin example 21 appears to have no effect on example 22 so reinstate example 21. The -np option for tcl/standard_examples(.in) in test_tcl_standard_examples calls plspause 0 to reduce keystrokes for those trying that target. However, example 20 necessarily calls plspause 1 which overrides the -np option. Therefore, force plspause 0 after example 20 to reduce keystrokes for all further examples. Modified Paths: -------------- trunk/examples/tcl/standard_examples.in Modified: trunk/examples/tcl/standard_examples.in =================================================================== --- trunk/examples/tcl/standard_examples.in 2010-06-16 18:07:09 UTC (rev 11077) +++ trunk/examples/tcl/standard_examples.in 2010-06-16 20:41:58 UTC (rev 11078) @@ -1,10 +1,6 @@ #!@SH_EXECUTABLE@ # Examples 14 and 31 left out - see Tk standard_examples.in # -# Problem in x22: crash - but not if run standalone -# Interference from x21? According to the messages I need to call plinit again -# Yes, leaving out x21 makes x22 behave correctly -# @pltcl_LOCATION@ $* <<EOF source tcldemos.tcl plinit @@ -27,6 +23,8 @@ 18 19 20 +plspause 0 +21 22 23 24 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ai...@us...> - 2013-11-18 21:57:41
|
Revision: 12716 http://sourceforge.net/p/plplot/code/12716 Author: airwin Date: 2013-11-18 21:57:39 +0000 (Mon, 18 Nov 2013) Log Message: ----------- Move to recommended "exec" method for running this script. Modified Paths: -------------- trunk/examples/tcl/standard_examples.in Modified: trunk/examples/tcl/standard_examples.in =================================================================== --- trunk/examples/tcl/standard_examples.in 2013-11-18 21:56:40 UTC (rev 12715) +++ trunk/examples/tcl/standard_examples.in 2013-11-18 21:57:39 UTC (rev 12716) @@ -1,10 +1,9 @@ #!@SH_EXECUTABLE@ # Examples 14 and 31 left out - see Tk standard_examples.in -# Note the backslash at the end - this causes Tcl to ignore -# the next line. It becomes a valid Tcl script as well as -# valid shell script -# \ -@pltcl_LOCATION@ $* <<EOF +# Note the backslash at the end of the comments - this causes Tcl to +# ignore the next line. It becomes a valid Tcl script as well as valid +# shell script \ +exec @pltcl_LOCATION@ "$0" "$@" source tcldemos.tcl plinit 0 @@ -40,4 +39,3 @@ 30 33 exit -EOF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |