Re: Build-in function drowing

2004-04-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> I do not see why setting SHELL to some bogus value does not work >>> as expected. > > Angus> Running 'exec false' from the terminal just closes the > Angus> terminal. Ie, the action is executed successfully... > > And? How comes i eventually excutes the ls? The 'e

Re: Build-in function drowing

2004-04-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> /* What does EXEC expand to. It's done only once, so Angus> let's assume it is 'exec'. */ Sorry, I forgot the following line: #define EXEC "exec " >> I do not see why setting SHELL to some bogus value does not work as >> ex

Re: Build-in function drowing

2004-04-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Does this not mean that you're using /bin/echo rather than > the Angus> echo built into bash? > > I should not. Here is what I believe to be the relevant code in > gnuplot 3.7.1 (in command.c): >

Re: Build-in function drowing

2004-04-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Does this not mean that you're using /bin/echo rather than the Angus> echo built into bash? I should not. Here is what I believe to be the relevant code in gnuplot 3.7.1 (in command.c): static void do_shell() { static char exe

Re: Build-in function drowing

2004-04-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > 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 tha

Re: Build-in function drowing

2004-04-19 Thread Jean-Marc Lasgouttes
> "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 substitut

Re: Build-in function drowing

2004-04-18 Thread Angus Leeming
On Sunday 18 April 2004 8:46 pm, Andre Poenitz wrote: > There's an explicit 'shell' command in gnuplot, too, and maybe > 'save' should be forbidden, too. > > I wonder whether the better solution would be to ask the gnuplot > people to provide a 'secure' mode. The splash screen says: > > Send comm

Re: Build-in function drowing

2004-04-18 Thread Andre Poenitz
On Sun, Apr 18, 2004 at 07:42:29PM +0100, Angus Leeming wrote: > On Sunday 18 April 2004 6:16 pm, Andre Poenitz wrote: > > On Sun, Apr 18, 2004 at 05:03:55PM +0100, Angus Leeming wrote: > > > > Gnuplot would be nice. > > > > > > But gnuplot allows the user to invoke the shell. It's not hard to > >

Re: Build-in function drowing

2004-04-18 Thread Angus Leeming
On Sunday 18 April 2004 6:16 pm, Andre Poenitz wrote: > On Sun, Apr 18, 2004 at 05:03:55PM +0100, Angus Leeming wrote: > > > Gnuplot would be nice. > > > > But gnuplot allows the user to invoke the shell. It's not hard to > > imagine a script containing the line '!rm -rf $HOME/*'. Does it > > have

Re: Build-in function drowing

2004-04-18 Thread Andre Poenitz
On Sun, Apr 18, 2004 at 05:03:55PM +0100, Angus Leeming wrote: > > Gnuplot would be nice. > > But gnuplot allows the user to invoke the shell. It's not hard to > imagine a script containing the line '!rm -rf $HOME/*'. Does it have > a '-safer' mode so that we can render malicious scripts safe? Do

Re: Build-in function drowing

2004-04-18 Thread Angus Leeming
Andre Poenitz wrote: >> We have this already, though well hidden )-: . Try >> insert->file->external material, and choose the XFig template. XFig >> is a drawing program. >> >> It is possible to add other drawing programs to "external >> material". Yes. See file ${PREFIX}/share/lyx/external_mater

Re: Build-in function drowing

2004-04-18 Thread Andre Poenitz
On Fri, Apr 16, 2004 at 08:56:43AM +0300, Martin Vermeer wrote: > On Fri, Apr 16, 2004 at 02:29:14AM +0300, [EMAIL PROTECTED] spake thusly: > > > > To whom it may consern, > > > > I thought i would be nice if Lyx would have a link to a program witch abell to > > drow function, so you wouldnt need

Re: Build-in function drowing

2004-04-15 Thread Martin Vermeer
On Fri, Apr 16, 2004 at 02:29:14AM +0300, [EMAIL PROTECTED] spake thusly: > > To whom it may consern, > > I thought i would be nice if Lyx would have a link to a program witch abell to > drow function, so you wouldnt need to creat the function and export it to eps > or othere format and import it

Build-in function drowing

2004-04-15 Thread shannans
To whom it may consern, I thought i would be nice if Lyx would have a link to a program witch abell to drow function, so you wouldnt need to creat the function and export it to eps or othere format and import it. Hannan