On 20-Feb-2006, Sebastien Loisel wrote:
| >
| > The code in pager.cc already handles buffering of Octave output. Are
| > you not using any of that?
|
|
| I just look that up to see whether I am. I'm afraid I'm not. I'm
rdbuf()ing
| octave_stdout to my own subclass of streambuf, which dumps
everything to the
| window as soon as it receives it. I guess it would be niftier if I
could
| grab octave_pager_buf's output and stuff, but the functions aren't
virtual
| so I don't see how I can simply reuse the object.
|
| Do you suggest a different approach?
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
will work for you. You may have to suggest changes. But I think that
would be better than duplicating much of that code on your own.