Re:Show HN: Ov – feature rich terminal pager
by funcDropShadow on Wednesday January 04, 2023 @03:34AM
(#34243382)
ANSI coloring and tailing is supported by less. Press F to start tailing. Many programs detect if they are redirected to a pipe and then stop to emit ANSI color codes.
Re:Show HN: Ov – feature rich terminal pager
by noborus on Wednesday January 04, 2023 @03:22AM
(#34243328)
First of all please keep in mind that "less" is wonderfully updated https://github.com/gwsw/less
ov is built for speed, but "less" is often better.
"bat" is a nice application, but it's not a pager. I believe "bat" is not suitable for opening large files.
https://twitter.com/noborus/status/1610111558574804993?s=20&...
Re:Show HN: Ov – feature rich terminal pager
by jwilk on Wednesday January 04, 2023 @04:02AM
(#34243528)
linux.die.net man pages are horribly outdated.
Better links:
Re:Show HN: Ov – feature rich terminal pager
by kseistrup on Wednesday January 04, 2023 @04:12AM
(#34243583)
There's also moar, written in go:
Re:Show HN: Ov – feature rich terminal pager
by goombacloud on Wednesday January 04, 2023 @06:17AM
(#34244303)
I find myself using cat or less even thought I have bat around because copying from cat or less works best and you don't get line breaks inserted.
Re:Show HN: Ov – feature rich terminal pager
by adamredwoods on Wednesday January 04, 2023 @02:02PM
(#34249865)
I'm a fan of lnav, more for log files but incredibly useful:
Re:Show HN: Ov – feature rich terminal pager
by dmfay on Thursday January 05, 2023 @10:47PM
(#34270719)
pspg ( https://github.com/okbob/pspg ) is wonderful for tabular data.
- https://linux.die.net/man/1/most (multiple files/windows at once)
- https://github.com/sharkdp/bat (uses `less` under the hood, syntax highlighting and git diffs)
- https://linux.die.net/man/1/lesskey (add parameters to `less`)
- https://github.com/ivanov/kanten (looks abandoned)
- "Just use vim" (and vim's paging is really good, so this is viable, in fact probably the most viable so far)
`less` is a great program, despite being old there aren't really many flaws. It's one of those tools that don't really need updates or improvements. But I do think there are a few features which would be nice to have (automatic ANSI coloring, tailing, syntax highlighting, support for files like sqlite and tar - which of which are in ov).
The one thing which `less` may have over `ov` (besides already being on most distros) is speed. `less` takes in really large files, or forever terminal output, and is still really fast. And I find that when I use `less` I use it with large files or terminal output often. Though I don't actually know if `ov` is any slower, it's something the dev should watch out for (I don't see "speed" mentioned in the README).