summaryrefslogtreecommitdiff
path: root/shell/cmdedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Vladimir N. Oleynik writes:Eric 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).
* This is synced from dash-0.4.17 and full ready for insert to new busyboxEric Andersen2003-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
* 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-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-13/+12
|
* 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
* Command line history changes, lastpatch_71 from Vladimir N. OleynikGlenn L McGrath2002-12-091-21/+25
|
* - the number of commands in the history list is now configureable via theRobert Griebl2002-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.
* last_patch_68 from Vladimir N. OleynikGlenn L McGrath2002-11-271-100/+62
|
* Fixed a timing bug which occured when bb ash is run in a rxvt on theRobert Griebl2002-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
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-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.
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-031-1/+1
| | | | | silly games. -Erik
* Apply last_patch37 from vodzEric Andersen2002-04-241-2/+3
|
* Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-KEric Andersen2002-04-131-8/+12
| | | | and fix CTRL-L support for cmdedit.c
* Patch from vodz to fix a potential segfaultEric Andersen2002-03-201-2/+2
|
* Patch from vodz to implement ^L (clear screen)Eric Andersen2001-12-211-1/+10
|
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-2/+2
|
* Fixup the location of pwd.h and grp.hEric Andersen2001-10-241-1/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-47/+47
| | | | -Erik
* Teach libc5 what a sighandler_t isEric Andersen2001-08-021-0/+4
| | | | -Erik
* Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingEric Andersen2001-08-021-1/+1
| | | | | for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik
* Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen2001-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.
* Some patches to make dietlibc work...Eric Andersen2001-07-221-1/+1
|
* This is vodz' latest patch. Sorry it took so long...Eric 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)
* Patch from vodz:Eric Andersen2001-07-121-62/+26
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* Patch from vodz to fix freeing a static in cmdedit.Eric Andersen2001-07-021-1/+2
|
* Vladimir's last_patch_15Glenn L McGrath2001-06-261-41/+51
|
* Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inEric Andersen2001-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.
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-211-7/+7
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* It turns out job control in both hush and lash was broken by theEric Andersen2001-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
* Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen2001-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
* Some patches from Gennady Feldman. Fixed a glob problem such thatEric Andersen2001-04-231-1/+3
| | | | | 'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input.
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-091-152/+97
| | | | -Erik
* Add support of /W promptsEric Andersen2001-04-051-0/+13
| | | | -Erik
* Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>Eric Andersen2001-03-191-1/+1
|
* Fix to cmdedit.c from VladimirEric Andersen2001-03-191-0/+1
|
* cmdedit.c bugfix patch from Vladimir.Eric Andersen2001-03-151-12/+14
| | | | -Erik
* - Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPTMark Whitley2001-03-141-8/+8
| | | | | | | | | | | - Set BB_FEATURE_SH_STANDALONE_SHELL and BB_FEATURE_SH_APPLETS_ALWAYS_WIN to be off by default - Set BB_FEATURE_SH_SIMPLE_PROMPT to be on by default - Added some more magic to the Olympus section to make all the dependencies on the shell, cmdline editing, tab completion and friend work properly. - Tidied up the Olympus section with some whitespace. Checked the various scrips that parse through there and the extra whitespace shouldn't break anything.
* Update the lash shell (hopefully the last time...) so things likeEric Andersen2001-03-131-76/+97
| | | | | | echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik
* Whitespace / formatting / bracket cleanup.Mark Whitley2001-03-081-5/+7
|
* Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put itEric Andersen2001-02-201-6/+5
| | | | after busybox.h is included.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-15/+15
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* Put back Vladimir's testing defines, which I mistakenly removed.Eric Andersen2001-02-181-4/+6
|
* Several features were hard coded on. Stop that. List tab completionEric Andersen2001-02-161-12/+8
| | | | | as working (thanks Vladimir!) and taking 4k. -Erik
* Commit Vladimir's latest cmdedit. I modified it slightly to ensureEric Andersen2001-02-161-6/+7
| | | | | | | | parse_prompt() would be called before cmdedit_init(), since cmdedit_init() calls cmdedit_setwidth() which uses cmdedit_prmt_len, which is set by parse_prompt(). Also, added a mod, so very narrow terminals should now wrap properly... This is working very nicely for me -- Vladimir has done some very good work.
* Make ar be crossed.Eric Andersen2001-02-161-493/+1028
|
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen2001-02-011-0/+3
| | | | | | | 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
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-1/+1
|