Hi, Karsten Poeck wrote:
Summary: clisp cvs head cygwin works with slime cvs head clisp cvs head mingw (no need for cygwin) works with slime cvs head clisp released version for windows from sourceforge does not work (starts up, loads slime but does not connect)
I just build an MS-VC 6.0 version last friday. Would you like me to send that to you for testing? [Note that I'm not the one who did the official clisp-win32 distributions, built -- I believe -- with MS-VC 6.0(?)]
Helmut Eller wrote:
I think I fixed that in CVS by sending an extra newline. I don't know why, but it seems to work for me.
Did you try adding any other presumably superfluous character beside #\Newline? Maybe there was/is some problem with read ahead, not with line-terminated buffering?
Regards, Jorg Hohle.
Hello, Helmut fix works fine, just did cvs up and clisps/sourceforge/windows works fine. From the slime repl.
; SLIME 2005-07-03 CL-USER> (lisp-implementation-version) "2.33 (2004-03-17) (built on winsteingoldlap.ad.alphatech.com [10.41.52.158])" CL-USER> (lisp-implementation-type) "CLISP" CL-USER> (pprint *features*)
(:DIRKEY :REGEXP :SYSCALLS :CLOS :LOOP :COMPILER :CLISP :ANSI-CL :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :UNICODE :BASE-CHAR=CHARACTER :PC386 :WIN32) ; No value CL-USER>
Unfortunately the cygwin version now breaks with WARNING: DEFUN/DEFMACRO: redefining function GETPID in /cygdrive/c/Documents and Settings/Karsten/.slime/fasl/clisp-2.33.83-unix-pc386/swank-clisp.fas, was defined in top-level *** - FFI::LOOKUP-FOREIGN-FUNCTION: A foreign function "getpid" does not exist The following restarts are available: SKIP :R1 skip this form and proceed STOP :R2 stop loading file SKIP :R3 skip this form and proceed STOP :R4 stop loading file ABORT :R5 ABORT
I don't understand the logic in the swank-clisp to define the getpid, but using #+cygwin (defimplementation getpid () (system::process-id))
even cygwin works fine.
Mingw version still works
Karsten