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)

    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
                    • 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
                      #22

                      @doekman it's so nice! my dream is that somehow someone has made something like that for the terminal

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

                        @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 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
                        #23

                        @rjbs @b0rk Oh it is constructive. I'd never looked at roff.

                        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)

                          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
                          #24

                          qman looks interesting but on my machine it takes several seconds to start https://github.com/plp13/qman

                          arrakeen_urbanite@universeodon.comA xmanmonk@mastodon.sdf.orgX 2 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)

                            flohw@pouet.chapril.orgF This user is from outside of this forum
                            flohw@pouet.chapril.orgF This user is from outside of this forum
                            flohw@pouet.chapril.org
                            wrote sidst redigeret af
                            #25

                            @b0rk I use [bat](https://github.com/sharkdp/bat) with this env var `export MANPAGER="sh -c 'col -bx | bat --language man --plain'"`
                            This look like this.

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

                              qman looks interesting but on my machine it takes several seconds to start https://github.com/plp13/qman

                              arrakeen_urbanite@universeodon.comA This user is from outside of this forum
                              arrakeen_urbanite@universeodon.comA This user is from outside of this forum
                              arrakeen_urbanite@universeodon.com
                              wrote sidst redigeret af
                              #26

                              @b0rk Appears to be coded in C. Perhaps it is a good target for re-implementation in Rust or Go?

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

                                qman looks interesting but on my machine it takes several seconds to start https://github.com/plp13/qman

                                xmanmonk@mastodon.sdf.orgX This user is from outside of this forum
                                xmanmonk@mastodon.sdf.orgX This user is from outside of this forum
                                xmanmonk@mastodon.sdf.org
                                wrote sidst redigeret af
                                #27

                                @b0rk Looks like a nice tui version of xman, which is one of my favorite guis.

                                1 Reply Last reply
                                0
                                • snoopj@hachyderm.ioS snoopj@hachyderm.io

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

                                  vathpela@infosec.exchangeV This user is from outside of this forum
                                  vathpela@infosec.exchangeV This user is from outside of this forum
                                  vathpela@infosec.exchange
                                  wrote sidst redigeret af
                                  #28

                                  @SnoopJ @b0rk also pinfo ( https://github.com/baszoetekouw/pinfo ), which is at least different.

                                  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)

                                    ingenieur@mas.toI This user is from outside of this forum
                                    ingenieur@mas.toI This user is from outside of this forum
                                    ingenieur@mas.to
                                    wrote sidst redigeret af
                                    #29

                                    @b0rk https://github.com/filiparag/wikiman
                                    or I also use Television for fuzzy finding and then opening the pages in bat with man.

                                    https://alexpasmantier.github.io/television/

                                    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)

                                      puppethead@ieji.deP This user is from outside of this forum
                                      puppethead@ieji.deP This user is from outside of this forum
                                      puppethead@ieji.de
                                      wrote sidst redigeret af
                                      #30

                                      @b0rk Maybe something like manx? It's for macOS but it is just a bash script so maybe it could be tweaked for other platforms.

                                      https://github.com/jakshin/manx

                                      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.

                                        milo@types.plM This user is from outside of this forum
                                        milo@types.plM This user is from outside of this forum
                                        milo@types.pl
                                        wrote sidst redigeret af
                                        #31

                                        @rjbs @b0rk this was my first thought lol. roff is incredibly cursed

                                        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)

                                          nafmo@social.vivaldi.netN This user is from outside of this forum
                                          nafmo@social.vivaldi.netN This user is from outside of this forum
                                          nafmo@social.vivaldi.net
                                          wrote sidst redigeret af
                                          #32

                                          @b0rk Not replace, but this script opens in a PDF viewer:

                                          https://www.softwolves.com/wolfblog/2024/11/19/making-man-pages-easier-to-read/

                                          I did write a simple HTML man page render back at university (1997), I wonder if I still have the sources for that...

                                          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