Hi,
i am playing with Lisp for several weeks now, and recently found the
function dribble in manual. but, for some reason it does not work with
CLISP 2.33, when i do this at the beginning of session :
CL-USER> (dribble "session.log")
#<OUTPUT BUFFERED FILE-STREAM CHARACTER #P"session.log">
but when i type commands, and finally want to stop recording with :
CL-USER> (dribble)
WARNING:
Currently not dribbling from
#<IO TWO-WAY-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM #x19EFA5C5>
#<IO UNBUFFERED SOCKET-STREAM CHARACTER 0.0.0.0:1351>>.
NIL
i got this ^^^^. the file is created in the directory, but its length
is zero. i am using it with LispBox.
any ideas how to make it work?
Thank you,
Karol Skocik
> * Karol Skocik <············@tznvy.pbz> [2005-07-10 04:40:26 -0700]:
>
> i am playing with Lisp for several weeks now, and recently found the
> function dribble in manual. but, for some reason it does not work with
> CLISP 2.33, when i do this at the beginning of session :
>
> CL-USER> (dribble "session.log")
> #<OUTPUT BUFFERED FILE-STREAM CHARACTER #P"session.log">
>
> but when i type commands, and finally want to stop recording with :
>
> CL-USER> (dribble)
>
> WARNING:
> Currently not dribbling from
> #<IO TWO-WAY-STREAM #<SWANK-BACKEND::SLIME-INPUT-STREAM #x19EFA5C5>
> #<IO UNBUFFERED SOCKET-STREAM CHARACTER 0.0.0.0:1351>>.
> NIL
>
> i got this ^^^^. the file is created in the directory, but its length
> is zero. i am using it with LispBox.
>
> any ideas how to make it work?
WFM (but I am not using LispBox):
[1]> (dribble "foo")
#<OUTPUT BUFFERED FILE-STREAM CHARACTER #P"foo">
[2]> (truename *)
#P"D:\\gnu\\clisp\\current\\modules\\bindings\\win32\\foo"
[3]> (+ 1 2)
3
[4]> (dribble)
#<CLOSED OUTPUT BUFFERED FILE-STREAM CHARACTER #P"foo">
[5]>
======================================== foo =====================
;; Dribble of #<IO TERMINAL-STREAM> started 2005-07-10 09:50:55
#<OUTPUT BUFFERED FILE-STREAM CHARACTER #P"foo">
[2]> (truename *)
#P"D:\\gnu\\clisp\\current\\modules\\bindings\\win32\\foo"
[3]> (+ 1 2)
3
[4]> (dribble)
;; Dribble of #<IO TERMINAL-STREAM> finished 2005-07-10 09:51:14
======================================== foo =====================
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://pmw.org.il/> <http://www.dhimmi.com/> <http://www.camera.org>
<http://ffii.org/> <http://www.memri.org/> <http://www.palestinefacts.org/>
My other CAR is a CDR.