Page 1 of 1

NEWLISPDIR questions

Posted: Tue Jan 15, 2008 4:58 pm
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

Posted: Tue Jan 15, 2008 5:53 pm
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

Posted: Tue Jan 15, 2008 6:04 pm
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