I assume it would normally be tucked away in "/usr/share/newlisp" ?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
java -jar guiserver.jar <port> newlisp-edit.lsp
(load "/usr/share/newlisp/modules/unix.lsp")
ERR: symbol is protected in function define : (setuid id)
ERR: invalid function : (TeX Live 2011)
I cannot repeat that error, no matter if using the 32-bit or 64-bit of newLISP. Can you give exact instructions, how the the link was made and the resulting linked script is used? I am also on OSX Lion.Quote from: "Lutz"
~/dev/newlisp/utils/
~/dev/newlisp/utils/build/
(program "mgrep.lisp")
(link "newlisp" "mgrep" "mgrep.lisp")
original newlisp executable:newlisp
new executable:mgrep
source:mgrep.lisp
true
There should be no space in here "#! /usr/bin/newlisp", instead "#!/usr/bin/newlisp".Quote from: "Lutz"
Then on UNIX systems, like Mac OSX, you can just execute mgrep by itself after making it executable with "chmod 755 mgrep", no linking required.
link.lsp doesn't compile anything, it just takes the source script, encrypts it and appends it to the end of a newLISP executable. When linking, make sure you have a newLISP executable and the source in the current directory. When instead using pathnames to point to different locations, make sure you don't point to linked versions of files. Like with a raw script, you have to make it executable.Quote from: "Lutz"
mgrep "foo||bar" *.txt