summaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2007-03-08less: make '/' (regex search) scan input if no matches are foundDenis Vlasenko
in input taken so far.
2007-03-08less: yet another attempt to make search betterDenis Vlasenko
2007-03-08less: fix 'n'ext match: sometimes was going to 999999th lineDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko
2007-02-18hdparm: style fixes, no code changesDenis Vlasenko
2007-02-14less: support xterm's home/end; improve forward searchDenis Vlasenko
2007-02-06EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #5Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #3Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29taskset: fix incorrect rage spec and allow 0xXXX inputDenis Vlasenko
ping: shave off 60 bytes
2007-01-26- readahead depends on LFSBernhard Reutner-Fischer
2007-01-24"depends ..." -> "depends on ..."Mike Frysinger
2007-01-24correct file format errorsMike Frysinger
2007-01-22- sed -i -e "/\$Id:/d;"Bernhard Reutner-Fischer
2007-01-21- use makedev to get device number, else it gives wrong major/minor numbers ↵Bernhard Reutner-Fischer
to devices files on systems which use big device numbers. Closes #919
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2006-12-31less: fix <tab><backspace> bugletDenis Vlasenko
2006-12-31less: interpret backspace.Denis Vlasenko
less is officially declared PAGER-capable! ;) (this includes viewing of manpages)
2006-12-31fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-12-28bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko
uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-25less: fix regexp search '/' on large filesDenis Vlasenko
2006-12-24small stupid changes. no code changesDenis Vlasenko
2006-12-24less: implement waiting for input using select(). Rather tricky business.Denis Vlasenko
But we do not read entire input anymore up-front.
2006-12-22time: -200 bytes of textDenis Vlasenko
2006-12-22time: fix option parsing bug, size optimizationsDenis Vlasenko
2006-12-21less: a few fixes for cases where we overflow status lineDenis Vlasenko
2006-12-21less: restore TAB display (was showing as inverse I after prev changes :)Denis Vlasenko
2006-12-21less: "(null)" is a bit strange. "standard input" is better :)Denis Vlasenko
2006-12-21less: how many different kinds of status line we need, three?!Denis Vlasenko
small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]
2006-12-21less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko
user interaction if stdout is not a tty. size optimizations
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-21less: total cleanup and bugfix.Denis Vlasenko
Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved.
2006-12-20less: somewhat buggy applet, but nice. Muchly reducedDenis Vlasenko
xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce).
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-10bb_makedev: fix for glibc 2.3.2Denis Vlasenko
sed: fix C++ style declaration
2006-12-04- shrink less.Bernhard Reutner-Fischer
01a: svn version 01b: merge past_eof and inp_stdin into flags. 01c: merge match_backwards into flags. 01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit 01e: rewrite special-key handling to be smaller. 01f: changing the format saves 4 bytes (alot of places would benefit from this) text data bss dec hex filename 9034 8 648 9690 25da less.o.01a 9023 8 640 9671 25c7 less.o.01b 9027 8 636 9671 25c7 less.o.01c 9068 8 636 9712 25f0 less.o.01d 8990 8 636 9634 25a2 less.o.01e 8986 8 636 9630 259e less.o.01f
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-26small fixes:Denis Vlasenko
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
2006-11-22- revert r15563 (pull current version of taskset off the busybox_scratch branch)Bernhard Reutner-Fischer
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-11-05smart_ulltoa5: make available in libbbDenis Vlasenko