summaryrefslogtreecommitdiff
path: root/shell/cmdedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* If the ioctl fails to tell us the winsize, default to 79.Eric Andersen2001-01-311-1/+4
| | | | -Erik
* Fix the pwd and group functions. The bb_ stuff was a leftover fromEric Andersen2001-01-301-9/+10
| | | | | a brief past that mercifully (except for this) never made it into CVS. -Erik
* Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen2001-01-271-7/+3
| | | | | | functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
* Applied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completionMark Whitley2001-01-261-255/+501
| | | | in Busybox shell. (Thanks, Vlad.)
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-3/+6
|
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai2001-01-181-1/+1
| | | | Vladimir N. Oleynik.
* Cleanup -- move win handling to cmdedit.c, static-ify many functions.Eric Andersen2001-01-041-15/+30
|
* Ok, this is a pretty major update to sh.c. I renamed all the variables andEric Andersen2000-12-181-3/+13
| | | | | | | | | | | | 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
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Cleanup of duplicated symbols -- found by compiling withEric Andersen2000-11-071-1/+1
| | | | LDFLAGS += -Wl,-warn-common
* Warning cleanup from Gennady FeldmanEric Andersen2000-11-021-9/+10
| | | | -Erik
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-7/+7
| | | | segfaulting or handling errors the same way themselves.
* More sh updates (with related changes to everything else). SwitchedEric Andersen2000-07-281-1/+24
| | | | | | to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-0/+12
| | | | -Erik
* Avoid trying to free NULL ptrs. Comment on malloc usages.Eric Andersen2000-07-191-4/+6
| | | | -Erik
* Fix some stupid memory bugs.Eric Andersen2000-07-141-2/+1
| | | | -Erik
* Added a smallish TODO comment.Mark Whitley2000-07-131-0/+5
|
* Fixed a potential infinite loop. First delete any chars after theEric Andersen2000-07-041-1/+10
| | | | | | | 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
* Fix some spelling errors in the source as well.Eric Andersen2000-06-161-1/+1
| | | | -Erik
* First pass at fixing tar segfault, and more portability updates.Erik Andersen2000-05-201-0/+6
| | | | -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-211-20/+54
|
* UpdatesErik Andersen2000-04-181-0/+3
| | | | -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-58/+8
| | | | -Erik
* Some enhancements I've been working on over the weekend,Erik Andersen2000-04-121-293/+326
| | | | -Erik
* Make tab completion an optionErik Andersen2000-04-091-0/+7
| | | | -Erik
* More minor patchesErik Andersen2000-04-091-0/+15
| | | | -Erik
* more minor fixesErik Andersen2000-03-191-44/+69
| | | | -Erik
* Some more stuff.Erik Andersen2000-03-191-449/+470
| | | | -Erik
* Minor updateErik Andersen2000-03-171-0/+2
|
* Several fixes.Erik Andersen2000-03-171-35/+225
| | | | -Erik
* Forgot these files...Erik Andersen2000-03-161-0/+405
-Erik