Live data from Hacker News

Show HN: Ov – feature rich terminal pager

github.com

11–20 of 53 posts

Re: Show HN: Ov – feature rich terminal pager

#11

I'm surprised there aren't more pagers besides `less` and `more`. Alternatives I've found online: - 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 r…

There's also moar, written in go:

- https://github.com/walles/moar

Re: Show HN: Ov – feature rich terminal pager

#12
ov looks really nice and probable deserves a try. I like the section thing, it's going to be useful for diffs to go file by file.

One feature I discovered recently in less that I'm always using now is filtering: type '&' and then the thing you're looking for, and less will only show matching lines.

Re: Show HN: Ov – feature rich terminal pager

#13

I'm surprised there aren't more pagers besides `less` and `more`. Alternatives I've found online: - 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 r…

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

#14
post #12

ov looks really nice and probable deserves a try. I like the section thing, it's going to be useful for diffs to go file by file. One feature I discovered recently in less that I'm always using now is filtering: type '&' and then the thing you're looking for, and less will only show matching lines.

using filtering in Less. That is a great tip. This opens up a whole new way of reading logs for me. thanks

Re: Show HN: Ov – feature rich terminal pager

#17
post #16

[flagged]

Huh?

I'm not part of the Go cult, so I simply do not get why people would start brand new projects in it when so many other good languages exist that actually seem to have taken off and become popular enough to survive long-term.

Re: Show HN: Ov – feature rich terminal pager

#18
post #9

If the log-file viewing capabilities look interesting to you, check out lnav, which is built for that and excels at it: https://lnav.org/

Nice! I've been in rapid-response situations where I had to pull logs from various sources (including embedded devices) that weren't unified in a central logging service. I could get the logs onto my workstation, but then manually lining up who-saw-what-when involved a headache, even with Emacs. lnav seems to have a few features to support this.

One very useful feature for this I didn't see listed for lnav was to support adjusting for timestamps in different timezones, like maybe you have a desktop's log in local time that you're trying to reconcile with servers. (A related but less-important bonus would be to be able to specify smaller arbitrary clock drift/offsets for each log.)

Post reply on HN