Hi,
I want to use CLISP, lisp2wish and wish83 on Windows XP.
As a bloody beginner I run into some troubles.
I installed clisp 2.27
I installed wish83
I downloaded / copied lisp2wish.lisp
Now:
I start wish83 --- works
I started clisp and then: (load "lisp2wish.lisp") --- okay
Then I typed (test-wish) and got this:
*** - EVAL: the function WISH::RUN-PROGRAM is undefined
At next I typed (run-program "notepad.exe") and notepad starts,
so run-program is available.
So, what's wrong? Do I have to change something in lisp2wish.lisp?
And could anybody give me a very simple "hello world, getting
started with lisp2wish" tutorial?
Best regards,
Johann Murauer
From: Sam Steingold
Subject: Re: Clisp / lisp2wish on Win32 / XP
Date:
Message-ID: <un0z7agpi.fsf@xchange.com>
> * In message <·················@news.highway.telekom.at>
> * On the subject of "Clisp / lisp2wish on Win32 / XP"
> * Sent on Mon, 21 Jan 2002 13:23:34 GMT
> * Honorable ········@acm.org (Johann Murauer) writes:
>
> *** - EVAL: the function WISH::RUN-PROGRAM is undefined
find the definition of the package WISH and make it use EXT.
(add a (:USE "EXT") clause to the DEFPACKAGE form)
--
Sam Steingold (http://www.podval.org/~sds)
Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp>
Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/>
(lisp programmers do it better)
Sam Steingold <···@gnu.org> writes:
> > *** - EVAL: the function WISH::RUN-PROGRAM is undefined
>
> find the definition of the package WISH and make it use EXT.
> (add a (:USE "EXT") clause to the DEFPACKAGE form)
Is there a reason why this is necessary on Windows whereas on Linux
the original DEFPACKAGE form* works fine?
[1]> (symbol-package 'run-program)
#<PACKAGE LISP>
Does CLISP put RUN-PROGRAM in different packages on different OSes for
some reason or is something else behind this?
TIA,
J.C.
*(defpackage WISH
(:use LISP #+:ALLEGRO EXCL #+:LUCID LCL)
(:shadowing-import-from USER TEST-WISH)
(:export "*WISH*"
"*WISH-PROG*"
"*WISH-ARGS*"
"*WISH-EXIT-MSG*"
"*WISH-LISTENER*"
"SEND-TO-WISH"
"WITH-WISH"
"WITH-OUTPUT-TO-WISH"
"LISTEN-TO-WISH"
"DEFAULT-WISH-LISTENER"))
--
Switch "at" and first period to mail me.
From: Sam Steingold
Subject: Re: Clisp / lisp2wish on Win32 / XP
Date:
Message-ID: <u3d0za9kw.fsf@xchange.com>
> * In message <··············@mail.mcgill.ca>
> * On the subject of "Re: Clisp / lisp2wish on Win32 / XP"
> * Sent on 21 Jan 2002 11:27:32 -0500
> * Honorable Jonathan Craven <········@craven.mail.mcgill.ca> writes:
>
> Sam Steingold <···@gnu.org> writes:
>
> > > *** - EVAL: the function WISH::RUN-PROGRAM is undefined
> >
> > find the definition of the package WISH and make it use EXT.
> > (add a (:USE "EXT") clause to the DEFPACKAGE form)
>
> Is there a reason why this is necessary on Windows whereas on Linux
> the original DEFPACKAGE form* works fine?
this depends on CLISP version, not OS.
> [1]> (symbol-package 'run-program)
> #<PACKAGE LISP>
you are using an older version of CLISP.
CLISP extensions are now exported from the CLISP-specific package EXT,
not the ANSI CL-mandated package COMMON-LISP (nicknamed LISP and CL).
please upgrade.
--
Sam Steingold (http://www.podval.org/~sds)
Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp>
Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/>
Bill Gates is not god and Microsoft is not heaven.