Mail Archives: djgpp/1997/05/28/09:52:02
On 28 May 1997, Ruiter de M wrote:
> Also (while we are at it) I noticed that the log file function (the
> 's'-key) very often gives me the message:
>
> 'Warning: log file is incomplete'.
>
> Is this a feature?
That's a feature. Since Less doesn't read the entire file into memory, if
you press `s' too late into browsing the file, when its beginning is no
longer in Less's memory, or if you skip large parts of the file, it would
print such a warning. This should only happen when Less gets its input
from a pipe.
> :) Anyone got a workaround (besides to look at the
> source-code itself, although that's not quite 'around' :-) ?
Start Less with -o or -O option, then it will begin logging right from
the beginning. Otherwise, wait for the port of the next version of
Less. It should correct this.
- Raw text -