[slime-devel] Re: (quit) in REPL -> error in *inferior-lisp* on s bcl
Marco Baringer
mb at bese.it
Wed Oct 4 13:19:15 UTC 2006
Yaroslav Kavenchuk <kavenchuk at jenty.by> writes:
> Marco Baringer wrote:
>
>> can you provide a backtrace?
>
> 0: (SWANK::REVERT-GLOBAL-IO-REDIRECTION)
ok, thanks. the problem seems to be that the code for setting up
io-redirection on the standard streams has been commented out. if you
open up swank.lisp and uncomment these lines:
;; (setup-stream-indirection *standard-output*)
;; (setup-stream-indirection *error-output*)
;; (setup-stream-indirection *trace-output*)
;; (setup-stream-indirection *standard-input*)
;; (setup-stream-indirection *debug-io*)
;; (setup-stream-indirection *query-io*)
;; (setup-stream-indirection *terminal-io*)
it should fix everything.
now, why are these lines commented out in the first place? there's
this comment in swank.lisp:
;; FIXME: This doesn't work with Allegros IDE (MAKE-SYNONYM-STREAM
;; doesn't work with their GUI-streams). Maybe we should just drop this
;; global redirection stuff.
is this reason enough to disable global-io redirection? does it have
other problems i'm not aware of?
--
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
More information about the slime-devel
mailing list