Hi,
I am running a PHP script at the command line and piping the output through
less:
./myScript | less
Since less is an interactive program it puts the terminal into 'raw' mode so
that it can read characters one at a time. However, when I do the above I find
that the commands that I type
On Wed, Sep 11, 2013 at 05:45:45PM +0100, Stuart Dallas wrote:
On 11 Sep 2013, at 17:37, Alain Williams a...@phcomp.co.uk wrote:
Make sure output buffering is off by putting this at the top of your script:
while(ob_end_clean());
Sorry, that does not fix the problem - but thanks for trying.
On 11 Sep 2013, at 17:37, Alain Williams a...@phcomp.co.uk wrote:
Hi,
I am running a PHP script at the command line and piping the output through
less:
./myScript | less
Since less is an interactive program it puts the terminal into 'raw' mode so
that it can read characters one at
3 matches
Mail list logo