Re: [Chicken-users] csi scripts

2007-01-12 Thread felix winkelmann
On 11 Jan 2007 14:41:22 -0200, Mario Domenech Goulart [EMAIL PROTECTED] wrote: Hello, At http://chicken.wiki.br/writing%20portable%20scripts we have a section called Writing portable scripts with env whose instructions doesn't seem to be very portable. At least it doesn't work on my system:

Re: Re : [Chicken-users] various questions

2007-01-12 Thread felix winkelmann
On 1/11/07, minh thu [EMAIL PROTECTED] wrote: Could you elaborate on this? Do you want to let the user specify the actual record type, or it's contents? The record type. Say mailbox use a list-based queue implementation (so 'mailbox' in the following sentences is a hypothetical one). Could I

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-12 Thread felix winkelmann
On 1/11/07, Stephen C. Gilardi [EMAIL PROTECTED] wrote: It would be nice if options like that that I'll nearly always want to specify could be provided via an environment variable rather than always typed. Feature request: - chicken automatically includes options specified in the

Re: Re : [Chicken-users] various questions

2007-01-12 Thread minh thu
2007/1/12, felix winkelmann [EMAIL PROTECTED]: On 1/11/07, minh thu [EMAIL PROTECTED] wrote: Could you elaborate on this? Do you want to let the user specify the actual record type, or it's contents? The record type. Say mailbox use a list-based queue implementation (so 'mailbox' in the

Re: [Chicken-users] RedHat and Debian packages

2007-01-12 Thread Peter Busser
On Thu, Jan 11, 2007 at 12:56:56PM +0200, Harri Haataja wrote: In some cases you can make repositories outside the vendor's and add them to something like apt. If they're in sync to the right versions it might even work. The Adamantix project tries to do its best to create quality packages.

[Chicken-users] writing from a thread issue

2007-01-12 Thread minh thu
Hi, I made a script of my session to exhibit the problem: No output is given by the thread but the blank lines. Thanks for any help, thu Follows the output of my session (in a console in linux). $ cat weird.scm ;;; weird.scm ;; ;; 12.01.2007 ;; ;; Exhibits non-writing from a thread. ;;

Re: [Chicken-users] writing from a thread issue

2007-01-12 Thread felix winkelmann
On 1/12/07, minh thu [EMAIL PROTECTED] wrote: (define (poll-for-event) (define (poll) ((write in poll-for-event) ; not shown That line above has a ( to much. The arguments become evaluated, but before the write is executed, the call to poll is. The write is in operator position and might be

Re : [Chicken-users] writing from a thread issue

2007-01-12 Thread minh thu
2007/1/12, felix winkelmann [EMAIL PROTECTED]: On 1/12/07, minh thu [EMAIL PROTECTED] wrote: (define (poll-for-event) (define (poll) ((write in poll-for-event) ; not shown That line above has a ( to much. The arguments become evaluated, but before the write is executed, the call to poll

Re : Re : [Chicken-users] various questions

2007-01-12 Thread minh thu
2007/1/12, Kon Lovett [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jan 12, 2007, at 12:31 AM, felix winkelmann wrote: On 1/11/07, minh thu [EMAIL PROTECTED] wrote: Could you elaborate on this? Do you want to let the user specify the actual record type, or it's

[Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread minh thu
Hi, Question again, my apologies ;) Is it possible to have a thread sleep some milliseconds ? I want to have a thread poll xlib for some events but not in tight loop neither only every second (thus something in between). I guess also than thread-yield! gives cpu to other threads but still

Re: [Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread Kon Lovett
On Jan 12, 2007, at 1:36 PM, minh thu wrote: Hi, Question again, my apologies ;) Is it possible to have a thread sleep some milliseconds ? thread-sleep! (the seconds do not need to be a whole number) I want to have a thread poll xlib for some events but not in tight loop neither only

Re : [Chicken-users] thread-sleep! for less than a second

2007-01-12 Thread minh thu
2007/1/12, Kon Lovett [EMAIL PROTECTED]: On Jan 12, 2007, at 1:36 PM, minh thu wrote: Hi, Question again, my apologies ;) Is it possible to have a thread sleep some milliseconds ? thread-sleep! (the seconds do not need to be a whole number) Tks, I didn't see it in the chicken doc or

[Chicken-users] [Ann] Next meeting of the MSLUG

2007-01-12 Thread Dominique Boucher
The next meeting of the Montreal Scheme/Lisp User Group will be on January 17, 2007. Talk: Adventures in Open Source Erlang, by Yariv Sadan. When my blog posts about Erlang started receiving attention on reddit.com, I realized that my claims that Erlang could be a great web development

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-12 Thread Zbigniew
Stephen, I haven't tried this in a few months, but last time I checked, chicken will use any options you provided at ./configure time. So for example you could probably say ./configure CFLAGS=-O2 -L/sw/lib -I/sw/include and the options should be used automatically in the future. Some people

[Chicken-users] Wierd behaviour of process.

2007-01-12 Thread Robin Lee Powell
In the middle of the Scheme binding I wrote for mooix, I call process (from posix) for IPC. The system is, in total, very complex; so much so that I don't even know where to start to at making a pared-down example. So, I'll describe the behaviour. I run process in the same way (see