reading a string from the keyboard



Hi,

On 09/23/2009 11:39 AM, Jussi Eloranta wrote:
> I have a simple question. I want to read a string from the keyboard,
> which may contain spaces etc.
>
> Previously, I used the following:
>
> readline(?\*standard\-input\*)
>
>    
OK, so it stopped working with CMUCL and SBCL but seems to work just 
fine with CLISP (differences in flushing stdout perhaps). Also, for new 
wxmaxima I also had to add prints along the way, otherwise it would get 
stuck. So, I suppose this is more lisp/wxmaxima problem rather than 
maxima (btw, everything runs find from the command line).

It would be great to have some standard way of reading in strings in maxima.

Jussi Eloranta
Cal State Northridge