Re: [Ecls-list] Making an external signal handler play nice with embedded ECL

2011-02-27 Thread Nils Bruin
On Sat, 26 Feb 2011, Juan Jose Garcia-Ripoll wrote: > In the window from the signal handler swap until ECL is booted, ECL will > simply discard all signals, because the signal queue is not installed and > ECL is not marked as booted. Or do you perform the swap every time that ECL > code is execute

Re: [Ecls-list] Documentation missing

2011-02-27 Thread Daniel Herring
On Wed, 23 Feb 2011, Juan Jose Garcia-Ripoll wrote: > Then what you are asking for is a summary of the CLHS text. Right now, not > really a priority for me, but definitely something where non developers may > contribute (see src/doc/help.lsp :-) The CLQR may be useful here. http://clqr.berlios.

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 11:16 PM, Juan Jose Garcia-Ripoll < juanjose.garciarip...@googlemail.com> wrote: > Can you try the patch below? Seems this change did not get committed -- I > am surprised, though, why things seemed to work suddenly here. > Forget it, there seems to be some kind of race co

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
Can you try the patch below? Seems this change did not get committed -- I am surprised, though, why things seemed to work suddenly here. Juanjo diff --git a/src/c/main.d b/src/c/main.d index 6d0df25..e56d29d 100644 --- a/src/c/main.d +++ b/src/c/main.d @@ -72,7 +72,7 @@ static cl_fixnum option_va

[Ecls-list] Slight disruptive change planned

