Eric Andersen
9670083818
Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.
...
Very cool. Still lacks "chunked" transfer-coding, so not totally RFC
compliant for HTTP1.1, but very nice nonethe less, and very small.
-Erik
2000-09-04 15:15:55 +00:00
Glenn L McGrath
06aeb6c417
ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions.
...
moved copySubFile from ar.c to utilities.c
modified dd.c to use fullWrite
modified copyFile in utilities.c to use copySubFile
2000-08-25 03:50:10 +00:00
Eric Andersen
918507edda
Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
...
I added the docs, and made behavior identical to the GNU version.
-Erik
2000-08-21 22:46:33 +00:00
Eric Andersen
a1f16bba72
Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>
...
-Erik
2000-08-21 22:02:34 +00:00
Eric Andersen
fa405d0cb2
Add in the "reset" command.
...
-Erik
2000-08-21 21:18:52 +00:00
Eric Andersen
501c88b245
More sh updates (with related changes to everything else). Switched
...
to using getopt and cleaned up the resulting mess. if-then-else-fi
is now basically working (given a bunch of constraints).
-Erik
2000-07-28 15:14:45 +00:00
Eric Andersen
bf960f58e2
Added 'renice' command, thanks to Dave Cinege <dcinege@psychosis.com>
...
-Erik
2000-07-21 21:32:12 +00:00
Matt Kraai
27a804246a
Centralize handling of --help.
2000-07-19 19:24:01 +00:00
Matt Kraai
869057238b
Added some missing declarations and fixed some typos. I have to
...
remember to compile *before* committing.
2000-07-19 18:20:02 +00:00
Eric Andersen
ae6eae02dd
Moved some code and add a coupld #defines to support use of dmalloc.
...
-Erik
2000-07-19 17:35:54 +00:00
Pavel Roskin
cc8a66b113
Moved functions used by "lsmod" from cat.c to utility.c
...
Adjusted to make lsmod and sh compilable as standalone apps.
Comment fixes
2000-07-17 20:18:42 +00:00
Pavel Roskin
21ddb38fcf
Now it's possible to compile Busybox with only one app defined
...
(unless it's lsmod, to be fixed by the next commit)
2000-07-17 19:31:54 +00:00
Matt Kraai
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
Eric Andersen
fad04fdd12
More cleanups.
...
-Erik
2000-07-14 06:49:52 +00:00
Eric Andersen
e7413a9cde
A couple of minor warning cleanups.
...
-Erik
2000-07-14 06:19:41 +00:00
Mark Whitley
c41e8c840f
Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
...
(maybe I'll remove it later).
2000-07-12 23:35:21 +00:00
Matt Kraai
3ecbe9f4dc
The applet name isn't constant.
2000-07-12 00:43:28 +00:00
Matt Kraai
7719008a85
Added applet_name to contain the applet name.
2000-07-11 20:03:24 +00:00
Eric Andersen
be909b1cd5
Forgot to commit these cleanups it seems.
...
-Erik
2000-07-11 17:52:22 +00:00
Eric Andersen
61dc057183
Added 'dumpkmap' to allow people to dump a binary keymap, which can then be
...
loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org>
-Erik
2000-07-11 17:29:36 +00:00
Mark Whitley
df5f6ba115
Applied patch from Matt Kraai which does the following:
...
- adds case-insensitive matching in sed s/// epxressions
- consolodates common regcomp code in grep & sed into bb_regcomp and put in
utility.c
- cleans up a bunch of cruft
2000-07-11 16:53:56 +00:00
Eric Andersen
da1d1e763d
Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009 .
...
-Erik
2000-07-10 23:39:44 +00:00
Eric Andersen
0b4551faf5
From Matt Kraai <kraai@alumni.carnegiemellon.edu>:
...
Howdy,
Bug #1006 reports that
ln -s /tmp/foo .
does not work correctly. In fact, it appears that any instantiation of
ln -s FILE... DIRECTORY
does not work. The following patch adds support for this form, which
then fixes the particular instance noted in the bug report.
In the process, I needed the basename function. This appears in the
string.h provided by glibc, but not uC-libc. So I wrote my own to go in
utility.c, called get_last_path_component. I also modified the basename
utility to use this function.
At some point it might be desirous to use the basename from the library
if it exists, and otherwise compile our own. But I don't know how to do
this.
Matt
2000-07-10 16:44:03 +00:00
Eric Andersen
62bb2d02b6
Remove leftovers of block_device, which disapperared around
...
busybox 0.28.
-Erik
2000-07-06 19:46:22 +00:00
Eric Andersen
f7cf2f7ef9
* Fix to tr so it recognizes standard escape sequences. Merged common
...
escape seq. code from tr and echo into utility.c. Fix thanks to
Matt Kraai <kraai@alumni.carnegiemellon.edu>.
* This should close Bug #1015 . Please test.
-Erik
2000-07-05 17:26:35 +00:00
Mark Whitley
1ca41775bb
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from
...
utility.c and replaced them with get_line_from_file() from the new grep.c.
Also changed declaration in internal.h and replaced instances of
cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested
them and they worked fine.
2000-06-28 22:15:26 +00:00
Eric Andersen
a44790f539
Better cross libc support.
...
-Erik
2000-06-28 20:11:28 +00:00
Eric Andersen
10dc9d4d17
Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in
...
/proc/mounts, added a hack to make sysinfo work with both old and new kernels).
-Erik
2000-06-26 10:45:52 +00:00
Pavel Roskin
7ac06a3ff1
Removed all vestiges of "math"
2000-06-21 20:17:29 +00:00
John Beppu
0021679b0d
+ added dc (aka the function formerly known as math)
...
+ did all the housekeeping that this change requires.
2000-06-21 19:06:16 +00:00
Eric Andersen
e63ad9ba06
Special case the memcopy stuff so it isn't enabled for uclibc
...
-Erik
2000-06-20 21:04:03 +00:00
Eric Andersen
bd4a75f6c8
Finish off the libc5 porting effort. Everything now works with libc5
...
except for md5sum, which uses the GNU libc addition getline().
-Erik
2000-06-19 20:03:48 +00:00
Eric Andersen
be5023a84d
Update internal.h to conditionally include asm/string.h
...
-Erik
2000-06-19 17:30:07 +00:00
Eric Andersen
b610615be9
Updates to a number of apps to remove warnings/compile errors under libc5.
...
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
2000-06-19 17:25:40 +00:00
Eric Andersen
74c66ad06e
Fix some spelling errors in the source as well.
...
-Erik
2000-06-16 19:57:44 +00:00
Eric Andersen
2b6ab3cbf8
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
...
-Erik
2000-06-13 06:54:53 +00:00
Eric Andersen
86ab8a32bd
A number of additional fixed from Pavel Roskin, note some more bugs in the
...
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
2000-06-02 03:21:42 +00:00
Erik Andersen
8ea7d8cdaf
First pass at fixing tar segfault, and more portability updates.
...
-Erik
2000-05-20 00:40:08 +00:00
Erik Andersen
330fd2b576
More libc portability updates, add in the website (which has not been
...
archived previously). Wrote 'which' during the meeting today.
-Erik
2000-05-19 05:35:19 +00:00
Erik Andersen
5b46d792f1
Some more portability updates
...
-Erik
2000-05-17 05:24:24 +00:00
Erik Andersen
bcd6177853
BusyBox shell (lash) can now be used as a standalone shell when
...
BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace
sash). Also fixed it so shell builtins now respect pipes and redirects.
-Erik
2000-05-13 06:33:19 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
59b9e87024
* cp -fa now works as expected for symlinks (it didn't before)
...
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
2000-05-10 05:05:45 +00:00
Erik Andersen
94f5e0ba7c
Some accrued fixes/updates.
...
* cp/mv now accepts (and ignores) the -f flag, since it always
does force anyway
* tail can now accept -<num> commands (e.g. -10) for better
compatibility with the standard tail command
* added a simple id implementation; doesn't support supp. groups yet
2000-05-01 19:10:52 +00:00
Erik Andersen
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00
Erik Andersen
227a59b05d
Several more updates
...
-Erik
2000-04-25 23:24:55 +00:00
John Beppu
5a728cfdfe
+ in the interest of robustness, I added
...
utility.c :: cstring_alloc()
utility.c :: cstring_lineFromFile() /* they're at the bottom */
so that I could read in lines of arbitrary length from FILE*s
(instead of using fgets(huge_ass_buffer,...)).
+ I tested it out on sort, and it seems to be fine.
2000-04-17 04:22:09 +00:00
Erik Andersen
f0657d3229
Some enhancements I've been working on over the weekend,
...
-Erik
2000-04-12 17:49:52 +00:00
Erik Andersen
825aead68b
Patch to make killall actually kill all PIDs with the specified name,
...
rather then busylooping trying to kill the first one until it dies.
Should be more efficient now, and will only send one signal to each
specified process.
-Erik
2000-04-07 06:00:07 +00:00
Erik Andersen
93d6513d93
Some more minor updates to better use some gcc attributes.
...
-Erik
2000-04-06 08:06:36 +00:00