[Maxima] more problems with readline ...
Jussi Eloranta
Jussi.Eloranta at csun.edu
Wed May 23 22:55:13 CDT 2007
Hi,
I figured out that I need to open the stream (to /dev/stdin) as follows:
s:openr("/dev/stdin");
t:readline(s);
print("entered = ", t);
closer(s);
At least I could find any info on what streams are open by default
(pointing to stdin / stdout etc.), so I decided to open one.
This works well with maxima but wxmaxima seems to get stuck in this (and
so does xmaxima). It does not seem to know when the input is finished.
Any other ways to do this? I suspect that windows would have trouble
with this as /dev/stdin is not a well defined file there...
Also does wxmaxima have any support for opening file selection dialogs?
Jussi Eloranta
Cal State Northridge
More information about the Maxima
mailing list