summaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* last_patch116 from vodz:Eric Andersen2003-10-221-10/+18
| | | | | | | | | | | | | | | | | | | | | | | Stephane, >Using busybox+uclibc, crond syslog messages look like: > >Oct 9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, >started, log level 8 Thanks for testing. >The attached patch corrects the problem. Your patch is not correct. Correct patch attached. Also. Last patch have - add "Broken pipe" message to ash.c - busybox ash synced with dash_0.4.18 --w vodz
* Andreas Mohr writes:Eric Andersen2003-10-221-8/+9
| | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
* Patch by Junio C Hamano to workaround a gcc compiler bug.Glenn L McGrath2003-09-171-22/+23
| | | | | | | | | | | | | | | | | | | The construct certain vintages of GCC (the one I have trouble with is 3.2.3) have trouble with looks like the following: static struct st a; static struct st *p = &a; struct st { int foo; }; static void init(void) { a.foo = 0; } The problem disappears if we move the struct declaration up to let the compiler know the shape of the struct before the first definition uses it, like this: struct st { int foo; }; /* this has been moved up */ static struct st a; static struct st *p = &a; static void init(void) { a.foo = 0; }
* Patch from Bastian Blank to fix a problem when runing find under ash.Glenn L McGrath2003-09-151-3/+3
| | | | | | | | | | "If the shell is compiled with -DJOBS, this is all fine -- find wasn't stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG. However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i), only WSTOPSIG is used, which extracts the high byte instead of the low byte from the status code. Since the status code is 13 (SIGPIPE), "st" suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints out "EXIT" on find's exit."
* Patch by Jean Wolter to fix a bug where a script wouldnt be executedGlenn L McGrath2003-09-151-1/+4
| | | | | | | | | | | | unless it had #!/bin/sh in the first line "It correctly locates the script, tries to execute it via execve which fails. After that it tries to hand it over to /bin/sh which fails too, since ash - neither provides the absolute pathname to /bin/sh - nor tries to lookup the script via PATH if called as "sh script" "
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen2003-09-151-5/+3
| | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik
* config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must dependEric Andersen2003-09-121-1/+1
| | | | on CONFIG_FEATURE_SH_STANDALONE_SHELL.
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-022-5/+4
| | | | | constant. Vodz last_patch_107
* Fix compile error and reducing size for libbb/get_console.c to previous size.Glenn L McGrath2003-09-011-2/+2
| | | | Vodz last_patch106
* vodz, last patch 103Glenn L McGrath2003-08-291-64/+45
|
* Rewrite timescmd() function to avoid the use of floating point and toManuel Novoa III2003-08-131-16/+24
| | | | | correct a bug in the seconds display where something like 65 seconds would be output as "1m65.000000s".
* Use the new 'select' option to make the shell configEric Andersen2003-08-081-38/+27
| | | | | much less evil and far more obvious. -Erik
* Latest dash update from vodzEric Andersen2003-08-061-152/+909
|
* Merge/rework config system per the latest from linux-2.6.0-test2.Eric Andersen2003-08-051-1/+1
| | | | | Fix the config bugs revealed by the updated config system. -Erik
* Fixup typo noticed by Nick FedchikEric Andersen2003-07-291-1/+1
|
* Vladimir N. Oleynik writes:Eric Andersen2003-07-292-33/+97
| | | | | | | | Last patch have synced form Manuel Nova III xxreadtoken() function, corrected (C) form dash debian/copyright, removed my small mistake with IFS_BROKEN (thanks by Herbert), and synced cmdedit.c from current CVS (removed libc5 support, your email correction, my (C) year corertion).
* This is synced from dash-0.4.17 and full ready for insert to new busyboxEric Andersen2003-07-282-6805/+7203
| | | | | | | | | | | version: ftp://ftp.simtreas.ru/pub/my/bb/new News: - code is smalest! - support ${var...} expr - used new very strongly steal controlling terminal
* Document CONFIG_ASH_CMDCMDEric Andersen2003-07-221-1/+3
|
* Patch from Terje Kvernes adding quite a lot of missing documentationEric Andersen2003-07-221-2/+3
|
* Remove remaining libc5 support codeEric Andersen2003-07-221-5/+0
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-147-16/+17
|
* Patch from Thomas Cameron:Eric Andersen2003-07-141-21/+21
| | | | | | | | | | | Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
* Patch from Kent Robotti adding a bunch of menuconfig helpEric Andersen2003-07-031-19/+21
|
* Major coreutils update.Manuel Novoa III2003-03-195-100/+99
|
* Patch from Jonas Holmberg, adjusted by Robert Schwebel, andEric Andersen2003-03-141-55/+144
| | | | later re-adjusted by me to fix msh backtick handling
* Only call free if it is necessaryEric Andersen2003-01-141-1/+2
|
* Minor cleanup, identified by Stewart Brodie, patch by Vladimir N.Glenn L McGrath2003-01-061-7/+4
| | | | Oleynik
* Correct column width for tab completion and lsGlenn L McGrath2003-01-061-19/+39
|
* Fix tab-tab listing of files so it properly reflects currentEric Andersen2003-01-021-3/+2
| | | | | terminal width. -Erik
* Fix STANDALONE_SHELL and ALWAYS_WIN options, last_path_73 by Vladimir N. OleynikGlenn L McGrath2002-12-231-9/+23
|
* Small bugfix, last_patch72 from Vladimir N. OleynikGlenn L McGrath2002-12-111-1/+1
|
* Fixup all the horrible broken function prototypesEric Andersen2002-12-111-37/+29
| | | | -Erik
* Squash a warning by making function declaration a proper prototypeEric Andersen2002-12-111-1/+1
|
* Command line history changes, lastpatch_71 from Vladimir N. OleynikGlenn L McGrath2002-12-094-38/+77
|
* Allow for people to select no default shellEric Andersen2002-12-061-1/+4
|
* Make hush comple once againEric Andersen2002-12-061-1/+1
|
* Yet another major rework of the BusyBox config system, using the considerablyEric Andersen2002-12-052-63/+208
| | | | | | | | modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
* - the number of commands in the history list is now configureable via theRobert Griebl2002-12-034-1/+69
| | | | | | | config system - added a new config option to allow persistant history lists. This is currently only used by ash, but the calls ({load,save}_history) could be added to the other shells as well.
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-282-11/+6
|
* last_patch_68 from Vladimir N. OleynikGlenn L McGrath2002-11-271-100/+62
|
* Teach lash to get $1 $2 $3 etc correctEric Andersen2002-11-081-1/+1
| | | | -Erik
* Fix warningEric Andersen2002-10-221-0/+1
|
* Apply last_patch51_3 from vodzEric Andersen2002-10-221-1/+15
|
* Use %m, not strerror, and strerror(err) was broken anyways and should have beenEric Andersen2002-09-301-1/+1
| | | | strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru>
* Don't even try to run ash on uClinux. It won't work.Eric Andersen2002-09-301-4/+4
| | | | -Erik
* Avoid calling exit() from within fork/vfork'ed processes.Eric Andersen2002-09-261-3/+7
| | | | -Erik
* Patch from "Joe.C" <joe@numa.com.tw>Eric Andersen2002-09-171-1/+14
|
* Some CML1 grammar fixesEric Andersen2002-09-011-1/+2
| | | | -Erik
* Apply vodz last_path_51-2Glenn L McGrath2002-08-231-395/+171
|
* Run through indent, fix commentsGlenn L McGrath2002-08-221-2790/+2705
|