public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: less-581.2-1
Date: Sat, 18 Sep 2021 12:01:27 -0600	[thread overview]
Message-ID: <82f20967-abe4-8d62-6435-c201b229e8c3@SystematicSw.ab.ca> (raw)
In-Reply-To: <announce.eeab9bc8-86b2-f16b-0da9-2080b9dbc48f@gmail.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.]

  reply	other threads:[~2021-09-18 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02 10:04 Marco Atzeri via Cygwin-announce
2021-09-18 18:01 ` Brian Inglis [this message]
2021-10-03 19:26   ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82f20967-abe4-8d62-6435-c201b229e8c3@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).