afeb96547f
Make output match the real lsmod -- print (autoclean) type stuff first not last. -Erik
Eric Andersen
2001-02-24 19:51:54 +00:00
d160a27ec1
Stub out the syscall, not the whole application. The stubbed out syscall sets errno properly and whines about missing kernel support. -Erik
Eric Andersen
2001-02-24 19:17:07 +00:00
dc12190ba2
The usage message for syslogd had stuff longer then 80 chars and wrapped.
Eric Andersen
2001-02-24 18:52:36 +00:00
37977622c4
...
John Beppu
2001-02-24 14:44:25 +00:00
7d597c4833
refinement
John Beppu
2001-02-24 14:37:48 +00:00
dbfff6cbde
formatting ...
John Beppu
2001-02-23 17:55:03 +00:00
e6967b20cb
Added some documentation and made --sgml use sgml_from_usage(). pod_from_usage() is the default generator.
John Beppu
2001-02-23 17:51:08 +00:00
3757f98d86
Another usage cleanup from kent robotti
Eric Andersen
2001-02-23 17:47:51 +00:00
8373e70c55
During POD generation, it inserts a blank line before lines that were intended to be indented.
John Beppu
2001-02-23 17:41:41 +00:00
7a9cc2dcdd
More cleanups
Eric Andersen
2001-02-23 16:58:44 +00:00
15f9b92127
forgot to remove some debugging noise
John Beppu
2001-02-23 16:16:08 +00:00
df1e9daf30
This one should be able to deal with the USAGE macros a little more robustly. I also blow away any USAGE_NOT_\w+ macros.
John Beppu
2001-02-23 16:15:34 +00:00
ed0d958c3e
Make HUMAN_READABLE be single argument like the others.
Eric Andersen
2001-02-23 13:23:03 +00:00
2498b155fd
forgot a comma.
John Beppu
2001-02-23 13:04:39 +00:00
a0cfe94c4e
More usage cleanups from kent robotti. I know some of these were applied previously but apparently lost with some of the latest changes.
Eric Andersen
2001-02-23 10:07:09 +00:00
b83ffafc15
Fix up a stupid mistake caught by David Whedon <dwhedon@gordian.com>
Eric Andersen
2001-02-23 06:36:53 +00:00
56082dc2ae
space after \ make preprocessor sad
David Kimdon
2001-02-23 06:03:22 +00:00
68c1d8400c
utility.c must include stdarg.h
David Kimdon
2001-02-23 03:55:24 +00:00
b249fbb1dc
I can't leave it alone.
John Beppu
2001-02-23 03:12:45 +00:00
8c16bc5012
minor cleanup... all that's left to do is * make headers and footers for both the POD and SGML content * make an SGML generator * finish the command-line handling
John Beppu
2001-02-23 02:54:31 +00:00
4a25d8c9c3
This is the remixed autodocufier.pl.
John Beppu
2001-02-23 02:33:28 +00:00
0ed9923887
Stub out pivot_root so it won't fail to compile. -Erik
Eric Andersen
2001-02-23 02:31:03 +00:00
3574b70efc
Somewhere along the line, MAKE_LINKS got broken, thereby breaking 'make install'. Fix that.
Eric Andersen
2001-02-23 02:16:29 +00:00
8079b155c2
Argh. I should know to compile first.
Eric Andersen
2001-02-23 02:04:33 +00:00
bbc8e4789f
Only default to BB_FEATURE_NEW_MODULE_INTERFACE when BB_FEATURE_OLD_MODULE_INTERFACE is not defined. -Erik
Eric Andersen
2001-02-23 02:00:35 +00:00
2f3105725f
Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACE is enabled. -Erik
Eric Andersen
2001-02-23 01:58:18 +00:00
5723934f7c
Yet another fix. I think I got it this time. -Erik
Eric Andersen
2001-02-23 01:39:26 +00:00
41492d6c23
I should be more careful...
Eric Andersen
2001-02-23 00:05:56 +00:00
c163e5107f
Turn off the printf attribute for the ?error_msg* functions, since it is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik
Eric Andersen
2001-02-22 23:38:48 +00:00
544891dd26
Add in kent robotti's updated dos2unix.c
Eric Andersen
2001-02-22 23:37:30 +00:00
adea7a6101
Fix up Makefile -- uClibc nfs works these days
Eric Andersen
2001-02-22 23:36:30 +00:00
4b2e69a1cf
Commit a few updates to the usage messages.
Eric Andersen
2001-02-22 23:32:59 +00:00
e13bc0bc68
First pass at making up an automagical usage message extractor, which will be used (when it works) to autogenerate documentation. Based on code written by Mark Whitley.
Eric Andersen
2001-02-22 22:47:06 +00:00
ffc40bf3de
Account for remainder, and reset page_height for each and every page.
Eric Andersen
2001-02-22 21:49:32 +00:00
b2007bffc5
Make busybox and busybox-static conflict/replace each other
Eric Andersen
2001-02-22 05:21:35 +00:00
5d9cad0253
Fix malformed build-depends. Update list of bugs to close -Erik
Eric Andersen
2001-02-22 05:08:16 +00:00
7aa1f5c42a
Make md5sum not display filename when reading stdin -Erik
Eric Andersen
2001-02-22 04:59:16 +00:00
dbcd8ce464
Make init compile when DEBUG_INIT is enabled -Erik
Eric Andersen
2001-02-22 04:55:33 +00:00
7e9276b50a
Another update to the way usage messages are done by Evin Robertson <nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik
Eric Andersen
2001-02-22 01:15:47 +00:00
8fc300976f
Revert my change to do extra termType checking. That is done elsewhere. Silly me. -Erik
Eric Andersen
2001-02-22 00:50:20 +00:00
be30a6b8b0
Adjust the terminal height for any overlap, so that no lines get lost off the top -Erik
Eric Andersen
2001-02-22 00:22:46 +00:00
54006bce25
Oops! I left in my debug noise.
Eric Andersen
2001-02-21 00:27:22 +00:00
7c3e7ac940
df was totally broken. So I fixed it. -Erik
Eric Andersen
2001-02-21 00:24:51 +00:00
8d7bdc9deb
Small patch from Kent Robotti to show megabytes in human-readable output.
Mark Whitley
2001-02-20 21:57:55 +00:00
9e37007edb
Minor cleanup.
Eric Andersen
2001-02-20 21:52:49 +00:00
90fe7fea10
Apply a patch from Magnus Damm <damm@opensource.se> to support powerpc with busybox insmod -Erik
Eric Andersen
2001-02-20 20:47:08 +00:00
477aedd77f
Commit a patch from Erik Gustavsson <cyrano@algonet.se>, to allow environment variables set from the kernel command line to be inherited bu application programs. Slightly changed to special case handling of TERM, so that it has sane defaults when on a serial console. -Erik
Eric Andersen
2001-02-20 18:01:50 +00:00
5165fbed63
Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it after busybox.h is included.
Eric Andersen
2001-02-20 06:42:29 +00:00
caeeb36784
This fixes lash so it handles environment variable expansion, regardless of where the environment variables are located in an argument. This allows things like 'echo foo$1$SHELL' to expand the same way bash would expand it. Of course, to make this work I introduced a memory leak, and I am too tired to find a way to fix it. -Erik
Eric Andersen
2001-02-20 06:38:44 +00:00
a183f05825
Cleanup the use of 'find' to prevent error msgs. -Erik
Eric Andersen
2001-02-20 06:22:54 +00:00
f1142c5b11
Oops. Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPS -Erik
Eric Andersen
2001-02-20 06:16:29 +00:00
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h 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
Eric Andersen
2001-02-20 06:14:08 +00:00
94456f5984
Put back Vladimir's testing defines, which I mistakenly removed.
Eric Andersen
2001-02-18 20:26:48 +00:00
12dceb1147
A few more cleanups from Vladimir.
Eric Andersen
2001-02-18 20:15:36 +00:00
963791a9e9
Another patch from Vladimir to eliminate obsolete junk.
Eric Andersen
2001-02-18 20:13:18 +00:00
f1bbb22dca
A small cleanup by Vladimir
Eric Andersen
2001-02-18 20:12:25 +00:00
f57a832063
Remove leftover junk
Eric Andersen
2001-02-18 20:11:38 +00:00
b50da53e0c
Get rid of long stale usage message code. -Erik
Eric Andersen
2001-02-17 16:52:35 +00:00
966b3a6f79
More updates from Larry Doolittle. Don't use basedir, Don't assume random makefiles are going to work with busybox.
Eric Andersen
2001-02-17 15:56:52 +00:00
1cf8166329
More updates.
Eric Andersen
2001-02-17 15:55:15 +00:00
47aea4ee71
Ignore applet_source_list
Eric Andersen
2001-02-17 03:08:32 +00:00
19f86207f5
Update the build system for pristine source directory builds. This update is primarily work done by Larry Doolittle, but I did some touchups of my own to make it work for me, -Erik
Eric Andersen
2001-02-17 00:42:47 +00:00
69c8572f29
Update the debian build stuff -Erik
Eric Andersen
2001-02-17 00:41:05 +00:00
f6a7227fd6
Throw out the obsolete INIT_CHROOT junk
Eric Andersen
2001-02-17 00:40:32 +00:00
28a78ab62c
Several features were hard coded on. Stop that. List tab completion as working (thanks Vladimir!) and taking 4k. -Erik
Eric Andersen
2001-02-16 20:26:50 +00:00
6faae7deb4
Commit Vladimir's latest cmdedit. I modified it slightly to ensure parse_prompt() would be called before cmdedit_init(), since cmdedit_init() calls cmdedit_setwidth() which uses cmdedit_prmt_len, which is set by parse_prompt(). Also, added a mod, so very narrow terminals should now wrap properly... This is working very nicely for me -- Vladimir has done some very good work.
Eric Andersen
2001-02-16 20:09:17 +00:00
361ee514c6
Revert multibuild.pl change.
Eric Andersen
2001-02-16 19:07:21 +00:00
ca0f458ada
Regression testing bugfixes from Larry Doolittle. As an aside, can I just say how much I am looking forward to having 0.50 released, so we can address this #define stupidness properly by building a static libbusybox, and then letting the linker sort out the dependancies.... Ahh, that will be much nicer. -Erik
Eric Andersen
2001-02-16 18:43:54 +00:00
733c4ad6eb
Do usage messages the same way all other apps fo them. Skip printing of available options (can't do this easily). Based on a patch by Larry Doolittle. -Erik
Eric Andersen
2001-02-16 18:41:12 +00:00
fa4f146d7d
Patch from Larry Doolittle to cross things in multibuild.pl
Eric Andersen
2001-02-16 18:37:00 +00:00
5f2c79d8c7
Make ar be crossed.
Eric Andersen
2001-02-16 18:36:04 +00:00
af12bc6de4
Make dpkg require dpkg-deb
Eric Andersen
2001-02-16 18:35:06 +00:00
3f5bcbfa3c
Fix warning for implicit declaration of time()
Glenn L McGrath
2001-02-16 10:33:30 +00:00
825ae5a166
Another small formatting change from Larry Doolittle.
Mark Whitley
2001-02-15 23:31:40 +00:00
99806ad2bd
Applied patch from Larry Doolittle that does the following: - style changes - It actually returns the code computed by INET_setroute (wasn't being done properly before) - The displayroute() format string now matches net-tools
Mark Whitley
2001-02-15 23:00:48 +00:00
d69d2da165
use perror_msg instead of perror to print the applet name. -Erik
Eric Andersen
2001-02-15 20:12:05 +00:00
b50d707633
fix a few mallocs to be xmallocs. -Erik
Eric Andersen
2001-02-15 19:50:11 +00:00
02b9f42a27
Patch from Matt Kraai to fix bug #1103. I've tested it, and it indeed seems to fix things. -Erik
Eric Andersen
2001-02-15 19:07:43 +00:00
81bcc92c32
Fixed 'ls -s' so it actually displays block sizes again. -Erik
Eric Andersen
2001-02-15 18:59:02 +00:00
8305006f7c
Make usage.c depend on usage.h -Erik
Eric Andersen
2001-02-14 21:52:18 +00:00
c1c43113b4
Fins find message.
Eric Andersen
2001-02-14 21:51:54 +00:00
3ec8ffb121
I forgot to add usage.h, so here it is, with a few extra cleanups. Also update show_usage to handle the updated usage.h. Again, nearly all the work to get usage.h into shape was done by Manuel Novoa III. -Erik
Eric Andersen
2001-02-14 21:46:30 +00:00
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
Eric Andersen
2001-02-14 21:23:06 +00:00
68be2ab914
implemented displayroute() based on a patch from Vladimir N. Oleynik, so now route behaves as expected w/o any arguments.
Eric Andersen
2001-02-14 19:26:39 +00:00
98e599ca06
Commit Vladimir's latest version of stty.c. Nice work. -Erik
Eric Andersen
2001-02-14 18:47:33 +00:00
ec45595300
Add in ifconfig and route
Eric Andersen
2001-02-14 08:11:27 +00:00
88a5ceb450
Bump rev to 0.50pre.
Eric Andersen
2001-02-14 07:55:19 +00:00
fc83c4c353
Several cleanups from Manuel Novoa III.
Eric Andersen
2001-02-14 07:15:30 +00:00
6fd8c664c1
Apply a patch from Evin Robertson -- new pivot_root applet. -Erik
Eric Andersen
2001-02-13 20:04:30 +00:00
3af1f88725
Closer integration with dpkg-deb and other busybox functions. Hopefully simplified some code (works for me).
Glenn L McGrath
2001-02-12 11:33:09 +00:00
dadf9c6dcd
New dpkg-deb option, warning about dpkg usage
Glenn L McGrath
2001-02-12 11:27:45 +00:00
821fbf0f42
New option 'list' produces output that can be used for the packages .list file. Will be used be bb dpkg
Glenn L McGrath
2001-02-12 11:16:26 +00:00
bc9afadecd
New function, deb-extract to be used by dpkg, code cleanups. saves some bytes
Glenn L McGrath
2001-02-11 03:32:41 +00:00
728875f340
Consmetic changes
Glenn L McGrath
2001-02-11 03:15:57 +00:00
631064613f
More style changes
Glenn L McGrath
2001-02-11 01:40:23 +00:00
0c9d77ccfd
Style changes; use get_line_from_file from utilities
Glenn L McGrath
2001-02-11 00:17:22 +00:00
de556615dc
BB_DPKG uses copy_file
Glenn L McGrath
2001-02-10 14:53:44 +00:00