Re: [Gambas-user] Accesing workspace's Tabs

2008-10-12 Thread Ron
Benoit Minisini wrote: > On samedi 11 octobre 2008, Jorge Carrión wrote: > >> How can I access to workspace' tabs? >> I've a form with a workspace that I fill with wrkspc.add(window) function. >> But the active tab is the last I've added and I want the first tab I've add >> as the active tab whe

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Doriano Blengino
Benoit Minisini ha scritto: > > OK, I think I have understoood. The behaviour is normal (except the 'bad file > descriptor' error message). > > Try that in a shell: > > $ cat | tr "a-z" "A-Z" > tr.out > > This is an equivalent of what you tried to do in your program. Some things > are > sent to

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Benoit Minisini wrote: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > Tell me what your tests say to you - this is very interesting because I > > did not try if that book was true or not. > > Strange behaviours. > > If I replace INPUT OUTPUT by READ WRITE, t

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Kari Laine wrote: > On Sun, Oct 12, 2008 at 4:31 PM, Benoit Minisini < > > [EMAIL PROTECTED]> wrote: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > > Tell me what your tests say to you - this is very interesting because I > > > did not try if that book was

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Kari Laine
On Sun, Oct 12, 2008 at 4:31 PM, Benoit Minisini < [EMAIL PROTECTED]> wrote: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > > > Tell me what your tests say to you - this is very interesting because I > > did not try if that book was true or not. > > > > Strange behaviours. > > If I rep

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Doriano Blengino wrote: > > Tell me what your tests say to you - this is very interesting because I > did not try if that book was true or not. > Strange behaviours. If I replace INPUT OUTPUT by READ WRITE, the process does not write to its standard output anymore.

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > May be I am wrong... but it seems to me that you are sometimes critic > when replying to me. I know, I am more critic than the average users on > this list, so we are paired... > Don't worry, I'm not "critic" at

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Doriano Blengino
Benoit Minisini ha scritto: May be I am wrong... but it seems to me that you are sometimes critic when replying to me. I know, I am more critic than the average users on this list, so we are paired... On dimanche 12 octobre 2008, Doriano Blengino wrote: Benoit Minisini ha scritto: On dimanch

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Kari Laine
> I attach the project, which uses "tr" as filter. > Run it, then click ToggleButton1; in the gambas console you will see what > the program sends to tr, and in the textarea you will see what tr replies > back to the program. > > Cheers. > > Thank You very much! Best Regards Kari Laine ---

[Gambas-user] Form_Close()

2008-10-12 Thread Ian Haywood
This is a simple question but I have struggled to find an answer in the docs. I am trying to run a procedure when the main application window is closed (via the window manager) Form_Close () doesn't work, are there any other procedure names to use? Thanks, Ian

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: > >> > >> If you look carefully at the docs about EXEC: > >> > >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Doriano Blengino
Benoit Minisini ha scritto: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: >> >> If you look carefully at the docs about EXEC: >> >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | >> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Nam

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Benoit Minisini
On dimanche 12 octobre 2008, Doriano Blengino wrote: > Kari Laine ha scritto: > > I got interested this writing process input thing. I can read process > > output without problem. Although it seems that reading of the stdout will > > start only when process ends. I made a little filter program in C

Re: [Gambas-user] Help with SHELL and EXEC

2008-10-12 Thread Doriano Blengino
Kari Laine ha scritto: I got interested this writing process input thing. I can read process output without problem. Although it seems that reading of the stdout will start only when process ends. I made a little filter program in C and a gambas project to try to use it but I can not get the wrr