Re: System Scheme (was Re: GOOPS Terminal Class - RnRS POSIX support)

2015-06-25 Thread Ludovic Courtès
Marko Rauhamaa skribis: > Eli Zaretskii : > > From: Marko Rauhamaa >>> I'd like to produce Guile code that works on Linux. As it stands, I >>> can't. >> >> Of course you can: write it in C and load it via FFI. > > Well, for that, I don't even need Guile; all I need is gcc. > > It's a bit of

Re: System Scheme (was Re: GOOPS Terminal Class - RnRS POSIX support)

2015-06-24 Thread Marko Rauhamaa
Eli Zaretskii : From: Marko Rauhamaa >> I'd like to produce Guile code that works on Linux. As it stands, I >> can't. > > Of course you can: write it in C and load it via FFI. Well, for that, I don't even need Guile; all I need is gcc. It's a bit of a lame reason to have to escape out of S

Re: System Scheme (was Re: GOOPS Terminal Class - RnRS POSIX support)

2015-06-24 Thread Eli Zaretskii
>>> From: Marko Rauhamaa >>> Date: Tue, 23 Jun 2015 11:08:23 +0300 >>> Cc: guile-user@gnu.org >>> >>> Michael Tiedtke : POSIX isn't that important or useful anymore but "full access to POSIX system calls" it has never been. >>> What I'd like is a way to communicate open file descriptors

System Scheme (was Re: GOOPS Terminal Class - RnRS POSIX support)

2015-06-23 Thread Michael Tiedtke
On 23/06/2015 20:09, Marko Rauhamaa wrote: Eli Zaretskii : From: Marko Rauhamaa Date: Tue, 23 Jun 2015 11:08:23 +0300 Cc: guile-user@gnu.org Michael Tiedtke : POSIX isn't that important or useful anymore but "full access to POSIX system calls" it has never been. What I'd like is a way to

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Marko Rauhamaa
Eli Zaretskii : >> From: Marko Rauhamaa >> Date: Tue, 23 Jun 2015 11:08:23 +0300 >> Cc: guile-user@gnu.org >> >> Michael Tiedtke : >> > POSIX isn't that important or useful anymore but "full access to >> > POSIX system calls" it has never been. >> >> What I'd like is a way to communicate open f

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Eli Zaretskii
> From: Marko Rauhamaa > Date: Tue, 23 Jun 2015 11:08:23 +0300 > Cc: guile-user@gnu.org > > Michael Tiedtke : > > > POSIX isn't that important or useful anymore but "full access to POSIX > > system calls" it has never been. > > What I'd like is a way to communicate open file descriptors between

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Michael Tiedtke
On 23/06/2015 15:30, Mike Gran wrote: WOn Tuesday, June 23, 2015 1:04 AM, Michael Tiedtke wrote: Now, full access to "POSIX system calls" means more and less than that. When you want to have a look at my current terminal application driver you will see it's current shortcomings: missing a g

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Mike Gran
WOn Tuesday, June 23, 2015 1:04 AM, Michael Tiedtke wrote: > Now, full access to "POSIX system calls" means more and less than > that. When you want to have a look at my current terminal > application driver you will see it's current shortcomings: missing a > general (Linux specific) ioctl primi

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Marko Rauhamaa
Michael Tiedtke : > POSIX isn't that important or useful anymore but "full access to POSIX > system calls" it has never been. What I'd like is a way to communicate open file descriptors between processes. Marko

Re: GOOPS Terminal Class - RnRS POSIX support

2015-06-23 Thread Michael Tiedtke
From the manual: "Guile goes beyond the rather austere language presented in R5RS, extending it with a module system, full access to POSIX system calls ..." Now, full access to "POSIX system calls" means more and less than that. When you want to have a look at my current terminal application d

Re: GOOPS Terminal Class

2015-06-18 Thread Michael Tiedtke
On 18/06/2015 16:21, Michael Tiedtke wrote: ... For this I have written a preliminary GOOPS class terminal () which is attached for those interested having a look at. ... Just as a side note. You can try this: (with-output-to-file "sinui0.cat" (lambda () (load "terminal.scm"))) This will