aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2001-02-01Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen
to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik
2001-02-01Create find_applet_by_name function. Save 32 bytes.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-31If the ioctl fails to tell us the winsize, default to 79.Eric Andersen
-Erik
2001-01-30Patch from Bryan Rittmeyer -- be more conservative by defaultEric Andersen
with the lash prompt. -Erik
2001-01-30Fix the pwd and group functions. The bb_ stuff was a leftover fromEric Andersen
a brief past that mercifully (except for this) never made it into CVS. -Erik
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen
functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
2001-01-26Applied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completionMark Whitley
in Busybox shell. (Thanks, Vlad.)
2001-01-26Fixed a li'l thinko.Mark Whitley
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-23Bug fix.Eric Andersen
2001-01-20More printf cleanupsEric Andersen
2001-01-18Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai
Vladimir N. Oleynik.
2001-01-05Needs to be NULL at init in all cases.Eric Andersen
2001-01-05Patch from larry doolittle to be ever so careful to cleanupEric Andersen
all open file descriptors, lest wierdness happen later.
2001-01-05Better label the globals.Eric Andersen
2001-01-05Patch from Larry Doolittle to set values to static variables that live in theEric Andersen
bss at runtime, since sh.c can call sh.c, which causes these variables to not be set to their defaults as god intended. -Erik
2001-01-05Fix a segfault by only constructing the prompt when we need to. If we don'tMatt Kraai
do this we will segfault processing /etc/.profile since cwd isn't yet set.
2001-01-04Move window size handling to cmdedit.c. Move prompt setup to ↵Eric Andersen
setup_prompt_string()
2001-01-04Update interface per what now exists...Eric Andersen
2001-01-04Cleanup -- move win handling to cmdedit.c, static-ify many functions.Eric Andersen
2000-12-22Cleanup from Gennady Feldman <gfeldman@mail.com>Eric Andersen
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-21Another sh.c patch from Larry Doolittle. This makes redirects work properlyEric Andersen
with non-forking shell builtins. Especially helpful for "read". This patch also beautifies builtin_fg_bg, clarifies the problems with run_command_predicate, makes if/then/else support the default, and corrects the sense of the BB_FEATURE_SH_ENVIRONMENT comment.
2000-12-20Fix a warning in sh.c. Remove use of getline() in md5sum sinceEric Andersen
nobody else uses it and it is a GNU extension anyways...
2000-12-18Ok, this is a pretty major update to sh.c. I renamed all the variables andEric Andersen
function names to conform with the style guide. I also did a lot of work on the if-then-alse-fi logic and added prototype (i.e. it segfaults when enabled) line continuation support. Furthermore, this patch includes Larry Doolittle's work on restructuring some of the data structures that represent the job and child_program, allowing several simplifications and fixing several bugs. -Erik
2000-12-12Mem leak fix from Matt KraaiEric Andersen
2000-12-11Patch from Matt Kraai to fox sh.c escape problem such thatEric Andersen
running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"' behave as under bash.
2000-12-08Put in i to getopt, so i will work...Eric Andersen
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-06Bettwr document the hidden internal sh.c #defines, and which folksEric Andersen
might want to use...
2000-12-06patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WINEric Andersen
to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.
2000-12-01Remove #ifdef __STDC__ junk. We don't do K&R round these parts,Eric Andersen
so no point acting like we do.
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-30Apply some patches from Gennady Feldman <gfeldman@mail.com> toEric Andersen
. /etc/profile, and to emulate bash prompt. I've cleaned up his patches a bit and all looks good now...
2000-11-30Patch from Larry Doolittle (with minor touchups from me so everything compilesEric Andersen
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
2000-11-30Fix escape char problem.Eric Andersen
2000-11-17"I will always compile before I commit."Eric Andersen
"I will always compile before I commit." "I will always compile before I commit." -Erik
2000-11-17Fix up builtin overrides, and hack in the binary search for findingEric Andersen
matching applets into the shell.
2000-11-17Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN.Eric Andersen
Make the sh default to using external commands when a path is provided.
2000-11-14Patch from Gennady Feldman <gfeldman@tradeline.net> to:Eric Andersen
1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter).
2000-11-07Cleanup of duplicated symbols -- found by compiling withEric Andersen
LDFLAGS += -Wl,-warn-common
2000-11-02Warning cleanup from Gennady FeldmanEric Andersen
-Erik
2000-09-27Consolidate handling of some fopen failures.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-21Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>)Eric Andersen
and disable backticks (since they are still wierdly broken in some cases.
2000-09-19I think these featires are fairly safe...Eric Andersen
-Erik
2000-09-19Avoid segfaults by not using snprintf to copy strings.Matt Kraai
2000-09-15"exit NUMBER" should exit, not returnPavel Roskin