setterm.diff not final, lots of changes in the near future
Rob Landley
rob at landley.net
Fri Sep 16 02:56:04 UTC 2005
On Thursday 15 September 2005 19:29, ////// wrote:
> ok I saw man 4 console_codes
And it sounds like you got a lot out of it. Cool.
> now one opinion :
>
> the function wich_one ( now called wich_option ) is
Part of my objection was that there's an h in which.
> others use bb_xgetlarg, what is that? lets see in
> xgetlarg.c, no documentation.
...
> bb_getopt_ulflags( /* some stuff*/ , &isofmt_arg );
libbb/getopt_ulflags.c has a big long documentation comment in it, and has
long option parsing capability (see the applet_long_options stuff). A random
example of it being used would be util-linux/hwclock.c.
It would indeed be really nice if we could squeeze numbers out of
bb_getopt_ulflags (perhaps with a # alternative to :), but last I checked we
still have to parse the suckers ourselves...
Let me know when you come to a good stopping point and I'll review your patch.
It's sounding promising.
Rob
More information about the busybox
mailing list