busybox/miscutils
Denis Vlasenko 107fe7c081 less: improve search when data is not supplied fast enough by stdin -
now will try reading for 1-2 seconds before declaring that there is no match.
This fixes a very common annoyance with long manpages.

function                                             old     new   delta
read_lines                                           653     719     +66
buffer_down                                           28      83     +55
goto_match                                           140     141      +1
cap_cur_fline                                         72       -     -72
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 3/0 up/down: 122/-72)            Total: 50 bytes
   text    data     bss     dec     hex filename
 798734     661    7428  806823   c4fa7 busybox_old
 798768     661    7428  806857   c4fc9 busybox_unstripped
2008-03-17 08:38:45 +00:00
..
adjtimex.c ifconfig: code shrink 2007-11-04 04:10:17 +00:00
bbconfig.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chat.c chat: now with "svn add" 2008-02-19 11:35:08 +00:00
chrt.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
Config.in crond: make it NOMMU-capable 2008-03-12 22:10:25 +00:00
crond.c crond: make it NOMMU-capable 2008-03-12 22:10:25 +00:00
crontab.c - fix open(creat) without a mode 2008-02-18 18:35:53 +00:00
dc.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
devfsd.c libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set 2008-03-12 23:19:35 +00:00
eject.c - add eject -s for SCSI- and USB-devices (Nico Erfurth) 2008-02-08 15:04:00 +00:00
hdparm.c random s/short/int/ 2008-02-16 13:18:17 +00:00
Kbuild chat: new applet by dronnikov AT gmail.com. With all options on: 2008-02-18 23:24:46 +00:00
last.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
less.c less: improve search when data is not supplied fast enough by stdin - 2008-03-17 08:38:45 +00:00
makedevs.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
microcom.c microcom: shrink 2008-02-28 13:14:42 +00:00
mountpoint.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
mt.c mt: eliminate vector of structures with pointers (bad for libbusybox). 2007-10-11 19:38:59 +00:00
raidautorun.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
readahead.c mkswap, readahead: stop using fdlength, it is reported to be unreliable 2008-01-27 23:41:34 +00:00
runlevel.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
rx.c libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set 2008-03-12 23:19:35 +00:00
setsid.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
strings.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
taskset.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
time.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
ttysize.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
watchdog.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00