NEWLISP_PATH for newlisp

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

NEWLISP_PATH for newlisp

Post 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.
-- (define? (Cornflakes))

Locked