aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general warning cleanupoldNguyễn Thái Ngọc Duy2009-05-101-1/+1
|
* introduce libbb/termios.c for terminal-related functionsNguyễn Thái Ngọc Duy2009-05-091-63/+5
|
* libbb/lineedit: simple adaptation to support tab-completion in ashNguyễn Thái Ngọc Duy2009-05-061-0/+70
| | | | | this is far from perfect as a vt100 emulation, but enough to make ash's tab completion work.
* delete tons of extra #includesvda2007-05-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: state->hist_file doesn't exist if !FEATURE_EDITING_SAVEHISTORY,vda2007-04-151-0/+2
| | | | | | | #ifdef it out git-svn-id: svn://busybox.net/trunk/busybox@18453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: nuke two unused variables and code which sets themvda2007-04-141-9/+0
| | | | | | | | | applets: do not even try to read config if run by real root msh: use named constants (O_RDONLY etc) in open() instead of magic numbers, other minor code size reduction. git-svn-id: svn://busybox.net/trunk/busybox@18439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: do not try to open NULL history filevda2007-04-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix inadvertently leaked PWD_BUFFER_SIZEvda2007-03-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not fail password check if shadow password does not exist -vda2007-03-131-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes git-svn-id: svn://busybox.net/trunk/busybox@18085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: fix "readpath bug" by using readlink insteadvda2007-02-111-1/+1
| | | | | | | libbb: rename xgetcwd and xreadlink git-svn-id: svn://busybox.net/trunk/busybox@17854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lineedit: add missing #if/#endifvda2007-02-031-0/+2
| | | | | | | init: fix warnings git-svn-id: svn://busybox.net/trunk/busybox@17734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #4vda2007-01-291-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix warning from needlessly-global functionsvda2007-01-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17481 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c filevda2007-01-221-3/+1
| | | | | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs. git-svn-id: svn://busybox.net/trunk/busybox@17461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* exterminate u_intXXX.vda2007-01-221-2/+2
| | | | | | | fix ping6 buglet (memset is too short), minor sync between ping and ping6 git-svn-id: svn://busybox.net/trunk/busybox@17459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move shell/cmdedit.c -> libbb/lineedit.cvda2007-01-221-0/+1798
git-svn-id: svn://busybox.net/trunk/busybox@17452 69ca8d6d-28ef-0310-b511-8ec308f3f277