aboutsummaryrefslogtreecommitdiff
path: root/cmdedit.c
AgeCommit message (Collapse)Author
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
2001-01-27Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen
functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
2001-01-26Applied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completionMark Whitley
in Busybox shell. (Thanks, Vlad.)
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-18Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai
Vladimir N. Oleynik.
2001-01-04Cleanup -- move win handling to cmdedit.c, static-ify many functions.Eric Andersen
2000-12-18Ok, this is a pretty major update to sh.c. I renamed all the variables andEric Andersen
function names to conform with the style guide. I also did a lot of work on the if-then-alse-fi logic and added prototype (i.e. it segfaults when enabled) line continuation support. Furthermore, this patch includes Larry Doolittle's work on restructuring some of the data structures that represent the job and child_program, allowing several simplifications and fixing several bugs. -Erik
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-07Cleanup of duplicated symbols -- found by compiling withEric Andersen
LDFLAGS += -Wl,-warn-common
2000-11-02Warning cleanup from Gennady FeldmanEric Andersen
-Erik
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-07-28More sh updates (with related changes to everything else). SwitchedEric Andersen
to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik
2000-07-25Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen
-Erik
2000-07-19Avoid trying to free NULL ptrs. Comment on malloc usages.Eric Andersen
-Erik
2000-07-14Fix some stupid memory bugs.Eric Andersen
-Erik
2000-07-13Added a smallish TODO comment.Mark Whitley
2000-07-04Fixed a potential infinite loop. First delete any chars after theEric Andersen
cursor, then delete everything before it. Before this, we would just delete everything before the cursor and freak out if there were still chars left (i.e. stuff after the cursor). -Erik
2000-06-16Fix some spelling errors in the source as well.Eric Andersen
-Erik
2000-05-20First pass at fixing tar segfault, and more portability updates.Erik Andersen
-Erik
2000-04-21More Doc updates. cmdedit and more termio fixes.Erik Andersen
2000-04-18UpdatesErik Andersen
-Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik