Subject: Re: Streams as pipes?
From: Erik Naggum <>
Date: 1999/05/26
Newsgroups: comp.lang.lisp
Message-ID: <>

* Raymond Toy <>
| Is there a way of making a stream that behaves somewhat like a unix pipe?
| Basically, I want a stream that works like a fifo:  when writing to it,
| the data goes to the end of the stream, but when reading, I read from the
| beginning.

  if you use a Common Lisp implementation that supports the Gray Proposal
  for CLOSified streams, this is a trivial exercise.  if you don't, you're
  basically out of luck.  since the Gray Proposal is not quite standard,
  you'll need to use the manual with the Common Lisp implementation.

  if you're using Allegro CL 4 or higher, you might also want to ensure
  that the multiprocessing code can deal with such streams, which adds a
  very interesting amount of complexity, especially if you want bounds on
  the size of the FIFO and want writers to block if the reader doesn't
  read.  feel free to drop me a line in either case if you use Allegro CL.

@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century