joaotavora / sly

Sylvester the Cat's Common Lisp IDE
1.26k stars 142 forks source link

Standard and error output's become line buffered and non auto flushing #628

Open suntropez opened 7 months ago

suntropez commented 7 months ago

So, after sly-connect it seems sb-sys:*stdout* become line buffered and won't flush. If I (princ "something") nothing comes out. If I disconnect, it all comes out. (terpri) will make it happy before a (finish-output) or something and then it's out.

I tried to describe the stream while connected and disconnected but found no significant differences. Interactive is false, BUFFERING is :LINE and Sly's global redirection is nil and dedicated output stream is not being used (SSH tunnel, plus it's set to nil). Not sure how to investigate further.

Of note, a SLIME server is also running in the application. SBCL is 2.1.10. Slynk protocol 1.0.43.