aboutsummaryrefslogtreecommitdiff
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Change strdup calls to xstrdup (patch from Steve Merrifield).Gravatar Matt Kraai2001-11-122-4/+4
|
* Use fopen wrapper.Gravatar Matt Kraai2001-11-121-4/+2
|
* Some more minor build cleanupsGravatar Eric Andersen2001-11-101-13/+5
|
* Cleanup some config problems. Add a sane default config that basicallyGravatar Eric Andersen2001-11-101-0/+4
| | | | matches the default old Config.h
* Patch from Aaron Lehmann <aaronl@vitelus.com>;Gravatar Eric Andersen2001-10-311-26/+24
| | | | | | | | | | | 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.
* Fixup some silly prototype warningsGravatar Eric Andersen2001-10-311-3/+3
|
* Patch from ASA <llb@udm.net.ru> to that source filesGravatar Eric Andersen2001-10-311-6/+25
| | | | are properly passed their arguments.
* Add in some (theoretical) uClinux support. Some init cleanupsGravatar Eric Andersen2001-10-283-3/+21
|
* Fixup the location of pwd.h and grp.hGravatar Eric Andersen2001-10-242-3/+3
|
* Patch from vodz:Gravatar Eric Andersen2001-10-241-133/+30
| | | | | | 1) complete true: $ > /tmp/tmpfile 2) the builtin pwd now does not unwrap symlinks 3) reduce 680 bytes
* Major rework of the directory structure and the entire build system.Gravatar Eric Andersen2001-10-247-105/+199
| | | | -Erik
* Add an option to make the shells not advertise their busybox natureGravatar Eric Andersen2001-10-194-2/+11
|
* Remove the now unused ARITH_* definesGravatar Eric Andersen2001-10-191-27/+1
| | | | -Erik
* Scrub up some function prototypes.Gravatar Eric Andersen2001-10-181-19/+12
| | | | -Erik
* Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingGravatar Eric Andersen2001-10-031-1/+7
| | | | on serial ports
* Commit my changes to xxreadtoken() to reduce code size. Also set definesGravatar Manuel Novoa III2001-09-111-5/+85
| | | | | | 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.
* define IFS_BROKENGravatar Eric Andersen2001-09-061-1/+2
|
* Patch from vodz to make ash cope with leading redirectionsGravatar Eric Andersen2001-09-061-2/+9
| | | | (i.e. '2>/dev/null ls rubbish') will now work.
* Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPGravatar Eric Andersen2001-08-221-2/+2
| | | | is enabled
* I stupidly forgot one level of pointer indirection in the cmdtxt(), calcsize(),Gravatar Manuel Novoa III2001-08-121-19/+23
| | | | | | | 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.
* Fix a merging errorGravatar Eric Andersen2001-08-101-2/+1
|
* A few bug fixes and significant size savings. Combined effort ofGravatar Manuel Novoa III2001-08-101-1178/+1063
| | | | | Vladimir N. Oleynik dzo@simtreas.ru, Aaron Lehmann aaronl@vitelus.com, and myself.
* Small size optimization from Aaron LehmannGravatar Eric Andersen2001-08-101-2/+2
|
* Fix stupid grammar error.Gravatar Eric Andersen2001-08-101-2/+2
|
* Add support for underscores in variable names.Gravatar Matt Kraai2001-08-061-13/+13
|
* Teach libc5 what a sighandler_t isGravatar Eric Andersen2001-08-021-0/+4
| | | | -Erik
* Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingGravatar Eric Andersen2001-08-021-1/+1
| | | | | for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik
* Latest patch from vodz. Adds a check for divide by zero in the posixGravatar Eric Andersen2001-08-022-140/+55
| | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
* Allow multiple shells to be enabled.Gravatar Matt Kraai2001-08-014-9/+9
|
* Fix the let builtin (so we can close bug #1196) and remove theGravatar Eric Andersen2001-07-311-48/+28
| | | | | nonstandard exp builtin. -Erik
* This incorporates Posix math support into ash. The Posix math supportGravatar Eric Andersen2001-07-301-49/+56
| | | | | | | 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
* char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)Gravatar Russ Dill2001-07-261-3/+3
|
* Some patches to make dietlibc work...Gravatar Eric Andersen2001-07-221-1/+1
|
* Cleanup from vodzGravatar Eric Andersen2001-07-171-2/+2
|
* This is vodz' latest patch. Sorry it took so long...Gravatar Eric Andersen2001-07-173-6/+14
| | | | | | | | | 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)
* Patch from vodz:Gravatar Eric Andersen2001-07-126-105/+44
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* Allow assignments in the export and readonly commands.Gravatar Matt Kraai2001-07-121-1/+9
|
* Remove debugging statement.Gravatar Matt Kraai2001-07-121-1/+0
|
* Fix a stupid search and replace bug...Gravatar Eric Andersen2001-07-101-4/+4
|
* vodz' latest update to ash.cGravatar Eric Andersen2001-07-101-1162/+942
|
* Add in a shell tagline (per lash/hush behavior) to make it easierGravatar Eric Andersen2001-07-072-31/+158
| | | | | | to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
* This is vodz' latest ash update.Gravatar Eric Andersen2001-07-061-571/+131
|
* A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS wasGravatar Eric Andersen2001-07-051-6/+2
| | | | | | | 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
* Some updates to ash from vodz. Makes ash smaller. I made a fewGravatar Eric Andersen2001-07-021-2671/+2788
| | | | | changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration.
* Patch from vodz to fix freeing a static in cmdedit.Gravatar Eric Andersen2001-07-021-1/+2
|
* This is a busybox port of the Minix shell. It is reasonably capable,Gravatar Eric Andersen2001-06-291-0/+4799
| | | | | | | | | | 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
* Remove vodz from credits, per his requestGravatar Eric Andersen2001-06-281-4/+2
|
* Scrub up the licensing blockGravatar Eric Andersen2001-06-281-832/+65
| | | | -Erik
* This a an ash applet I put together. It is similar to the one putGravatar Eric Andersen2001-06-281-0/+14242
| | | | | | | 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
* Remove unneeded stuff.Gravatar Eric Andersen2001-06-281-6/+0
|