help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enabling immediate output behavior


From: Aditya Bhagwat
Subject: Re: enabling immediate output behavior
Date: Fri, 23 Oct 2009 09:25:37 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Dear Francesco,

Thanks for your involvement.
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?

In my case, for a couple of seconds, nothing happens. Then, the lines are printed all at once in the inferior octave window. I am working on emacs 23.1, which I compiled on Ubuntu 9.04.

Regards,

Aditya



reply via email to

[Prev in Thread] Current Thread [Next in Thread]