aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
AgeCommit message (Collapse)Author
2002-08-13minor fixes for fbset bloatAaron Lehmann
<mjn3> printf("\tgeometry %u %u %u %u %u\n", v->xres, v->yres, <mjn3> v->xres_virtual, v->yres_virtual, v->bits_per_pixel); <mjn3> printf("\ttimings %u %u %u %u %u %u %u\n", v->pixclock, v->left_margin, <mjn3> v->right_margin, v->upper_margin, v->lower_margin, v->hsync_l <mjn3> en, <mjn3> v->vsync_len); <mjn3> printf("\taccel %s\n", (v->accel_flags > 0 ? "true" : "false")); <mjn3> printf("\trgba %u/%u,%u/%u,%u/%u,%u/%u\n", v->red.length, <mjn3> v->red.offset, v->green.length, v->green.offset, v->blue.leng <mjn3> th, <mjn3> v->blue.offset, v->transp.length, v->transp.offset); <mjn3> printf("endmode\n\n"); <mjn3> whay have multiple printf calls when one would do? <mjn3> and this: <mjn3> static struct cmdoptions_t { <mjn3> char *name; <mjn3> unsigned char param_count; <mjn3> unsigned char code; <mjn3> } g_cmdoptions[] = { <mjn3> { <mjn3> "-fb", 1, CMD_FB}, { <mjn3> (repeated entries) <mjn3> why isn't this constant? what about struct packing? inline the helper functions that are only referenced once.
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-29Standard typing (u_int16_t instead of u16, u_int32_t insteadEric Andersen
of u32, etc) cleanups from Laurence Anderson <laurence@zxmail.com>
2001-03-15Update the documentation so examples are autoincluded in the output text.Eric Andersen
Fix up docs/busybox.pod with the latest autogenerated output. -Erik
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-16Do usage messages the same way all other apps fo them.Eric Andersen
Skip printing of available options (can't do this easily). Based on a patch by Larry Doolittle. -Erik
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-10-28Make fbset compile with the readmode feature by pulling defs from fb.h.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-21Remove all the kernel headers so it will compile under libc5Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-12Patch from Jon McClintock <jonm@bluemug.com>Eric Andersen
>The attached patch adds the ability to parse the actual mode specifier in >fbset. So now > > fbset -n 640x480-72 > >Will actually work. I don't know if I've reinvented the wheel though... -Erik
2000-07-06Turned some stuff into features that really are features, not apps.Eric Andersen
-Erik
2000-07-06Added (fixed) the '-n' option to fbset. Renumbered the command parameters toEric Andersen
put a gap between the normal commands and the fancy commands. This makes it cleaner to add normal commands. Patch from Jon McClintock <jonm@bluemug.com>. -Erik
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-13More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen
while trying to write docs . :-) -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-03-23My latest ramblings.Erik Andersen
-Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
1999-12-17Reworked the source so it will compile and run under glibc 2.0.7Erik Andersen
and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik
1999-12-16Fix bugs in logger and syslogd. Add fbset.Erik Andersen
-Erik