Hi,
readline(true); (or readline(false)) works correctly in maxima under
both linux and windows (and probably macs as well).
It reads a string from the standard input (one could also do :lisp(setq
$fd *standard-input*) to do it right but the true/false trick works as
well).
I then ran into problems using this with xmaxima and wxmaxima under
linux/gcl where it would just ignore the input and return an empty string.
Next, I tried wxmaxima on a windows box (I seem to recall that the
standard windows package uses gcl?) and surprise readline() worked just
fine there - no problems whatsoever. OK, then I went back to my Linux
box and recompiled maxima using clisp. The readline() and wxmaxima work
just fine
(with the clisp maxima). So it appears that gcl under Linux is doing
some tricks here. Any ideas?
Jussi Eloranta
Cal State Northridge