[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Input redirection (was: Re: pb with oct file, return a matrix)
From: |
Søren Hauberg |
Subject: |
Input redirection (was: Re: pb with oct file, return a matrix) |
Date: |
Thu, 23 Apr 2009 13:30:55 +0200 |
tor, 23 04 2009 kl. 10:48 +0200, skrev Jaroslav Hajek:
> you should use octave_stdout (pager.h) if you want your output to mix
> with output of other functions normally. That includes going through
> the pager if it is enabled. Writing directly to C's stdout bypasses
> Octave's I/O mechanisms.
I always wondered why this is the case. Could we just do something like
std::cout.rdbuf (octave_stdout.rdbuf ()); // untested
to send everything from stdout through the pager?
Søren
- pb with oct file, return a matrix, Alain Baeckeroot, 2009/04/22
- pb with oct file, return a matrix, John W. Eaton, 2009/04/22
- Re: pb with oct file, return a matrix, Alain Baeckeroot, 2009/04/22
- Re: pb with oct file, return a matrix, John W. Eaton, 2009/04/22
- Re: pb with oct file, return a matrix, Alain Baeckeroot, 2009/04/23
- Re: pb with oct file, return a matrix, Jaroslav Hajek, 2009/04/23
- Input redirection (was: Re: pb with oct file, return a matrix),
Søren Hauberg <=
- Re: pb with oct file, return a matrix, Alain Baeckeroot, 2009/04/24