aboutsummaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Declare dependencies of command line editing in the build systembug12004-01-032-45/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cmdedit update from Vladimir N. Oleynik (vodz)andersen2003-12-231-22/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8166 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for "Broken pipe" issue, vodz last_patch116_3bug12003-11-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a "broken pipe" problem. vodz, last_patch_116-2bug12003-11-141-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch116 from vodz: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 git-svn-id: svn://busybox.net/trunk/busybox@7701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andreas Mohr writes: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 git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Junio C Hamano to workaround a gcc compiler bug.bug12003-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; } git-svn-id: svn://busybox.net/trunk/busybox@7537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bastian Blank to fix a problem when runing find under ash.bug12003-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." git-svn-id: svn://busybox.net/trunk/busybox@7531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch by Jean Wolter to fix a bug where a script wouldnt be executedbug12003-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" " git-svn-id: svn://busybox.net/trunk/busybox@7528 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)andersen2003-09-151-5/+3
| | | | | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7526 69ca8d6d-28ef-0310-b511-8ec308f3f277
* config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must dependandersen2003-09-121-1/+1
| | | | | | | on CONFIG_FEATURE_SH_STANDALONE_SHELL. git-svn-id: svn://busybox.net/trunk/busybox@7481 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as onebug12003-09-022-5/+4
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compile error and reducing size for libbb/get_console.c to previous size.bug12003-09-011-2/+2
| | | | | | | Vodz last_patch106 git-svn-id: svn://busybox.net/trunk/busybox@7345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vodz, last patch 103bug12003-08-291-64/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite timescmd() function to avoid the use of floating point and tomjn32003-08-131-16/+24
| | | | | | | | correct a bug in the seconds display where something like 65 seconds would be output as "1m65.000000s". git-svn-id: svn://busybox.net/trunk/busybox@7204 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the new 'select' option to make the shell configandersen2003-08-081-38/+27
| | | | | | | | much less evil and far more obvious. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7190 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest dash update from vodzandersen2003-08-061-152/+909
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Merge/rework config system per the latest from linux-2.6.0-test2.andersen2003-08-051-1/+1
| | | | | | | | Fix the config bugs revealed by the updated config system. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup typo noticed by Nick Fedchikandersen2003-07-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir N. Oleynik writes: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). git-svn-id: svn://busybox.net/trunk/busybox@7129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is synced from dash-0.4.17 and full ready for insert to new busyboxandersen2003-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 git-svn-id: svn://busybox.net/trunk/busybox@7124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document CONFIG_ASH_CMDCMDandersen2003-07-221-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7096 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Terje Kvernes adding quite a lot of missing documentationandersen2003-07-221-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-221-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-147-16/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thomas Cameron: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. git-svn-id: svn://busybox.net/trunk/busybox@7058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of menuconfig helpandersen2003-07-031-19/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-195-100/+99
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jonas Holmberg, adjusted by Robert Schwebel, andandersen2003-03-141-55/+144
| | | | | | | later re-adjusted by me to fix msh backtick handling git-svn-id: svn://busybox.net/trunk/busybox@6748 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only call free if it is necessaryandersen2003-01-141-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanup, identified by Stewart Brodie, patch by Vladimir N.bug12003-01-061-7/+4
| | | | | | | Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct column width for tab completion and lsbug12003-01-061-19/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tab-tab listing of files so it properly reflects currentandersen2003-01-021-3/+2
| | | | | | | | terminal width. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix STANDALONE_SHELL and ALWAYS_WIN options, last_path_73 by Vladimir N. Oleynikbug12002-12-231-9/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Small bugfix, last_patch72 from Vladimir N. Oleynikbug12002-12-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup all the horrible broken function prototypesandersen2002-12-111-37/+29
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@6165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Squash a warning by making function declaration a proper prototypeandersen2002-12-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Command line history changes, lastpatch_71 from Vladimir N. Oleynikbug12002-12-094-38/+77
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow for people to select no default shellandersen2002-12-061-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make hush comple once againandersen2002-12-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another major rework of the BusyBox config system, using the considerablyandersen2002-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 git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - the number of commands in the history list is now configureable via thesandman2002-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. git-svn-id: svn://busybox.net/trunk/busybox@6089 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change if(x)free(x); to free(x);aaronl2002-11-282-11/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch_68 from Vladimir N. Oleynikbug12002-11-271-100/+62
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach lash to get $1 $2 $3 etc correctandersen2002-11-081-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warningandersen2002-10-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch51_3 from vodzandersen2002-10-221-1/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5684 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use %m, not strerror, and strerror(err) was broken anyways and should have beenandersen2002-09-301-1/+1
| | | | | | | strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru> git-svn-id: svn://busybox.net/trunk/busybox@5611 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't even try to run ash on uClinux. It won't work.andersen2002-09-301-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5608 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid calling exit() from within fork/vfork'ed processes.andersen2002-09-261-3/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5594 69ca8d6d-28ef-0310-b511-8ec308f3f277