Thanks for your help. Even while using disp(a) as you suggested, in the
Emacs editor's inferior octave process, all output is kept till the last
function evaluation has been performed, and only then sent to the
screen.
Hm. I run octave as an Emacs inferior process, though in a different
op.sys. (Debian). If I run this:
octave> for i=1:50000 i=i+1; if (mod(i,10000)==0) disp(i); endif; endfor
I get this:
10000
20000
30000
40000
50000
octave>
where the lines are printed at intervals of about one second's time.
Would you try my example above and let us know what happens?