>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On Sunday 18 April 2004 6:16 pm, Andre Poenitz wrote:
>> I had a quick look at the gnuplot help system and did not find
>> anything suitable.

Angus> What we could do is write a gnuplot_wrapper.sh script that
Angus> simply substitutes all calls to the shell with a comment. Or
Angus> gnuplot_wrapper.py script if we're worried about our Win32
Angus> users. Something as simple as (below) should do the trick,
Angus> don't you think?

I think you are trying to be too sophisticated here (and this is
always asking for trouble). The "help environment" pages of gnuplot
suggests that the shell functionality honors the SHELL environment
variable (and indeed the code in command.c seems to do just that).

However I did not manage to make this work... 

fantomas: SHELL=false gnuplot

        G N U P L O T
        Unix version 3.7
        patchlevel 1
        last modified Fri Oct 22 18:00:00 BST 1999

        Copyright(C) 1986 - 1993, 1998, 1999
        Thomas Williams, Colin Kelley and many others

        Type `help` to access the on-line reference manual
        The gnuplot FAQ is available from
        <http://www.ucc.ie/gnuplot/gnuplot-faq.html>

        Send comments and requests for help to <[EMAIL PROTECTED]>
        Send bugs, suggestions and mods to <[EMAIL PROTECTED]>


Terminal type set to 'x11'
gnuplot> !echo hello
hello
!

JMarc

Reply via email to