A possible solution might be to redirect the shell messages into a file.
(%i1) system("ls > tmp_file");
(%o1) 0
(%i2) printfile("tmp_file");
Aribas
Bilder
...
(%o2) tmp_file
(%i3) system("pwd > tmp_file");
(%o3) 0
(%i4) printfile("tmp_file");
/home/volker
(%o4) tmp_file
Volker
Am 07.11.2013 13:21, schrieb Leo Butler:
>> From: Raymond Toy <toy.raymond at gmail.com>
>> Date: Wed, 6 Nov 2013 19:23:55 -0800
>>
>> >>>>> "Leo" == Leo Butler <l_butler at users.sourceforge.net> writes:
>>
>> Leo> In src/init-cl.lisp there is a collection of utilities to allow Maxima
>> Leo> to interact with the filesystem. Am I right that these are not exposed
>> Leo> to the Maxima toplevel? I do not see anything in share that does this,
>> Leo> but...
>>
>> What exactly were you looking at? And what functionality do you want?
>
> I interested in having access to something like ls, pwd, and cd. The
> latter (cd) can be implemented with xchdir, but I don't see the other
> two.
>
> Leo
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>