i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk There used to be pman (symlink to the lynx-based info viewer pinfo) back in the day.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk Does Emacs count?
-
@b0rk Does Emacs count?
@krans i'm happy for emacs users but I am never going to use emacs so no

-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk there's GNU `info` but I think you were probably asking about *good* ones

-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk May be some stuff worth trying here: https://alternativeto.net/software/linux-man-pages/ (Full disclosure--just found the article--I haven't tried the alternatives.)
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk man $1 | lolcat
Fancy
️ -
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk standalone `info` displays man pages with hyperlinks, regex search, normal search and a bunch of features -
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk there's a script to use bat for man pages (aptly called batman) https://github.com/eth-p/bat-extras, for syntax highlighting and some other stuff
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk I've been using tldr pages instead of man recently: https://github.com/tldr-pages/tldr-python-client?tab=readme-ov-file
Works pretty well and looks nice!
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk bat can give a colorized version of manpages which is, to me at least, a /little/ fancy. https://github.com/sharkdp/bat/issues/1433
GNU info is supposed to supplement/replace man on some systems but I have general frustration whenever I end up in an info viewer. (It’s emacs~ish but somehow even less friendly)
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk related but maybe outside of the scope of your question: I have tried to fire woman (mode from emacs) once. But it wasn't as straightforward as thought and I didn't dig further. As I spent more and more time in emacs, I used woman directly and had less need to implement the "trick".
The reason, because there is one except for using emacs itself
is to have the ability to see and navigate the page with a menu and perform search, and filters with tools like Occur that I'm familiar with. -
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk Ugggggh if you find a good answer, please repost it with a bright red light. I think the biggest issue is that the roff format is too bankrupt, and we need better linking primitives, but… I might just be jaded.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk I use man with MANPAGER set to `less -ic --use-color -Dd+g -Duc`. Not super fancy, but has a few colors.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk there are too many to list. `yelp` (Gnome Help) comes to mind. `tldr` is a different approach. Then there are "smart" terminals, integrations, and a host of other things all trying to help us execute commands properly.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk I guess there's gnu's `info`... And of course each `man` implementation is different; I'm partial to openbsd's, but it is the antithesis of fancy.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk I use batman. It has colors and syntax highlighting
https://github.com/eth-p/bat-extras/blob/master/doc/batman.md
Edit: should have read the replies to not be caller number 5 linking to the same thing
-
@krans i'm happy for emacs users but I am never going to use emacs so no

-
@b0rk Ugggggh if you find a good answer, please repost it with a bright red light. I think the biggest issue is that the roff format is too bankrupt, and we need better linking primitives, but… I might just be jaded.
-
i feel like i've probably asked this before but has anyone written a fancy command line man page viewer to replace `man`?
(not emacs or vim)
@b0rk batman from bat ?
-
@aerique @b0rk A tool that consumes roff will (I believe) never be good. (We could change roff but no.) We want a tool that reads something better and can fall back to roff. We can't convert roff-to-gooddoc.
Texinfo was meant to be that, but (I would say) failed. A subset of HTML could replace it. (And Texinfo can compile to HTML.) You'd then want a tool that know how to find the html for a given command/name.
It's "easy" except for the xkcd 927 problem. Sorry, this is not constructive.