delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/28/09:52:02

Date: Wed, 28 May 1997 16:50:16 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ruiter de M <mdruiter AT cs DOT vu DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Bug in Less 3.21
In-Reply-To: <5mh55q$qoj@star.cs.vu.nl>
Message-ID: <Pine.SUN.3.91.970528164504.14855B-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019