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: Mon, 19 Oct 2009 20:20:00 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Dear all,

I found one solution to circumvent the problem: not running octave from within emacs, but from an independent (ubuntu) shell. There the 'more off' command does work.

Regards,

Aditya

Consider following toy example:

   a=0;
   for i=1:5000
   a=a+1
   end
   a;


When I run this loop in octave, no output is sent to the terminal till the very last function evaluation has been performed. This is ok for a small script, but for large and time-consuming scripts it is really necessary that you can follow what's going on.

I tried enabling immediate output by following means, but all failed:
* page_output_immediately(1)
* more off
* fflush(stdout)

Does anyone of you know a way to enable the immediate output behavior?
I am working with octave 3.2.3, within emacs.

Many thanks,

Aditya





reply via email to

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