busybox 1.4.1 resize.c problem

Denis Vlasenko vda.linux at googlemail.com
Tue Mar 13 21:23:25 UTC 2007


Hi

On Tuesday 13 March 2007 14:09, Ernst.Sauerwein at fujitsu-siemens.com wrote:
> When using busybox resize feature,
> output cannot be redirected because measuring of lines/columns will fail.
> For instance:
> resize | cat
> or:
> CMD=`resize`
>  
> Symptoms: resize hangs; when pressing any key resize reports 0 as for lines as for columns.
>  
> Result: resize may not be usable in a script.
>  
> Workaround:
> Use stderr instead of stdout for measurement of terminal geometry.
> Output is done to stdout as before.
>  
> Please find attached a patched source with applied workaround.

This is already fixed a few days ago, but thanks anyway.
--
vda



More information about the busybox mailing list