Mailing List archive

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

[linux-dvb] Re: output of szap



On Tue, Jun 22, 2004 at 12:02:53PM +0000, julian somers (lists only) wrote:
> I am trying to make szap write its output to a file like this
> 
>         szap channel 2>&1 >> out &
> 
> But get an erratic output -- it writes many lines at once, instead of one at a 
> time. I want to use this output to drive a signal strength meter on a php 
> page, so I need it to be regular. 

It's probably normal stdout buffering. You should modify the code to
flush its output after each line with fflush() for example.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>




Home | Main Index | Thread Index