Subject: Re: [ANNOUNCEMENT] Updated: less-581.2-1
From: Brian Inglis <[email-masked]>
To: [email-masked]
Date: Sat, 18 Sep 2021 12:01:27 -0600
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>

On 2021-05-02 04:04, Marco Atzeri wrote:
> New version 581.2-1 of
>    less
> is available in the Cygwin distribution

Running less +F <FILE> (follow ) or less +G <FILE> then F or less <FILE> 
then F does not seem to work (since at least v 530) on logs updated 
every second or so or longer, showing only the last line(s) when 
started, unlike tail -f or xtail:

Compare:

$ for ((i = 1; i < 10000000; ++i)); do
   echo $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i
   sleep 1
done > t & less +F t
[wait]
^C
G
q
$ kill %1

to:

$ for ((i = 1; i < 10000000; ++i)); do
   echo $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i
   sleep 1
done > t & tail -f t
...
^C
$ kill %1

or:

$ for ((i = 1; i < 10000000; ++i)); do
   echo $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i $i
   sleep 1
done > t & xtail t
...
^C
*** recently changed files ***
    1  2021-09-18 11:47:50  t
currently watching:  1 files  0 dirs  0 unknown entries
Exit (y/N)? y
$ kill %1

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple