newlisp ignore my init.lsp

Started by alex, March 10, 2005, 06:32:48 AM

Previous topic - Next topic

alex

Theme: newlisp ignore my init.lsp



Excuse me for my bad English, please!



I think, that using init.lsp by newlisp is not correct...



Example:



I have newlisp-directory "c:newlisp" and file "init.lsp" in it.

init.lsp contain only one string:



  (println "TEST-TEST-TEST")



See my dialog with CMD.EXE below:



Microsoft Windows 2000 [Version 5.00.2195]

(C) Copyright 1985-2000 Microsoft Corp.



C:Documents and Settingsalex>set path

Path=C:WINNTsystem32;C:WINNT;



C:Documents and Settingsalex>set path=c:newlisp;%path%



C:Documents and Settingsalex>set path

Path=c:newlisp;C:WINNTsystem32;C:WINNT;



C:Documents and Settingsalex>newlisp

newLISP v.8.4.0 on Win32 MinGW, execute 'newlisp -h' for more info.



> (exit)



C:Documents and Settingsalex>cd c:newlisp



C:newlisp>newlisp

TEST-TEST-TEST

newLISP v.8.4.0 on Win32 MinGW, execute 'newlisp -h' for more info.



> (exit)



The end of dialog



It is not correct, I think. Newlisp must use "init.lsp" NOT from current

directory, but from directory where newlisp is located. Current

directory must be ignored.



How do You think?

Lutz

#1
that makes sense, look for it in the next version



Lutz

alex

#2
Thank You.