aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
AgeCommit message (Collapse)Author
2003-07-28This is synced from dash-0.4.17 and full ready for insert to new busyboxEric Andersen
version: ftp://ftp.simtreas.ru/pub/my/bb/new News: - code is smalest! - support ${var...} expr - used new very strongly steal controlling terminal
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-06Correct column width for tab completion and lsGlenn L McGrath
2003-01-02Fix tab-tab listing of files so it properly reflects currentEric Andersen
terminal width. -Erik
2002-12-09Command line history changes, lastpatch_71 from Vladimir N. OleynikGlenn L McGrath
2002-12-03 - the number of commands in the history list is now configureable via theRobert Griebl
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.
2002-11-27last_patch_68 from Vladimir N. OleynikGlenn L McGrath
2002-07-30Fixed a timing bug which occured when bb ash is run in a rxvt on theRobert Griebl
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
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#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.
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-04-24Apply last_patch37 from vodzEric Andersen
2002-04-13Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-KEric Andersen
and fix CTRL-L support for cmdedit.c
2002-03-20Patch from vodz to fix a potential segfaultEric Andersen
2001-12-21Patch from vodz to implement ^L (clear screen)Eric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-10-24Fixup the location of pwd.h and grp.hEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-02Teach libc5 what a sighandler_t isEric Andersen
-Erik
2001-08-02Scrub away the last leftovers from BB_FEATURE_<shell>. Good thingEric Andersen
for multibuild.pl -- I would have missed this stupid mess otherwise. -Erik
2001-08-02Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen
math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
2001-07-22Some patches to make dietlibc work...Eric Andersen
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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)
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-07-02Patch from vodz to fix freeing a static in cmdedit.Eric Andersen
2001-06-26Vladimir's last_patch_15Glenn L McGrath
2001-05-31Patch from Vladimir to fix up autocompletion on a files/dirs with spaces inEric Andersen
them in the presence of a quoting. Also revert my signal handling patch, which seems to not solve the problem I thought it solved.
2001-05-21Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-17It turns out job control in both hush and lash was broken by theEric Andersen
signal handling in cmdedit.c. Disabling it makes the shells behave themselves again. hush isn't quite there, but is getting close... -Erik
2001-05-11Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen
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
2001-04-23Some patches from Gennady Feldman. Fixed a glob problem such thatEric Andersen
'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input.
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-05Add support of /W promptsEric Andersen
-Erik
2001-03-19Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>Eric Andersen
2001-03-19Fix to cmdedit.c from VladimirEric Andersen
2001-03-15cmdedit.c bugfix patch from Vladimir.Eric Andersen
-Erik
2001-03-14 - Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPTMark Whitley
- 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.
2001-03-13Update the lash shell (hopefully the last time...) so things likeEric Andersen
echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik
2001-03-08Whitespace / formatting / bracket cleanup.Mark Whitley
2001-02-20Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put itEric Andersen
after busybox.h is included.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-18Put back Vladimir's testing defines, which I mistakenly removed.Eric Andersen
2001-02-16Several features were hard coded on. Stop that. List tab completionEric Andersen
as working (thanks Vladimir!) and taking 4k. -Erik
2001-02-16Commit Vladimir's latest cmdedit. I modified it slightly to ensureEric Andersen
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.
2001-02-16Make ar be crossed.Eric Andersen
2001-02-01Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen
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
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-31If the ioctl fails to tell us the winsize, default to 79.Eric Andersen
-Erik
2001-01-30Fix the pwd and group functions. The bb_ stuff was a leftover fromEric Andersen
a brief past that mercifully (except for this) never made it into CVS. -Erik