Yaroslav Kavenchuk kavenchuk@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?