[BusyBox] [patch] get_terminal_width_height() return value
Rob Landley
rob at landley.net
Sun Aug 28 02:25:53 UTC 2005
On Saturday 27 August 2005 17:48, Bernhard Fischer wrote:
> Rob Landley wrote:
> >I'd prefer unconditionally, myself. What's the size difference?
>
> Not that much. The trailing minus are the ones with autowidth turned off.
>
> $ size get_terminal_width_height.o.*
> text data bss dec hex filename
> 134 0 0 134 86 get_terminal_width_height.o.int
> 130 0 0 130 82 get_terminal_width_height.o.void
> 33 0 0 33 21 get_terminal_width_height.o.int-
> 31 0 0 31 1f get_terminal_width_height.o.void-
I'd say that's big enough to care.
What might be nice is some kind of CONFIG_NITPICK that we could make lots of
the smaller config options dependent on. If you're hand-rolling a really
tight system and you need to shave an extra 1700 bytes off a largeish busybox
binary. Then we could go nuts making all sorts of tiny stuff selectable...
Rob
More information about the busybox
mailing list