Re: uniform-array-read!

2006-01-31 Thread William Xu
[EMAIL PROTECTED] (Ludovic Courtès) writes: [...] >>guile> (uniform-array-read! a (open-input-string (string #\001 #\002 >> #\003))) >> >> The second argument for uniform-array-read! is a string. In my codes, i >> tried to read binary data, precisely, a network packet. Does this >> matter? >

Re: Another load path idea

2006-01-31 Thread Greg Troxel
I like that too except usually a subdir of wherever I keep the source. Nice and easy to rm -r when you're sick of it. But I presume you, as I, don't want a package build trying to modify /etc/profile etc to hook itself into $PATH. I might well add it in myself, even setup to test a rang

ANN: libRUIN project development release 0.1.1

2006-01-31 Thread Julian Graham
Hi everyone, I am pleased to announce that the libRUIN project has made its first formal development release, version 0.1.1. Our project description, from Savannah: libRUIN (Renderer for User Interfaces in Ncurses) is a rendering library for various XML-based user interface markup languages (s

Re: Another load path idea

2006-01-31 Thread Kevin Ryde
Greg Troxel <[EMAIL PROTECTED]> writes: > > I tend to build program foo (from CVS) into /usr/foo. I like that too except usually a subdir of wherever I keep the source. Nice and easy to rm -r when you're sick of it. But I presume you, as I, don't want a package build trying to modify /etc/profile

Re: uniform-array-read!

2006-01-31 Thread Jon Wilson
Hi y'all, Using Guile 1.7: guile> (define a (make-uniform-array #\nul 10)) guile> (uniform-array-read! a (open-input-string (string #\001 #\002 #\003))) 3 guile> a #s8(1 2 3 32 51 10 -102 96 48 10) guile> IOW, it seems to work fine --- except that: 1. The array is not properly

Re: uniform-array-read!

2006-01-31 Thread William Xu
[EMAIL PROTECTED] (Ludovic Courtès) writes: > William Xu <[EMAIL PROTECTED]> writes: > >> Is the following the correct way of using `uniform-array-read!'? Seems >> it simply hangs there.. >> >> (let ((ar (make-uniform-array #\nul length))) >> (uniform-array-read! ar sockfd)) > > In your exam

Re: uniform-array-read!

2006-01-31 Thread Ludovic Courtès
William Xu <[EMAIL PROTECTED]> writes: > Not in debian yet.. Guile 1.6.7 here. Yeah, I know, unfortunately... >> guile> (define a (make-uniform-array #\nul 10)) >> guile> (uniform-array-read! a (open-input-string (string #\001 #\002 >> #\003))) >> 3 >> guile> a >> #s8(1 2 3 32 51 10 -

Re: uniform-array-read!

2006-01-31 Thread Ludovic Courtès
Hi, William Xu <[EMAIL PROTECTED]> writes: > Is the following the correct way of using `uniform-array-read!'? Seems > it simply hangs there.. > > (let ((ar (make-uniform-array #\nul length))) > (uniform-array-read! ar sockfd)) In your example, it can very well be hanging because there is

uniform-array-read!

2006-01-31 Thread William Xu
Hi there, Is the following the correct way of using `uniform-array-read!'? Seems it simply hangs there.. (let ((ar (make-uniform-array #\nul length))) (uniform-array-read! ar sockfd)) Any ideas? -- William ___ Guile-user mailing list Guile-