You are not logged in.
Hello.
For few years I struggled with `less` because it lacks the most killer feature that works on the Debian servers I operate.
The Debian uses another script, it's here https://sources.debian.org/src/less/458 … /lesspipe/. With this script forward mode works pretty well. It jumps directly to the EOF and shows the lines appearing in the file. Log for example.
But the script that is used in archlinux https://github.com/archlinux/svntogit-c … pipe/trunk loads the full file (because it definitely shows every line) and then stops to follow the new data.
The difference between plain less and lesspipe.sh is visible in the screencast https://asciinema.org/a/396774
What is the proper way to solve it now? The lesspipe is quite a necessary thing to have a way of reading the compressed logs. But it screws the crucial part of less.
Last edited by Felixoid (2021-03-08 17:45:14)
Offline
This is a functionality of less that should be irrelevant towards the used wrapper script for other formats, press Shift+F to enable less' follow mode
Oh wait I misread that, sounds weird
Last edited by V1del (2021-03-04 21:15:26)
Offline
Maybe, it's better to report a bug directly to https://bugs.archlinux.org/ ?
Offline
Offline
Hey seth, thank you very much for directing me into the right place. I have misinterpreted the content of https://github.com/archlinux/svntogit-c … pipe/trunk and thought, that lesspipe.sh is unmodified for 12 years w/o taking a look into PKGBUILD source.
Offline
So, I'll put the solution here too. `less` won't respect LESSOPEN when `-L` argument is passed.
Offline