On 21 August 2014 09:43, Daniel Lezcano <daniel.lezc...@linaro.org> wrote:
> On 08/19/2014 09:22 AM, pi-cheng.chen wrote:
>>
>> Currently the serial terminal connected to the boards running idlestat are
>> restricted to be at least 80 characters wide to output the report.
>> Otherwise
>> idlestat quits with message "The terminal must be at least 80 columns
>> wide".
>>
>> Fix it by adding a "-o" option to save report output to a file.
>
>
> Yes, but please do it in the unix way.
>
> 1. open file
> 2. close stdout
> 3. dup[2] opened file to stdout (fd 1)
> 4. close opened file
>
> So no need to change all the code around.
>
> Thanks
>   -- Daniel

Thanks for your comments.
I'll do it in next version.

Pi-Cheng

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to