Re: [Chicken-users] Installing data files for eggs

2010-10-21 Thread Jim Ursetto
On Thu, Oct 21, 2010 at 01:11, Felix wrote: > IIRC, debian only allows post-installation changes to VARDIR. Does this > apply to DATADIR as well? Where do you (Peter, Jim) see this data files > to be copied to on egg-installation? I have no idea about either VARDIR or DATADIR. I have just been

[Chicken-users] using mmap files as strings?

2010-10-21 Thread Alan Post
I have the following file: <++> mmap.scm (use posix) (use lolevel) (let* ((fd (file-open "mmap.scm" (+ open/rdonly open/nonblock))) (size (file-size fd)) (mmap (map-file-to-memory #f size prot/read (+ map/file map/shared) fd)) (buf (memory-mapped-file-pointer mmap))) (writ

Re: [Chicken-users] Installing data files for eggs

2010-10-21 Thread Peter Bex
On Thu, Oct 21, 2010 at 02:11:14AM -0400, Felix wrote: > IIRC, debian only allows post-installation changes to VARDIR. Does this > apply to DATADIR as well? I don't know Debian. > Where do you (Peter, Jim) see this data files > to be copied to on egg-installation? Any place that's set aside for

Re: [Chicken-users] Appending a newline to a string

2010-10-21 Thread John Cowan
2010/10/21 Joe Python : > How to append a newline to a string? > I wish to do that in memory before I start writing to a file. > The string function seems to stringify the newline control character as > follows. > > < snip >--- > > (apply string '(#\a #\b #\newli

Re: [Chicken-users] Appending a newline to a string

2010-10-21 Thread Christian Kellermann
* Joe Python [101021 17:13]: > How to append a newline to a string? > I wish to do that in memory before I start writing to a file. > The string function seems to stringify the newline control character as > follows. > > < snip >--- > > (apply string '(#\a #\b

[Chicken-users] Appending a newline to a string

2010-10-21 Thread Joe Python
How to append a newline to a string? I wish to do that in memory before I start writing to a file. The string function seems to stringify the newline control character as follows. < snip >--- (apply string '(#\a #\b #\newline)) => "ab\n" < snip >--