summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
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
2001-06-28More thrashing about trying to make hush behave itself wrt jobEric Andersen
control...
2001-06-27don't whine if all we need to do is remove a bg jobEric Andersen
2001-06-27Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen
of the job control polishing. Works fine now. -Erik
2001-06-26Explicitly call setsid()Eric Andersen
2001-06-26Don't choke if /etc/profile is not availableEric Andersen
2001-06-26Vladimir's last_patch_15Glenn L McGrath
2001-06-25Fix the code for establishing a controlling terminal.Eric Andersen
-Erik
2001-06-25This should finish off the job control issues with lash. Make certainEric Andersen
we have a controlling terminal... -Erik
2001-06-22Some more cleanups. Of special importance, never free a pipeEric Andersen
that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik
2001-06-22Some cleanups for hush. Saves about 350bytes.Eric Andersen
-Erik
2001-06-21This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen
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
2001-06-07Another hush update from Larry:Eric Andersen
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.
2001-06-06A patch from Larry to fix pathological things like '>""'Eric Andersen
2001-06-05Don't close file descriptors when we are duplicating them.Matt Kraai
2001-05-31Cope gracefully when people type something, then hit ^C.Eric Andersen
-Erik
2001-05-31Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inEric Andersen
them in the presence of a quoting. Also revert my signal handling patch, which seems to not solve the problem I thought it solved.
2001-05-24Plug another memory leakEric Andersen
2001-05-23Plug another memory leak in hush. This one showed up when backtickedEric Andersen
commands were run. This one was sure a bugger to find. -Erik
2001-05-23Fix a massive memory leak in the run_list_test() function.Eric Andersen
Rename run_list_test() as free_pipe_list(). Rename run_pipe_test() as free_pipe(). -Erik
2001-05-23Patch from larry to fix some grammar errors.Eric Andersen
2001-05-23Commit a patch by Larry Doolittle which fixes recursive calls to file_peek,Matt Kraai
and improves some debugging messages.
2001-05-22Excellent. This patch from Larry fixes the behavior of hushEric Andersen
when builtins are included in pipes.
2001-05-22Fix this case. No, really this time.Eric Andersen
unset FOO export FOO=bar FOO=baz echo "global env: " `env | grep ^FOO` echo "local env: " `set | grep ^FOO` -Erik
2001-05-22Fix a race. Sometimes by the time we got to checkjobs(), theEric Andersen
pipe struct had already been freed. Return immediately if the pipe is NULL.
2001-05-22Oops. Remove some debug noise I left in.Eric Andersen
2001-05-22Updates from both Vladimir and LarryEric Andersen
2001-05-21Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-21The latest patch from LarryEric Andersen