summaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Small size optimization from Aaron LehmannEric Andersen2001-08-101-2/+2
|
* Fix stupid grammar error.Eric Andersen2001-08-101-2/+2
|
* Add support for underscores in variable names.Matt Kraai2001-08-061-13/+13
|
* Teach libc5 what a sighandler_t isEric Andersen2001-08-021-0/+4
| | | | -Erik
* Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingEric 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 posixEric 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.Matt Kraai2001-08-014-9/+9
|
* Fix the let builtin (so we can close bug #1196) and remove theEric Andersen2001-07-311-48/+28
| | | | | nonstandard exp builtin. -Erik
* This incorporates Posix math support into ash. The Posix math supportEric 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)Russ Dill2001-07-261-3/+3
|
* Some patches to make dietlibc work...Eric Andersen2001-07-221-1/+1
|
* Cleanup from vodzEric Andersen2001-07-171-2/+2
|
* This is vodz' latest patch. Sorry it took so long...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: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.Matt Kraai2001-07-121-1/+9
|
* Remove debugging statement.Matt Kraai2001-07-121-1/+0
|
* Fix a stupid search and replace bug...Eric Andersen2001-07-101-4/+4
|
* vodz' latest update to ash.cEric Andersen2001-07-101-1162/+942
|
* Add in a shell tagline (per lash/hush behavior) to make it easierEric 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.Eric Andersen2001-07-061-571/+131
|
* A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS wasEric 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 fewEric 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.Eric Andersen2001-07-021-1/+2
|
* This is a busybox port of the Minix shell. It is reasonably capable,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 requestEric Andersen2001-06-281-4/+2
|
* Scrub up the licensing blockEric Andersen2001-06-281-832/+65
| | | | -Erik
* This a an ash applet I put together. It is similar to the one putEric 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.Eric Andersen2001-06-281-6/+0
|
* More thrashing about trying to make hush behave itself wrt jobEric Andersen2001-06-281-16/+18
| | | | control...
* don't whine if all we need to do is remove a bg jobEric Andersen2001-06-271-1/+2
|
* Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen2001-06-271-10/+224
| | | | | of the job control polishing. Works fine now. -Erik
* Explicitly call setsid()Eric Andersen2001-06-261-0/+1
|
* Don't choke if /etc/profile is not availableEric Andersen2001-06-261-8/+7
|
* Vladimir's last_patch_15Glenn L McGrath2001-06-262-42/+52
|
* Fix the code for establishing a controlling terminal.Eric Andersen2001-06-251-28/+42
| | | | -Erik
* This should finish off the job control issues with lash. Make certainEric Andersen2001-06-251-15/+46
| | | | | we have a controlling terminal... -Erik
* Some more cleanups. Of special importance, never free a pipeEric Andersen2001-06-221-27/+52
| | | | | | that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
* Some cleanups for hush. Saves about 350bytes.Eric Andersen2001-06-221-98/+67
| | | | -Erik
* This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen2001-06-211-582/+32
| | | | | | just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik
* Another hush update from Larry:Eric Andersen2001-06-071-14/+16
| | | | | | | Fixes the interaction between if/then/else/fi syntax and variables. I planned to do it right from the beginning, but my implementation was buggy. Also adds the relevant test cases. Also adds some old Matt Kraai variable test cases that got left out somehow.
* A patch from Larry to fix pathological things like '>""'Eric Andersen2001-06-061-5/+13
|
* Don't close file descriptors when we are duplicating them.Matt Kraai2001-06-051-1/+2
|
* Cope gracefully when people type something, then hit ^C.Eric Andersen2001-05-311-1/+4
| | | | -Erik
* Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inEric Andersen2001-05-311-13/+4
| | | | | them in the presence of a quoting. Also revert my signal handling patch, which seems to not solve the problem I thought it solved.
* Plug another memory leakEric Andersen2001-05-241-0/+1
|
* Plug another memory leak in hush. This one showed up when backtickedEric Andersen2001-05-231-0/+1
| | | | | commands were run. This one was sure a bugger to find. -Erik
* Fix a massive memory leak in the run_list_test() function.Eric Andersen2001-05-231-33/+11
| | | | | | Rename run_list_test() as free_pipe_list(). Rename run_pipe_test() as free_pipe(). -Erik
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-2/+2
|
* Commit a patch by Larry Doolittle which fixes recursive calls to file_peek,Matt Kraai2001-05-231-7/+8
| | | | and improves some debugging messages.
* Excellent. This patch from Larry fixes the behavior of hushEric Andersen2001-05-221-1/+3
| | | | when builtins are included in pipes.