aboutsummaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Patch from "Joe.C" <joe@numa.com.tw>andersen2002-09-171-1/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some CML1 grammar fixesandersen2002-09-011-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz last_path_51-2bug12002-08-231-395/+171
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, fix commentsbug12002-08-221-2790/+2705
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove ckfree, and replace all references with free. Remove freefunc,aaronl2002-08-021-59/+41
| | | | | | | | which is also equivilent to free. Remove some if(x)free(x) redundancies. git-svn-id: svn://busybox.net/trunk/busybox@5146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>andersen2002-07-311-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a timing bug which occured when bb ash is run in a rxvt on thesandman2002-07-301-1/+2
| | | | | | | | | HP iPAQ. Sometimes we get a SIGWINCH and want to print the prompt, although the prompt is not yet initialised (0) .. so just don't print a prompt as long as the prompt string is 0 git-svn-id: svn://busybox.net/trunk/busybox@5124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-07-191-2/+1
| | | | | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup warnings and undefined operations that show up in gcc-3.1andersen2002-07-111-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash:andersen2002-07-041-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When alias support is not configured, ash believes that command parameters that look like dd's "if=/dev/zero" are requests to set a temporary environment variable whilst dd is running, even though it appears after the command name. This is caused by the re-use of the checkalias global variable to indicate when both alias checking and environment variable checking. The failure to reset this flag is due to the reset action being performed only inside the feature check CHECK_ASH_ALIAS. Hence ash works as expected when aliases are configured in, and fails when not. Example script using 'date' with different settings of TZ: # TZ=Europe/London # export TZ # date Thu May 30 17:18:49 BST 2002 # TZ=America/New_York date Thu May 30 12:19:10 EDT 2002 # date Thu May 30 17:19:12 BST 2002 # date TZ=America/New_York Thu May 30 12:19:30 EDT 2002 <----- wrong, should be BST time (or error!) # date Thu May 30 17:19:35 BST 2002 Attached is a patch against revision 1.52 of ash.c which moves the checks so that checkalias is updated regardless of whether CONFIG_ASH_ALIAS is set. With this patch applied, the command shown above which should generate an error does generate an error. I have tested this patch with the 'dd' command too and that now works correctly. git-svn-id: svn://busybox.net/trunk/busybox@5013 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-032-3/+3
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>andersen2002-06-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to only setenv PATH when PATH changes, which is muchandersen2002-06-061-3/+3
| | | | | | | smarter than my quick fix. git-svn-id: svn://busybox.net/trunk/busybox@4863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-041-2/+2
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 69ca8d6d-28ef-0310-b511-8ec308f3f277