aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-11-12Use fopen wrapper.Matt Kraai
2001-11-10Some more minor build cleanupsEric Andersen
2001-11-10Cleanup some config problems. Add a sane default config that basicallyEric Andersen
matches the default old Config.h
2001-10-31Patch from Aaron Lehmann <aaronl@vitelus.com>;Eric Andersen
This diff does 2 things: 1) removes an unnecessary function. saves 64 bytes on i386 2) allows you to disable checking of mail (actually, it's now disabled by default). this would be a nice CML1 option, but for now it's a #(define|undef) in the C file like the other internal ash options. this saves an additional 352 bytes if you leave mail disabled.
2001-10-31Fixup some silly prototype warningsEric Andersen
2001-10-31Patch from ASA <llb@udm.net.ru> to that source filesEric Andersen
are properly passed their arguments.
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-24Fixup the location of pwd.h and grp.hEric Andersen
2001-10-24Patch from vodz:Eric Andersen
1) complete true: $ > /tmp/tmpfile 2) the builtin pwd now does not unwrap symlinks 3) reduce 680 bytes
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-19Add an option to make the shells not advertise their busybox natureEric Andersen
2001-10-19Remove the now unused ARITH_* definesEric Andersen
-Erik
2001-10-18Scrub up some function prototypes.Eric Andersen
-Erik
2001-10-03Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingEric Andersen
on serial ports
2001-09-11Commit my changes to xxreadtoken() to reduce code size. Also set definesManuel Novoa III
so that the table implementations of copynode, calcsize, and cmdtxt are used. Hopefully this will result in wider testing. ;-) If it breaks, just unset the appropriate defines.
2001-09-06define IFS_BROKENEric Andersen
2001-09-06Patch from vodz to make ash cope with leading redirectionsEric Andersen
(i.e. '2>/dev/null ls rubbish') will now work.
2001-08-22Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPEric Andersen
is enabled
2001-08-12I stupidly forgot one level of pointer indirection in the cmdtxt(), calcsize(),Manuel Novoa III
and copynode() table implementations. Commit the fix but keep them disabled until others check them out. Uncomment "//#define CMDTXT_TABLE", "//#define CALCSIZE_TABLE", and "//#define COPYNODE_TABLE" to try them out. Saves over 600 bytes on i386.
2001-08-10Fix a merging errorEric Andersen
2001-08-10A few bug fixes and significant size savings. Combined effort ofManuel Novoa III
Vladimir N. Oleynik dzo@simtreas.ru, Aaron Lehmann aaronl@vitelus.com, and myself.
2001-08-10Small size optimization from Aaron LehmannEric Andersen
2001-08-10Fix stupid grammar error.Eric Andersen
2001-08-06Add support for underscores in variable names.Matt Kraai
2001-08-02Teach libc5 what a sighandler_t isEric Andersen
-Erik
2001-08-02Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingEric Andersen
for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik
2001-08-02Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen
math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
2001-08-01Allow multiple shells to be enabled.Matt Kraai
2001-07-31Fix the let builtin (so we can close bug #1196) and remove theEric Andersen
nonstandard exp builtin. -Erik
2001-07-30This incorporates Posix math support into ash. The Posix math supportEric Andersen
was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
2001-07-26char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)Russ Dill
2001-07-22Some patches to make dietlibc work...Eric Andersen
2001-07-17Cleanup from vodzEric Andersen
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-07-12Allow assignments in the export and readonly commands.Matt Kraai
2001-07-12Remove debugging statement.Matt Kraai
2001-07-10Fix a stupid search and replace bug...Eric Andersen
2001-07-10vodz' latest update to ash.cEric Andersen
2001-07-07Add in a shell tagline (per lash/hush behavior) to make it easierEric Andersen
to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
2001-07-06This is vodz' latest ash update.Eric Andersen
2001-07-05A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS wasEric Andersen
totally breaking the shell. Simple thinge like 'FOO=100' caused it to segfault. It turns out that disabling "bltincmd" is a very bad idea. -Erik
2001-07-02Some updates to ash from vodz. Makes ash smaller. I made a fewEric Andersen
changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration.
2001-07-02Patch from vodz to fix freeing a static in cmdedit.Eric Andersen
2001-06-29This is a busybox port of the Minix shell. It is reasonably capable,Eric Andersen
handles all the basic stuff (for, case/esac, while, if/then/else), and is very small (adds just 38k on x86). It is not as rigorously correct about Bourne semantics as bash, but for most things it is quite workable. There is still some work to be done to further shrink it (it has its own globbing functions instead of using the libc ones, for example), but it is quite usable as is. -Erik
2001-06-28Remove vodz from credits, per his requestEric Andersen
2001-06-28Scrub up the licensing blockEric Andersen
-Erik
2001-06-28This a an ash applet I put together. It is similar to the one putEric Andersen
together by vodz, but uses newer sources, has the removed features commented out instead of simply deleted (so they could be re-enabled) and the builtins all work. This adds 72k. -Erik
2001-06-28Remove unneeded stuff.Eric Andersen