octave-maintainers
[Top][All Lists]
Advanced

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

Re: How to break out of a computation?


From: Sebastien Loisel
Subject: Re: How to break out of a computation?
Date: Tue, 21 Feb 2006 13:23:56 +0100

On 2/21/06, Sebastien Loisel <address@hidden> wrote:
If the code in pager.cc is close to what you want, but doesn't quite
do everything you need, then we can probably fix things so that it
as we've been discussing, this isn't possible in MinGW. The C++ way is to add a virtual write() function to octave_pager_stream, whose default logic is something like

Upon further consideration of pager.cc, I think what you're getting at is the diary functionality, and I notice now that any embedder will necessarely break that as it is right now.

Upon further further consideration, here's an idea. Instead of << to cout in pager.cc, << to octave_actual_stdout, which you initially rdbuf() to cout. This way I can rdbuf() octave_actual_stdout to my buffer, and it'll go through octave_pager_stream.

Cheers,

Sébastien Loisel


reply via email to

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