reading a string from the keyboard




On Thu, 24 Sep 2009, Jussi Eloranta wrote:

< 
< 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,
Wxmaxima has a user forum on sourceforge. This is the second case where
a user has reported problems like this, so it would be
useful to raise the issue there.

Leo

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.