NEWLISPDIR questions

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

NEWLISPDIR questions

Post by pjot »

Hi,

If I set the variable NEWLISPDIR manually in a DOS prompt, newLisp does not seem to get the new value.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\peter>cd\

C:\>cd newlisp

C:\newlisp>newlisp
newLISP v.9.2.11 on Win32, execute 'newlisp -h' for more info.

> (env "NEWLISPDIR")
"C:\\Program Files/newlisp"
> (exit)

C:\newlisp>set NEWLISPDIR="C:\\newlisp"

C:\newlisp>set NEWLISPDIR
NEWLISPDIR="C:\\newlisp"

C:\newlisp>newlisp
newLISP v.9.2.11 on Win32, execute 'newlisp -h' for more info.

> (env "NEWLISPDIR")
"C:\\Program Files/newlisp"
>

It seems newLisp always prints "C:\Program Files\newlisp". But in Windows I like to install newLisp in "C:\newlisp".

Second question: will there be some description in the newLisp manual about this important environment variable...?

Regards
Peter

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

Overwrite protection for an existing NEWLISPDIR environment variable was not introduced until 9.2.12. The version you are trying is 9.2.11.

NEWLISPDIR is documented in the manual in development version 9.2.16, released yesterday.

Lutz

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

Ooops sorry, I see there is some info about the newLisp dir in the 9.2.16 manual now :-)

Maybe it is also usefull to explain clearly what this variable can be used for (e.g. location of 'guiserver.lsp')....?

Thanks for replying,

Peter

Locked