Page 1 of 1

NEWLISP_PATH for newlisp

Posted: Sun Jun 10, 2007 7:21 am
by newdep
Hi Lutz,

Now Guiserver is introduced its perhpas an option to also introduce a global
NEWLISP_PATH environment setting...

(if (= ostype "Win32")
(load (string (env "PROGRAMFILES") "/newlisp/guiserver.lsp"))
(load "/usr/share/newlisp/guiserver.lsp")
)

can simple be rewritten to (load (string (env "NEWLISP_PATH") "guiserver.lsp"))
(user selectable this is..)

Personaly I always use the newlisp binary from /usr/bin/newlisp on linux and
store newlisp files somewhere else..I never use /usr/share/newlisp
under windows I always install newlisp "not" under "program files".

Another advantage on this is that i dont have the edit the Guiserver befor
running it.. i can simple set the NEWLISP_PATH..


Norman.