2011-02-27 Thread Juan Jose Garcia-Ripoll
1* Make EXT an independent package, imported from SYS and reexported by this one. 2* Ensure that EXT only contains blessed functions, variables and types 3* Rename the associated C functions so that they get the ext_ prefix instead of si_ 4* Eliminate "reexports" from SYS (optional) The reason for

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 10:34 PM, Rupert Swarbrick wrote: > Juan Jose Garcia-Ripoll > writes: > > On Sun, Feb 27, 2011 at 8:59 PM, Rupert Swarbrick >wrote: > > > >> > >> Hmm, I'm not sure it does actually :-( I've just compiled the latest > >> code from git (0df960178922fb0dba752356e59d6194975f3

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Rupert Swarbrick
Juan Jose Garcia-Ripoll writes: > On Sun, Feb 27, 2011 at 8:59 PM, Rupert Swarbrick wrote: > >> >> Hmm, I'm not sure it does actually :-( I've just compiled the latest >> code from git (0df960178922fb0dba752356e59d6194975f333e) and with the >> following definition: >> > > This is not the latest. L

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 8:59 PM, Rupert Swarbrick wrote: > > Hmm, I'm not sure it does actually :-( I've just compiled the latest > code from git (0df960178922fb0dba752356e59d6194975f333e) and with the > following definition: > This is not the latest. Last two patches are shown below. It may take

Re: [Ecls-list] ecl, fricas and cygwin

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 9:20 PM, Martin Rubey < martin.ru...@math.uni-hannover.de> wrote: > I checked, the permissions of cmp.fas look ok :-( > So it seems that cygwin keeps recording permissions internally but the POSIX flag S_Iwhatever is not defined :-/ Juanjo -- Instituto de Física Fundame

Re: [Ecls-list] ecl, fricas and cygwin

2011-02-27 Thread Martin Rubey
Hi Juan, Juan Jose Garcia-Ripoll writes: > On Wed, Feb 23, 2011 at 12:28 PM, Martin Rubey > wrote: > > gcc -DECLDIR="\"/usr/local/lib/ecl-11.1.1\"" -I. > -I/cygdrive/d/ecl-11.1.1/build > -I/cygdrive/d/ecl-11.1.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY     > -g -O2 > -Dcygwin -

Re: [Ecls-list] porting to android using NDK

2011-02-27 Thread Sylvain Ageneau
Hello, I've uploaded the android patches to https://github.com/ageneau/ecl-android They're against latest ECL + cvs boehm. I'm now trying to run slime, I'll update the repo when done. Sylvain On Sun, 2011-02-20 at 22:03 +, Juan Jose Garcia-Ripoll wrote: > On Sun, Feb 20, 2011 at 6:41 PM,

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Rupert Swarbrick
Juan Jose Garcia-Ripoll writes: > On Sun, Feb 27, 2011 at 5:04 PM, Juan Jose Garcia-Ripoll < > juanjose.garciarip...@googlemail.com> wrote: > >> Actually it should have worked, but for some reason it does not. I have >> tried various things and as a last resort I had to introduce a signal >> handl

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Rupert Swarbrick
Juan Jose Garcia-Ripoll writes: > On Sun, Feb 27, 2011 at 5:04 PM, Juan Jose Garcia-Ripoll < > juanjose.garciarip...@googlemail.com> wrote: > >> Actually it should have worked, but for some reason it does not. I have >> tried various things and as a last resort I had to introduce a signal >> handl

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 3:43 PM, Michael Wood wrote: > On 27 February 2011 14:52, Rupert Swarbrick wrote: > > Michael Wood writes: > >> 2011/2/27 Rupert Swarbrick : > >>> How should I make sure that the process finishes too? (I don't mind if > >>> I have to wait for it: this doesn't need to run

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Sun, Feb 27, 2011 at 5:04 PM, Juan Jose Garcia-Ripoll < juanjose.garciarip...@googlemail.com> wrote: > Actually it should have worked, but for some reason it does not. I have > tried various things and as a last resort I had to introduce a signal > handler for SIGCHLD that updates a new list of

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Michael Wood
On 27 February 2011 14:52, Rupert Swarbrick wrote: > Michael Wood writes: >> 2011/2/27 Rupert Swarbrick : >>> How should I make sure that the process finishes too? (I don't mind if >>> I have to wait for it: this doesn't need to run in parallel) >> >> Just a guess, but try changing ":wait nil" to

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Michael Wood
On 27 February 2011 15:07, Juan Jose Garcia-Ripoll wrote: > Sorry, but I can not read this email. Parts of it seem to be missing. > Juanjo The code was attached as 4 separate files. I agree it made it difficult to follow what was going on. Rupert, perhaps just include the code inline? -- Mich

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Juan Jose Garcia-Ripoll
Sorry, but I can not read this email. Parts of it seem to be missing. Juanjo 2011/2/27 Rupert Swarbrick > Hi there, > > I'm busy trying to port some website code to work with ECL as well as > SBCL. To do so, I'm trying to write a function that will create a > process with a given string as stan

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Rupert Swarbrick
Michael Wood writes: > 2011/2/27 Rupert Swarbrick : >> How should I make sure that the process finishes too? (I don't mind if >> I have to wait for it: this doesn't need to run in parallel) > > Just a guess, but try changing ":wait nil" to ":wait t"? Surely that won't work? Won't that block and t

Re: [Ecls-list] RUN-PROCESS with input from string.

2011-02-27 Thread Michael Wood
2011/2/27 Rupert Swarbrick : > Hi there, > > I'm busy trying to port some website code to work with ECL as well as > SBCL. To do so, I'm trying to write a function that will create a > process with a given string as standard input. On sbcl, I'd do the > following: > > > > and that works fine: the p

Re: [Ecls-list] ecl, fricas and cygwin

2011-02-27 Thread Juan Jose Garcia-Ripoll
On Wed, Feb 23, 2011 at 12:28 PM, Martin Rubey < martin.ru...@math.uni-hannover.de> wrote: > gcc -DECLDIR="\"/usr/local/lib/ecl-11.1.1\"" -I. > -I/cygdrive/d/ecl-11.1.1/build > -I/cygdrive/d/ecl-11.1.1/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY-g > -O2 > -Dcygwin -c -o ffi/libraries.o tmp.c >