Re: How to see runtime-output of lisp-process ?



In article <874q9od63j.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Pascal Bourguignon <spam@xxxxxxxxxxxxxxxx> wrote:
> This is not related to UCW, it's a pure slime problem.
> The stream between swank and slime is heavily buffered (probably in
> slime, not in swank).
>
> Even with a newline and a FINISH-OUTPUT (or CLEAN-OUTPUT):
>
> ; SLIME 2005-07-06
> (loop for i from 0 to 10 do
> (when (= 5 i) (print :hello) (terpri) (finish-output)) (sleep 1))
>
> won't display :HELLO before the end of the loop.

Hmm... works for me with Slime and SBCL, OpenMCL, CMUCL, and Lispworks,
all on Mac OS X.

Perhaps it's a Slime/CLISP interaction problem?

-bcd
--
*** Brian Downing <bdowning at lavos dot net>
.



Relevant Pages

  • Re: Why Lisp for web applications?
    ... >> - If you're using swank and SLIME, you can connect to your running ... > ok, I am playing toying with dynamic web pages and lisp, but I ... Press enter when prompted for the host and port (assuming that the port ...
    (comp.lang.lisp)
  • Re: sbcl - how to get a REPL for a created thread?
    ... With that version of SBCL, you need to get the CVS version of Slime. ... You'll then need to start Swank ... So you now have Slime with 1 Slime REPL. ...
    (comp.lang.lisp)
  • Re: Several REPL attached to a single image
    ... T. From Slime, you can use `slime-connect' to connect to as many swank ... swank server from multiple locations. ...
    (comp.lang.lisp)
  • Re: How to see runtime-output of lisp-process ?
    ... This is not related to UCW, it's a pure slime problem. ... slime, not in swank). ... won't display:HELLO before the end of the loop. ...
    (comp.lang.lisp)