help-octave
[Top][All Lists]
Advanced

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

Re: enabling immediate output behavior


From: Francesco Potortì
Subject: Re: enabling immediate output behavior
Date: Tue, 20 Oct 2009 13:15:57 +0200

>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?

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

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