Not an easy question.Quote from: "HPW"
I am not aware of a command to modify the stack of a running newLISP.
We can only use the commandline-switch of the newLISP.exe.
In newLISP-tk we have the additional layer of TK.
There we can access the commandline-args via '(tk-args)' but there
we are to late because newLISP.exe is running yet.
The only thing I can think of in the moment is to change 'newlisp-tk.tcl'-source like this:
Code Select
# start local copy of newLISP only if running newLISP and newLISP-tk on the same host
# else assume that newLISP already has been started at the remote $Ide(newLISPhost)
if { $remoteFlag == 0 } {
set newLISPpid [exec $Ide(newLISPbin)/newlisp -p $Ide(newLISPport) -s 10000 &] }
# connect to newLISP
or Lutz make a new var in 'newlisp-tk.config' called
set Ide(newLISPstack) "1024"
Code Select
# start local copy of newLISP only if running newLISP and newLISP-tk on the same host
# else assume that newLISP already has been started at the remote $Ide(newLISPhost)
if { $remoteFlag == 0 } {
set newLISPpid [exec $Ide(newLISPbin)/newlisp -p $Ide(newLISPport) -s $Ide(newLISPstack) &] }
# connect to newLISP
Later: Just tried both ways and it works as expected. So Lutz can consider this change and take it into the wrapped distribution.
Could also do 'complete' job and expand this solution to cover ALL newlisp
start up options