Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-07-12 | Patch 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-12 | Allow assignments in the export and readonly commands. | Matt Kraai | |
2001-07-12 | Remove debugging statement. | Matt Kraai | |
2001-07-10 | Fix a stupid search and replace bug... | Eric Andersen | |
2001-07-10 | vodz' latest update to ash.c | Eric Andersen | |
2001-07-07 | Add in a shell tagline (per lash/hush behavior) to make it easier | Eric 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-06 | This is vodz' latest ash update. | Eric Andersen | |
2001-07-05 | A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS was | Eric 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-02 | Some updates to ash from vodz. Makes ash smaller. I made a few | Eric Andersen | |
changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration. | |||
2001-07-02 | Patch from vodz to fix freeing a static in cmdedit. | Eric Andersen | |
2001-06-29 | This 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-28 | Remove vodz from credits, per his request | Eric Andersen | |
2001-06-28 | Scrub up the licensing block | Eric Andersen | |
-Erik | |||
2001-06-28 | This a an ash applet I put together. It is similar to the one put | Eric 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-28 | Remove unneeded stuff. | Eric Andersen | |
2001-06-28 | More thrashing about trying to make hush behave itself wrt job | Eric Andersen | |
control... | |||
2001-06-27 | don't whine if all we need to do is remove a bg job | Eric Andersen | |
2001-06-27 | Re-enable globbing (I'd accidentaly removed it) and finish off the last | Eric Andersen | |
of the job control polishing. Works fine now. -Erik | |||
2001-06-26 | Explicitly call setsid() | Eric Andersen | |
2001-06-26 | Don't choke if /etc/profile is not available | Eric Andersen | |
2001-06-26 | Vladimir's last_patch_15 | Glenn L McGrath | |
2001-06-25 | Fix the code for establishing a controlling terminal. | Eric Andersen | |
-Erik | |||
2001-06-25 | This should finish off the job control issues with lash. Make certain | Eric Andersen | |
we have a controlling terminal... -Erik | |||
2001-06-22 | Some more cleanups. Of special importance, never free a pipe | Eric Andersen | |
that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik | |||
2001-06-22 | Some cleanups for hush. Saves about 350bytes. | Eric Andersen | |
-Erik | |||
2001-06-21 | This 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-07 | Another 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-06 | A patch from Larry to fix pathological things like '>""' | Eric Andersen | |
2001-06-05 | Don't close file descriptors when we are duplicating them. | Matt Kraai | |
2001-05-31 | Cope gracefully when people type something, then hit ^C. | Eric Andersen | |
-Erik | |||
2001-05-31 | Patch from Vladimir to fix up autocompletion on a files/dirs with spaces in | Eric 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-24 | Plug another memory leak | Eric Andersen | |
2001-05-23 | Plug another memory leak in hush. This one showed up when backticked | Eric Andersen | |
commands were run. This one was sure a bugger to find. -Erik | |||
2001-05-23 | Fix 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-23 | Patch from larry to fix some grammar errors. | Eric Andersen | |
2001-05-23 | Commit a patch by Larry Doolittle which fixes recursive calls to file_peek, | Matt Kraai | |
and improves some debugging messages. | |||
2001-05-22 | Excellent. This patch from Larry fixes the behavior of hush | Eric Andersen | |
when builtins are included in pipes. | |||
2001-05-22 | Fix 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-22 | Fix a race. Sometimes by the time we got to checkjobs(), the | Eric Andersen | |
pipe struct had already been freed. Return immediately if the pipe is NULL. | |||
2001-05-22 | Oops. Remove some debug noise I left in. | Eric Andersen | |
2001-05-22 | Updates from both Vladimir and Larry | Eric Andersen | |
2001-05-21 | Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bug | Eric Andersen | |
#1130 (i.e. When you turn on features it should always ADD features) | |||
2001-05-21 | The latest patch from Larry | Eric Andersen | |
2001-05-19 | This is a patch from Vladimir: | Eric Andersen | |
> I rewrite *local_variable* function in hush.c with: > 1) remove many memory leaks > 2) add support read_only protect (require write builtin function for set this, > I write this special for variable HUSH_VERION=0.01) > 3) commad read set only local variable now > 4) remove many error messages if "set unset export" not defined variable > (bash syntax not put and set error code). Hmm, if I set result to -1, you hush > called waitpid and returned with error "no waitpid" ( i not found place this > error). > 5) destroy error in new version check xgetcwd()==NULL and set "(unknow)" - > this have error: crashe in next call `pwd`, but xgetcwd(not null) called > free(arg). > 6) next add integraion with libbb Valdimir's patch missed two cases of local variable handling FOO=bar export FOO=baz unset FOO and export FOO=bar FOO=baz which were working before, so I fixed those two cases. | |||
2001-05-17 | It turns out job control in both hush and lash was broken by the | Eric Andersen | |
signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik | |||
2001-05-16 | Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c | Matt Kraai | |
by Larry Doolittle. | |||
2001-05-16 | Move init of a bunch of globals into main so we are at least | Eric Andersen | |
a bit more reentrant. -Erik | |||
2001-05-15 | Fix the behavior of local shell variables to match that of bash and ash. | Eric Andersen | |
-Erik | |||
2001-05-15 | Oops. I left in some debug noise. | Eric Andersen | |
2001-05-15 | Write set_local_var() and fixup lookup_param() so you can now use | Eric Andersen | |
shell local variables. -Erik |