www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/18/14:02:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF577385840D
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=SdyUytdu c=1 sm=1 tr=0 ts=61462978
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
References: <announce DOT eeab9bc8-86b2-f16b-0da9-2080b9dbc48f AT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: [ANNOUNCEMENT] Updated: less-581.2-1
Message-ID: <82f20967-abe4-8d62-6435-c201b229e8c3@SystematicSw.ab.ca>
Date: Sat, 18 Sep 2021 12:01:27 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <announce.eeab9bc8-86b2-f16b-0da9-2080b9dbc48f@gmail.com>
X-CMAE-Envelope: MS4xfE/4fA02u8S3qabHWkTOq0LIQivmsnCuVCrE+Y0E8IExI1fgMJ7Rwq3D8y9/U6fViNvHzkvAWJhPlrWSuNVjc9Xzc58Mi+X9EDEQuMAfuiIHSn/2oQ+3
EyCskbkxwO+gFsbCMGdeJskHNwl+waha8EBYlNz9zCsWbq5A9Sb6Wus19+I4+AM5xT4P7cla1dlKnnYguKVGV1vEqqrQE+AoGO0=
X-Spam-Status: No, score=-1161.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SCC_5_SHORT_WORD_LINES, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 18II27Qh010275

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

- Raw text -


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