>
> Can anyone review my branches and commit if they are ok?
>
I would like to get your code commited as soon as possible. However
IIUC command line arguments are currently needed by Texmacs, so
that should go in first. I had some trouble with command line
arguments. First, ECL needs more complicated code for getting
arguments and also in Closure CL variable containing command line
arguments has different name (you used name of _function_).
Next, by default Closure CL would try to interpret whole
command line and would complain if there were extra items
(worse, it would try to perform '-eval') -- I had to disable
default argument processing in Closure CL. Similarely gcl
would try to perform '-eval', I had to disable that too.
And we need '--' as first argument to AXIOMsys (just after
name of executable) to avoid problems with Closure CL
and clisp (otherwise clisp would complain that it does not
understand the whole command line).
Also, it is not enough to just use '"' for quoting, for example
'--eval "String with space"' would fail. AFAICS the only safe
way is to use backslashes to quote all potentially unsafe
characters. And we need to do quoting twice, once in axiom/fricas
script, the second time in sman (currently sman passes command
line to the shell).
One more remark: replacing 'exec' by 'eval' means that the shell
executing axiom/fricas script would wait for sman/AXIOMsys to
finish which uses unnecessary extra process. It is better to
use 'eval exec' to avoid extra process.
I have now comitted argument handling with fixes as above (without
the texmacs hunk as this one really belongs to the texmacs branch).
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.