From: Chris Curtis
Subject: Printing to Standard Error
Date: 
Message-ID: <Bvr99t.Lnr@acsu.buffalo.edu>
  Does anyone know of a way to print to standard error within 
lisp?  I'm using common lisp and have tried writing to the 
*error-output* stream, but it seems that this prints to standard
output by default.


Thanks in advance,

Chris Curtis (e-mail: ·······@cs.buffalo.edu)
From: Barry Margolin
Subject: Re: Printing to Standard Error
Date: 
Message-ID: <1av1hjINNi70@early-bird.think.com>
In article <··········@acsu.buffalo.edu> ·······@acsu.buffalo.edu (Chris Curtis) writes:
>  Does anyone know of a way to print to standard error within 
>lisp?  

This is implementation dependent.  In Lucid CL you can make
a stream that goes to stderr with (make-lisp-stream :output-handle 2).  I
don't know how to do it in other Lisps.

>	I'm using common lisp and have tried writing to the 
>*error-output* stream, but it seems that this prints to standard
>output by default.

CLtL1 required *ERROR-OUTPUT* to be a synonym stream for *TERMINAL-IO*,
which is usually connected to stdin and stdout on Unix.  X3J13 relaxed this
requirement; the new requirements are described on p.499 of CLtL2 and
p.21-55..57 of dpANS CL.  The new rules would permit *ERROR-OUTPUT* to be
connected to stderr, but I don't think many implementations have yet made
this change.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

······@think.com          {uunet,harvard}!think!barmar