* [ANNOUNCEMENT] Updated: less-581.2-1
@ 2021-05-02 10:04 Marco Atzeri via Cygwin-announce
2021-09-18 18:01 ` Brian Inglis
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri via Cygwin-announce @ 2021-05-02 10:04 UTC (permalink / raw)
To: cygwin
New version 581.2-1 of
less
is available in the Cygwin distribution
CHANGES
Last upstream release
http://www.greenwoodsoftware.com/less/
Also compiled with pcre2 regex
DESCRIPTION
Less is a free, open-source file pager.
It can be found on most versions of Linux, Unix and Mac OS,
as well as on many other operating systems.
HOMEPAGE
http://www.greenwoodsoftware.com/less/
Marco Atzeri
If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANNOUNCEMENT] Updated: less-581.2-1
2021-05-02 10:04 [ANNOUNCEMENT] Updated: less-581.2-1 Marco Atzeri via Cygwin-announce
@ 2021-09-18 18:01 ` Brian Inglis
2021-10-03 19:26 ` Brian Inglis
0 siblings, 1 reply; 3+ messages in thread
From: Brian Inglis @ 2021-09-18 18:01 UTC (permalink / raw)
To: cygwin
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.]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANNOUNCEMENT] Updated: less-581.2-1
2021-09-18 18:01 ` Brian Inglis
@ 2021-10-03 19:26 ` Brian Inglis
0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2021-10-03 19:26 UTC (permalink / raw)
To: cygwin
On 2021-09-18 12:01, Brian Inglis wrote:
> 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:
> $ 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
It appears the issue may be with lessopen, and mostly works if you use
-L to disable lessopen, but NUL chars are displayed around startup, so
it's not as clean as:
$ tail -n$COLUMNS -f ... | less +F
Maybe lessopen is disabled when input is from stdin?
I will test with the new release and see if it's better.
--
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.]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-03 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02 10:04 [ANNOUNCEMENT] Updated: less-581.2-1 Marco Atzeri via Cygwin-announce
2021-09-18 18:01 ` Brian Inglis
2021-10-03 19:26 ` Brian Inglis
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).