aboutsummaryrefslogtreecommitdiff
path: root/shell/cmdedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko2007-01-221-1798/+0
|
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-221-29/+29
| | | | so rename stuff accordingly.
* cmdedit: fix breakageDenis Vlasenko2007-01-221-24/+23
|
* cmdedit: stop playing dirty games with atexitDenis Vlasenko2007-01-221-37/+24
|
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-221-159/+157
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disableDenis Vlasenko2007-01-211-62/+29
| | | | less-known keys (e.g. Ctrl-B/E/F)
* cmdedit: more optimizationsDenis Vlasenko2007-01-211-137/+109
|
* cmdedit: small optimizationsDenis Vlasenko2007-01-211-73/+104
|
* sanitize cmdedit a bit (group functions by task etc)Denis Vlasenko2007-01-211-393/+366
|
* * precision requires the argument be an integer, not size_tMike Frysinger2006-12-281-1/+1
|
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* #define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #definedDenis Vlasenko2006-12-231-3/+2
|
* removal of commented-out cruftDenis Vlasenko2006-12-221-1/+0
|
* cmdedit: reformat code a bit, no algorithm changesDenis Vlasenko2006-12-211-233/+230
|
* fix type character mixup in command completionDenis Vlasenko2006-12-211-35/+26
|
* cmdedit: fix my bug, improve code a bitDenis Vlasenko2006-12-191-31/+20
|
* cmdedit: use qsort for sorting command completion results; style fixesDenis Vlasenko2006-12-191-132/+104
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-1/+2
|
* Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2006-11-021-10/+8
|
* #if CONFIG_xxx -> #if ENABLE_xxxDenis Vlasenko2006-11-011-4/+4
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* build system overhaulDenis Vlasenko2006-10-051-5/+0
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* lots of silly indent fixesDenis Vlasenko2006-10-031-81/+82
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-2/+2
| | | | | (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).
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-2/+2
| | | | | 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.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-8/+8
| | | | | | | | | | 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.)
* Remove the silly redundancy from that header file include."Robert P. J. Day"2006-07-031-1/+1
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-2/+1
| | | | and eventual platform specific includes in early.
* vi-mode changes: eliminate warnings from out-of-range-for-typePaul Fox2006-03-071-65/+65
| | | | | | | 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.
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-2/+2
| | | | definitions. (That should only be on prototypes.)
* Add more bash-like dot-dirs cmdedit feature"Vladimir N. Oleynik"2006-01-251-96/+107
| | | | | Close bug 648. Restore my whitespace
* just whitespaceTim Riker2006-01-251-8/+8
|
* change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"2005-09-291-1/+1
| | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
* more remove lost exported"Vladimir N. Oleynik"2005-09-221-6/+6
|
* destroy bug [0000404]"Vladimir N. Oleynik"2005-09-051-5/+5
|
* commiting:Paul Fox2005-08-041-28/+365
| | | | 0000025: vi-editing mode for ash
* applying:Paul Fox2005-07-191-2/+2
| | | | | | | | 0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses.
* Patch from Vladimir N. Oleynik:Eric Andersen2004-08-191-0/+1
| | | | | | | | | | | | | | | | 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
* Larry Doolittle writes:Eric Andersen2004-04-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix spelling. "sort of" is two words.Eric Andersen2004-04-121-1/+1
|
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-1/+1
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Vodz. last_patch_128Glenn L McGrath2004-02-221-6/+8
| | | | | | | - 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)
* Vodz last_patch_125_2, this patch have: Glenn L McGrath2004-02-041-3/+8
| | | | | | | - 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
* last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debianGlenn L McGrath2004-01-221-12/+11
| | | | bug #228915
* Vodz last_patch_122, Check $PATH at runtime to fix tab completionGlenn L McGrath2004-01-141-3/+11
|
* Declare dependencies of command line editing in the build systemGlenn L McGrath2004-01-031-11/+1
|
* Cmdedit update from Vladimir N. Oleynik (vodz)Eric Andersen2003-12-231-22/+24
|
* 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).