aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c
AgeCommit message (Collapse)Author
2007-01-22Convert cmdedit into more generic line input facilityDenis Vlasenko
(make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
2007-01-21Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disableDenis Vlasenko
less-known keys (e.g. Ctrl-B/E/F)
2007-01-21cmdedit: more optimizationsDenis Vlasenko
2007-01-21cmdedit: small optimizationsDenis Vlasenko
2007-01-21sanitize cmdedit a bit (group functions by task etc)Denis Vlasenko
2006-12-28* precision requires the argument be an integer, not size_tMike Frysinger
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-23#define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #definedDenis Vlasenko
2006-12-22removal of commented-out cruftDenis Vlasenko
2006-12-21cmdedit: reformat code a bit, no algorithm changesDenis Vlasenko
2006-12-21fix type character mixup in command completionDenis Vlasenko
2006-12-19cmdedit: fix my bug, improve code a bitDenis Vlasenko
2006-12-19cmdedit: use qsort for sorting command completion results; style fixesDenis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-02Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2006-11-01#if CONFIG_xxx -> #if ENABLE_xxxDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-05build system overhaulDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03lots of silly indent fixesDenis Vlasenko
2006-08-29Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit).
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-03Remove the silly redundancy from that header file include."Robert P. J. Day"
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-03-07vi-mode changes: eliminate warnings from out-of-range-for-typePaul Fox
case labels that are emitted by gcc4. rearrange macros to eliminate these extra case labels entirely (since the optimizer may no longer do it for us). eliminate static BUFSIZ character deletion buffer -- malloc it, and make it much much smaller.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-25Add more bash-like dot-dirs cmdedit feature"Vladimir N. Oleynik"
Close bug 648. Restore my whitespace
2006-01-25just whitespaceTim Riker
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-22more remove lost exported"Vladimir N. Oleynik"
2005-09-05destroy bug [0000404]"Vladimir N. Oleynik"
2005-08-04commiting:Paul Fox
0000025: vi-editing mode for ash
2005-07-19applying:Paul Fox
0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses.
2004-08-19Patch from Vladimir N. Oleynik:Eric Andersen
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
2004-04-14Larry Doolittle writes:Eric Andersen
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
2004-04-12Fix spelling. "sort of" is two words.Eric Andersen
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
2004-02-22Vodz. last_patch_128Glenn L McGrath
- 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)
2004-02-04Vodz last_patch_125_2, this patch have: Glenn L McGrath
- 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
2004-01-22last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debianGlenn L McGrath
bug #228915
2004-01-14Vodz last_patch_122, Check $PATH at runtime to fix tab completionGlenn L McGrath
2004-01-03Declare dependencies of command line editing in the build systemGlenn L McGrath
2003-12-23Cmdedit update from Vladimir N. Oleynik (vodz)Eric Andersen
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-07-29Vladimir N. Oleynik writes:Eric Andersen
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).
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