Hi Alan,

> -----Original Message-----
> From: Arjen Markus [mailto:[email protected]]
> I know one thing:
> The <<EOF does not prevent the substitution of variables by the bash shell, 
> so that
> the commands that plserver gets are not the intended commands:
> .../plserver <<EOF
> ...
> $plwin cmd plspause 0
> ...
> EOF
>
> gets passed to plserver as "cmd plspause 0" - causing a runtime error as 
> there is no
> command "cmd".
>
> I have changed it to <<'EOF' to prevent the substitution by bash. That still 
> does not
> work, but at least the commands are passed correctly.
>

Well, that method was abandoned already - I was staring at the wrong code, but 
after
some more searching I found the real reason for the pausing: the plxframe 
widget used by plserver
waits for the user to press the enter key. I have adapted the code so that it 
is now possible
to influence that from the outside.

I will do some more testing and then submit my changes.

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

Reply via email to