Re: [Chicken-users] using mmap files as strings?

2010-10-23 Thread Alan Post
I've summarized this information and created an mmap example on the wiki: http://wiki.call-cc.org/manual/Unit%20posix#memory-mapped-io-example I'm afraid to ask, for being told to do it myself, but the ability to edit single docment sections rather than whole documents would be very nice. -Ala

Re: [Chicken-users] using mmap files as strings?

2010-10-23 Thread Jim Ursetto
On Sat, Oct 23, 2010 at 05:04, Peter Bex wrote: > On Fri, Oct 22, 2010 at 05:58:02PM -0600, Alan Post wrote: >> This is excellent, I've learned a lot more about how all of this >> works together now. >> >> What method would I use to convert a pointer and a length to a >> string?  Even though I'm c

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

2010-10-23 Thread Felix
From: John Cowan Subject: Re: [Chicken-users] Installing data files for eggs Date: Sat, 23 Oct 2010 14:23:36 -0400 > Felix scripsit: > >> Thanks. This was the information I was looking for. > > You can find all this stuff in the Filesystem Hierarchy Standard version > 2.3 at

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

2010-10-23 Thread Alan Post
On Sat, Oct 23, 2010 at 02:23:36PM -0400, John Cowan wrote: > Felix scripsit: > > > Thanks. This was the information I was looking for. > > You can find all this stuff in the Filesystem Hierarchy Standard version > 2.3 at . It applies for > the most

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

2010-10-23 Thread John Cowan
Felix scripsit: > Thanks for the link, but I try to avoid reading > standards documents. As standards documents go, the FHS is fairly pain-free; it was written by geeks, not by standardizers, much like R5RS. -- John Cowanhttp://www.ccil.org/~cowan co...@ccil.org Uneasy lies the

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

2010-10-23 Thread John Cowan
Felix scripsit: > Thanks. This was the information I was looking for. You can find all this stuff in the Filesystem Hierarchy Standard version 2.3 at . It applies for the most part to both Linux and the BSDs. -- Long-short-short, long-short-short

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

2010-10-23 Thread Felix
From: John Cowan Subject: Re: [Chicken-users] Installing data files for eggs Date: Fri, 22 Oct 2010 09:22:30 -0400 > On Fri, Oct 22, 2010 at 6:24 AM, Felix > wrote: > >> Well, the question is whether it is allowed on systems that use a >> strict policy on what directories can be written to on i

Re: [Chicken-users] using mmap files as strings?

2010-10-23 Thread Peter Bex
On Fri, Oct 22, 2010 at 05:58:02PM -0600, Alan Post wrote: > This is excellent, I've learned a lot more about how all of this > works together now. > > What method would I use to convert a pointer and a length to a > string? Even though I'm copying the memory, how do I do it at > all? Something