newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: pjot on January 15, 2008, 08:58:09 AM

Title: NEWLISPDIR questions
Post by: pjot on January 15, 2008, 08:58:09 AM
Hi,



If I set the variable NEWLISPDIR manually in a DOS prompt, newLisp does not seem to get the new value.


Quote
Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.



C:Documents and Settingspeter>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 Filesnewlisp". 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
Title:
Post by: Lutz on January 15, 2008, 09:53:09 AM
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
Title:
Post by: pjot on January 15, 2008, 10:04:22 AM
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