aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add more bash-like dot-dirs cmdedit featurevodz2006-01-251-96/+107
| | | | | | | Close bug 648. Restore my whitespace git-svn-id: svn://busybox.net/trunk/busybox@13587 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-291-1/+1
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more remove lost exportedvodz2005-09-221-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11574 69ca8d6d-28ef-0310-b511-8ec308f3f277
* destroy bug [0000404]vodz2005-09-051-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-041-28/+365
| | | | | | | 0000025: vi-editing mode for ash git-svn-id: svn://busybox.net/trunk/busybox@11044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying:pgf2005-07-191-2/+2
| | | | | | | | | | | 0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses. git-svn-id: svn://busybox.net/trunk/busybox@10861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik:andersen2004-08-191-0/+1
| | | | | | | | | | | | | | | | | | | On Wed Aug 18, 2004 at 06:52:57PM +0800, Matt Johnston wrote: > I've come across some strange-seeming behaviour when running programs > under Busybox (1.0.0-rc3) ash. If the child process sets stdin to be > non-blocking and then exits, the parent ash will also exit. A quick strace > shows that a subsequent read() from stdin returns EAGAIN (as would be > expected): Thanks! Patch attached. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@9127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix spelling. "sort of" is two words.andersen2004-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* s/fileno\(stdin\)/STDIN_FILENO/gandersen2004-03-271-1/+1
| | | | | | | s/fileno\(stdout\)/STDOUT_FILENO/g git-svn-id: svn://busybox.net/trunk/busybox@8663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz. last_patch_128bug12004-02-221-6/+8
| | | | | | | | | | - declare applet_using as static from applets.c - small correction to cmdedit, previous version cleared history after Ctrl-C - small spelling correction (by Friedrich Lobenstock) git-svn-id: svn://busybox.net/trunk/busybox@8544 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz last_patch_125_2, this patch have: bug12004-02-041-3/+8
| | | | | | | | | | - synced with dash 0.4.21 - better handle trap "cmds..." SIGINT (strange, i make bad hack for ash and cmdedit, but this work only with this...) - may be haven`t problem with Ctrl-D git-svn-id: svn://busybox.net/trunk/busybox@8394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debianbug12004-01-221-12/+11
| | | | | | | bug #228915 git-svn-id: svn://busybox.net/trunk/busybox@8334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz last_patch_122, Check $PATH at runtime to fix tab completionbug12004-01-141-3/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Declare dependencies of command line editing in the build systembug12004-01-031-11/+1
| | | | 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
* 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
* Vladimir N. Oleynik writes:andersen2003-07-291-7/+3
| | | | | | | | | | | 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-281-105/+118
| | | | | | | | | | | | | | 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
* 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-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-13/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 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
* Command line history changes, lastpatch_71 from Vladimir N. Oleynikbug12002-12-091-21/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - the number of commands in the history list is now configureable via thesandman2002-12-031-1/+55
| | | | | | | | | | 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
* 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
* 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
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-031-1/+1
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch37 from vodzandersen2002-04-241-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-Kandersen2002-04-131-8/+12
| | | | | | | and fix CTRL-L support for cmdedit.c git-svn-id: svn://busybox.net/trunk/busybox@4610 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to fix a potential segfaultandersen2002-03-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4444 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to implement ^L (clear screen)andersen2001-12-211-1/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup the location of pwd.h and grp.handersen2001-10-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3572 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-47/+47
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach libc5 what a sighandler_t isandersen2001-08-021-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3190 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingandersen2001-08-021-1/+1
| | | | | | | | for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest patch from vodz. Adds a check for divide by zero in the posixandersen2001-08-021-14/+10
| | | | | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere. git-svn-id: svn://busybox.net/trunk/busybox@3181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some patches to make dietlibc work...andersen2001-07-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-1/+10
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-07-121-62/+26
| | | | | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to fix freeing a static in cmdedit.andersen2001-07-021-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2967 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch_15bug12001-06-261-41/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inandersen2001-05-311-13/+4
| | | | | | | | them in the presence of a quoting. Also revert my signal handling patch, which seems to not solve the problem I thought it solved. git-svn-id: svn://busybox.net/trunk/busybox@2767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugandersen2001-05-211-7/+7
| | | | | | | #1130 (i.e. When you turn on features it should always ADD features) git-svn-id: svn://busybox.net/trunk/busybox@2690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out job control in both hush and lash was broken by theandersen2001-05-171-0/+4
| | | | | | | | | signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2663 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a segfault in lash, hush, and cmdedit. Each of these usedandersen2001-05-111-0/+4
| | | | | | | | | xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2613 69ca8d6d-28ef-0310-b511-8ec308f3f277