Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. 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`?

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
49 Indlæg 34 Posters 44 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • b0rk@social.jvns.caB b0rk@social.jvns.ca

    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)

    simoncozens@typo.socialS This user is from outside of this forum
    simoncozens@typo.socialS This user is from outside of this forum
    simoncozens@typo.social
    wrote sidst redigeret af
    #2

    @b0rk There used to be pman (symlink to the lynx-based info viewer pinfo) back in the day.

    1 Reply Last reply
    0
    • b0rk@social.jvns.caB b0rk@social.jvns.ca

      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)

      krans@mastodon.me.ukK This user is from outside of this forum
      krans@mastodon.me.ukK This user is from outside of this forum
      krans@mastodon.me.uk
      wrote sidst redigeret af
      #3

      @b0rk Does Emacs count?

      b0rk@social.jvns.caB 1 Reply Last reply
      0
      • krans@mastodon.me.ukK krans@mastodon.me.uk

        @b0rk Does Emacs count?

        b0rk@social.jvns.caB This user is from outside of this forum
        b0rk@social.jvns.caB This user is from outside of this forum
        b0rk@social.jvns.ca
        wrote sidst redigeret af
        #4

        @krans i'm happy for emacs users but I am never going to use emacs so no 🙂

        aerique@genart.socialA 1 Reply Last reply
        0
        • b0rk@social.jvns.caB b0rk@social.jvns.ca

          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)

          snoopj@hachyderm.ioS This user is from outside of this forum
          snoopj@hachyderm.ioS This user is from outside of this forum
          snoopj@hachyderm.io
          wrote sidst redigeret af
          #5

          @b0rk there's GNU `info` but I think you were probably asking about *good* ones 😖

          vathpela@infosec.exchangeV 1 Reply Last reply
          0
          • b0rk@social.jvns.caB b0rk@social.jvns.ca

            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)

            onorio@mastodon.acm.orgO This user is from outside of this forum
            onorio@mastodon.acm.orgO This user is from outside of this forum
            onorio@mastodon.acm.org
            wrote sidst redigeret af
            #6

            @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.)

            1 Reply Last reply
            0
            • b0rk@social.jvns.caB b0rk@social.jvns.ca

              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)

              jsalvador@mastodon.socialJ This user is from outside of this forum
              jsalvador@mastodon.socialJ This user is from outside of this forum
              jsalvador@mastodon.social
              wrote sidst redigeret af
              #7

              @b0rk man $1 | lolcat

              Fancy ✨️

              1 Reply Last reply
              0
              • b0rk@social.jvns.caB b0rk@social.jvns.ca

                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)

                anotherposter@shitposter.worldA This user is from outside of this forum
                anotherposter@shitposter.worldA This user is from outside of this forum
                anotherposter@shitposter.world
                wrote sidst redigeret af
                #8
                @b0rk standalone `info` displays man pages with hyperlinks, regex search, normal search and a bunch of features
                1 Reply Last reply
                0
                • b0rk@social.jvns.caB b0rk@social.jvns.ca

                  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)

                  fabio@zirk.usF This user is from outside of this forum
                  fabio@zirk.usF This user is from outside of this forum
                  fabio@zirk.us
                  wrote sidst redigeret af
                  #9

                  @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

                  1 Reply Last reply
                  0
                  • b0rk@social.jvns.caB b0rk@social.jvns.ca

                    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)

                    quaff@thecanadian.socialQ This user is from outside of this forum
                    quaff@thecanadian.socialQ This user is from outside of this forum
                    quaff@thecanadian.social
                    wrote sidst redigeret af
                    #10

                    @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!

                    1 Reply Last reply
                    0
                    • b0rk@social.jvns.caB b0rk@social.jvns.ca

                      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)

                      phred@weirder.earthP This user is from outside of this forum
                      phred@weirder.earthP This user is from outside of this forum
                      phred@weirder.earth
                      wrote sidst redigeret af
                      #11

                      @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)

                      1 Reply Last reply
                      0
                      • b0rk@social.jvns.caB b0rk@social.jvns.ca

                        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)

                        tomi@mamot.frT This user is from outside of this forum
                        tomi@mamot.frT This user is from outside of this forum
                        tomi@mamot.fr
                        wrote sidst redigeret af
                        #12

                        @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.

                        1 Reply Last reply
                        0
                        • b0rk@social.jvns.caB b0rk@social.jvns.ca

                          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)

                          rjbs@social.semiotic.systemsR This user is from outside of this forum
                          rjbs@social.semiotic.systemsR This user is from outside of this forum
                          rjbs@social.semiotic.systems
                          wrote sidst redigeret af
                          #13

                          @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.

                          aerique@genart.socialA milo@types.plM fanf@mendeddrum.orgF 3 Replies Last reply
                          0
                          • b0rk@social.jvns.caB b0rk@social.jvns.ca

                            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)

                            acut3@infosec.exchangeA This user is from outside of this forum
                            acut3@infosec.exchangeA This user is from outside of this forum
                            acut3@infosec.exchange
                            wrote sidst redigeret af
                            #14

                            @b0rk I use man with MANPAGER set to `less -ic --use-color -Dd+g -Duc`. Not super fancy, but has a few colors.

                            1 Reply Last reply
                            0
                            • b0rk@social.jvns.caB b0rk@social.jvns.ca

                              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)

                              S This user is from outside of this forum
                              S This user is from outside of this forum
                              simpleanecdote@mastodon.social
                              wrote sidst redigeret af
                              #15

                              @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.

                              1 Reply Last reply
                              0
                              • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                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)

                                notecharlie@social.bigcavemaps.comN This user is from outside of this forum
                                notecharlie@social.bigcavemaps.comN This user is from outside of this forum
                                notecharlie@social.bigcavemaps.com
                                wrote sidst redigeret af
                                #16

                                @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.

                                1 Reply Last reply
                                0
                                • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                  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)

                                  ladytel@masto.hackers.townL This user is from outside of this forum
                                  ladytel@masto.hackers.townL This user is from outside of this forum
                                  ladytel@masto.hackers.town
                                  wrote sidst redigeret af
                                  #17

                                  @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

                                  1 Reply Last reply
                                  0
                                  • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                    @krans i'm happy for emacs users but I am never going to use emacs so no 🙂

                                    aerique@genart.socialA This user is from outside of this forum
                                    aerique@genart.socialA This user is from outside of this forum
                                    aerique@genart.social
                                    wrote sidst redigeret af
                                    #18

                                    @b0rk @krans Girl!

                                    1 Reply Last reply
                                    0
                                    • rjbs@social.semiotic.systemsR rjbs@social.semiotic.systems

                                      @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.

                                      aerique@genart.socialA This user is from outside of this forum
                                      aerique@genart.socialA This user is from outside of this forum
                                      aerique@genart.social
                                      wrote sidst redigeret af
                                      #19

                                      @rjbs @b0rk So we first need to convert roff to something useful?

                                      (As someone who wrote an RTF to XML converter once in XSLT and Java I am not volunteering.)

                                      rjbs@social.semiotic.systemsR 1 Reply Last reply
                                      0
                                      • b0rk@social.jvns.caB b0rk@social.jvns.ca

                                        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)

                                        gduchaussois@mastodon.xyzG This user is from outside of this forum
                                        gduchaussois@mastodon.xyzG This user is from outside of this forum
                                        gduchaussois@mastodon.xyz
                                        wrote sidst redigeret af
                                        #20

                                        @b0rk batman from bat ?

                                        1 Reply Last reply
                                        0
                                        • aerique@genart.socialA aerique@genart.social

                                          @rjbs @b0rk So we first need to convert roff to something useful?

                                          (As someone who wrote an RTF to XML converter once in XSLT and Java I am not volunteering.)

                                          rjbs@social.semiotic.systemsR This user is from outside of this forum
                                          rjbs@social.semiotic.systemsR This user is from outside of this forum
                                          rjbs@social.semiotic.systems
                                          wrote sidst redigeret af
                                          #21

                                          @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.

                                          aerique@genart.socialA 1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper