d542d183e1
Much of the code refers to lines using indices into the flines array (which splits lines into portions that fit on the terminal). In some cases this is wrong and actual line numbers should be used: - when lines are being truncated rather than wrapped (-S flag) - when line numbers have been entered by the user Also fix a bug in numeric input and improve the display at EOF. function old new delta goto_lineno - 111 +111 cap_cur_fline - 101 +101 buffer_to_line - 56 +56 buffer_up 35 66 +31 less_main 2606 2615 +9 goto_match 125 127 +2 buffer_down 81 56 -25 buffer_line 64 - -64 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 3/1 up/down: 310/-89) Total: 221 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
adjtimex.c | ||
bbconfig.c | ||
beep.c | ||
chat.c | ||
chrt.c | ||
Config.src | ||
conspy.c | ||
crond.c | ||
crontab.c | ||
dc.c | ||
devfsd.c | ||
devmem.c | ||
eject.c | ||
fbsplash.c | ||
fbsplash.cfg | ||
flash_eraseall.c | ||
flash_lock_unlock.c | ||
flashcp.c | ||
hdparm.c | ||
i2c_tools.c | ||
inotifyd.c | ||
ionice.c | ||
Kbuild.src | ||
last_fancy.c | ||
last.c | ||
less.c | ||
makedevs.c | ||
man.c | ||
microcom.c | ||
mountpoint.c | ||
mt.c | ||
nandwrite.c | ||
raidautorun.c | ||
readahead.c | ||
rfkill.c | ||
runlevel.c | ||
rx.c | ||
setserial.c | ||
setsid.c | ||
strings.c | ||
taskset.c | ||
time.c | ||
timeout.c | ||
ttysize.c | ||
ubi_tools.c | ||
volname.c | ||
wall.c | ||
watchdog.c |