Buffered output in imaxima?



Here's one problem I have with imaxima.  If you enter the command

 for i:1 thru 10 do (print(i),?sleep(1));

it doesn't print out the numbers 1 to 10 at intervals of 1 second; rather it
waits 10 seconds and then prints all the numbers out at once.  How can I
modify imaxima to print out during the execution of a program, instead of
waiting until the program terminates?  This is not a lisp problem; it
doesn't happen with console maxima.

Thanks,
Alasdair

-- 
Blog: http://amca01.wordpress.com