[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to break out of a computation?
From: |
John Swensen |
Subject: |
Re: How to break out of a computation? |
Date: |
Tue, 21 Feb 2006 05:31:31 -0700 |
User-agent: |
Thunderbird 1.4.1 (Windows/20051006) |
Sebastien Loisel wrote:
> On 2/21/06, *Sebastien Loisel* <address@hidden
> <mailto: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
>
This is the very "streams hell" I went through a couple of years ago
when I tried it your way. Looks like you have much more streams
experience and fortitude than I did :)
John Swensen
- Re: How to break out of a computation?, (continued)
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/20
- Re: How to break out of a computation?, John W. Eaton, 2006/02/20
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/20
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/20
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/20
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/21
- Re: How to break out of a computation?,
John Swensen <=
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/21
- Message not available
- Re: How to break out of a computation?, David Bateman, 2006/02/22
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/22
- Re: How to break out of a computation?, Sebastien Loisel, 2006/02/27