Page 1 of 1

newlisp ignore my init.lsp

Posted: Thu Mar 10, 2005 2:32 pm
by 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 Settings\alex>set path
Path=C:\WINNT\system32;C:\WINNT;

C:\Documents and Settings\alex>set path=c:\newlisp;%path%

C:\Documents and Settings\alex>set path
Path=c:\newlisp;C:\WINNT\system32;C:\WINNT;

C:\Documents and Settings\alex>newlisp
newLISP v.8.4.0 on Win32 MinGW, execute 'newlisp -h' for more info.

> (exit)

C:\Documents and Settings\alex>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?

Posted: Thu Mar 10, 2005 3:20 pm
by Lutz
that makes sense, look for it in the next version

Lutz

Posted: Thu Mar 10, 2005 7:56 pm
by alex
Thank You.