Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gray streams in CMU Common Lisp

3 views
Skip to first unread message

Robert STRANDH

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to
Hello,

I am trying to use Gray streams in CMU Common Lisp (Debian Linux
Potato package), without much success.

I was trying to find out in which package the stream extensions were
located, and found a symbol stream-write-char in the extensions
package, but that symbol does not seem to have a function definition,
though if I understand correctly, it should be a generic function.

Any ideas?
--
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------

Raymond Toy

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to
>>>>> "Robert" == Robert STRANDH <str...@labri.u-bordeaux.fr> writes:

Robert> Hello,
Robert> I am trying to use Gray streams in CMU Common Lisp (Debian Linux
Robert> Potato package), without much success.

Robert> I was trying to find out in which package the stream extensions were
Robert> located, and found a symbol stream-write-char in the extensions
Robert> package, but that symbol does not seem to have a function definition,
Robert> though if I understand correctly, it should be a generic function.

Robert> Any ideas?

You need a fairly recent version of CMUCL (Potato is I think).

You probably also need the sources, since I don't think the binaries
included the gray streams files you need. If you have sources, the
files you want are in src/pcl/gray-streams-classes.lisp and
src/pcl/gray-streams.lisp.

Compile these in this order and load them in this order. You now have
gray-streams support.

Ray

Fernando Rodríguez

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to

Robert STRANDH escribió:

> Hello,


>
> I am trying to use Gray streams in CMU Common Lisp (Debian Linux

> Potato package), without much success.

What are gray streams? O:-)
TIA


Hannu Koivisto

unread,
Jun 5, 2000, 3:00:00 AM6/5/00
to
Raymond Toy <t...@rtp.ericsson.se> writes:

| You need a fairly recent version of CMUCL (Potato is I think).

In addition one needs to use the image from cmucl-normal (or
-small, I think, but I have tried -normal only) package instead of
cmucl-safe (in potato, at least).

Peter mentioned recently that he has put a new version to woody's
upload queue that should have a gray-stream package that can be
"just loaded" (my /guess/ would be that this works with cmucl-safe
too). So if the original poster uses woody, this new version might
appear soon (it wasn't there yet when I just checked) and be a
little bit easier to get going with gray streams. Of course, it
may be possible to use woody's version in potato too.

--
Hannu

Daniel Barlow

unread,
Jun 6, 2000, 3:00:00 AM6/6/00
to
Fernando Rodríguez <f...@wanadoo.es> writes:

> What are gray streams? O:-)

User-defined streams implemented as per the proposal by David N. Gray

|Problem description:
|
| Common Lisp does not provide a standard way for users to define their
| own streams for use by the standard I/O functions. This impedes the
| development of window systems for Common Lisp because, while there are
| standard Common Lisp I/O functions and there are beginning to be
| standard window systems, there is no portable way to connect them
| together to make a portable Common Lisp window system.
|
| There are also many applications where users might want to define
| their own filter streams for doing things like printer device control,
| report formatting, character code translation, or
| encryption/decryption.

See ftp://parcftp.xerox.com/pub/cl/cleanup/mail/stream-definition-by-user.mail

-dan

--
http://ww.telent.net/cliki/ - CLiki: CL/Unix free software link farm

0 new messages