Improve man pages with syntax highlighting & more

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ •

  • @solitaryfox69
    @solitaryfox69 28 днів тому +23

    A cool thing about setting the man pager to neovim with
    `export MANPAGER="nvim --clean +Man!"`
    is that you can access the table of contents with `gO` in the manual while viewing it. Pretty handy to navigate through massive manuals, like the one of `tar`, for example.

    • @mananabanana
      @mananabanana 28 днів тому

      I like the --clean option but is there any way to just keep your theme while not loading any other plugin?

    • @catfan5618
      @catfan5618 28 днів тому +1

      @@mananabananaYou could use the -c or -cmd flag to execute the command to set your preferred color scheme.

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      Thanks for mentioning! Very useful trick.

    • @solitaryfox69
      @solitaryfox69 26 днів тому +1

      @@mananabanana You can maintain a separate config directory where you may keep any third-party colour scheme file, or whichever plugin or extra commands you may want, and have
      ```bash
      alias nvim-temp='XDG_CONFIG_HOME=/config XDG_DATA_HOME=/data nvim'
      ```
      and then have `export MANPAGER="nvim-temp +Man!"` in your rc, and this instance of neovim should start with the plugin you prefer to have while viewing manpages.
      I haven't tried this, though, but it's worth a shot.

    • @mananabanana
      @mananabanana 26 днів тому

      @@solitaryfox69 @catfan5618 Thanks for the help guys. Going on from what you said I figured out that you can set NVIM_APPNAME to the name of the directory of your second config to open neovim with that.

  • @A--_--M
    @A--_--M 14 днів тому +7

    The wallpaper is so comfy

  • @frogmanjack
    @frogmanjack 28 днів тому +7

    Who knew there was so many ways to make man pages not suck. Thanks Bread!

  • @etcher6841
    @etcher6841 28 днів тому +11

    Today was the first really cold day here too. Thankfully we got all this outstanding content to keep us busy during the coming winter nights ! Thanks bread! 🤘

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      Winter is coming! That's nice of you to say, no problem :-)

    • @xmvziron
      @xmvziron 28 днів тому

      Are you also from Europe? I was shocked at how cold it was, my hands were freezing all the way to school but I got there!

    • @etcher6841
      @etcher6841 28 днів тому

      @@xmvziron Indeed! Even though the numbers say it's not that cold yet, the stark contrast today was dire (both puns intended).

  • @syrefaen
    @syrefaen 7 днів тому +1

    bat-extras 3mb with bash scripts, nice!. Totaly forgat about those. That tldr rust clone tealdeer is a nice substitute to the man pages, it is linux comunity based man pages.

  • @bennockley
    @bennockley 26 днів тому +1

    , Very Intensive, beyond My Scope

  • @omarwhite3627
    @omarwhite3627 18 днів тому +3

    Been watching for a while, finally had to subscribe. I use macOS most of the time, but still learning a lot of useful stuff from you.

    • @BreadOnPenguins
      @BreadOnPenguins  17 днів тому +1

      Thanks for subbing, I appreciate it! macOS is unix-based after all, so many of the same things still apply :-)

  • @VioletJewel1729
    @VioletJewel1729 28 днів тому +5

    I use :Man in neovim ^_^ hehe. Love learning new things from the kids. I already knew about bat, but this is helpful. Looking forward to the next video! ^_^

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому +1

      Haha fair enough, glad I could share something useful! :-)

  • @xmvziron
    @xmvziron 28 днів тому +1

    Oh wow. That wikiman tool looks very useful! I'm currently now daily driving Gentoo on my desktop, trying to learn more about it, and I find myself always consulting the Gentoo wiki constantly. This will make it much easier to get the information, and I don't even have to open a web browser! Kudos, Bread!

  • @theclient6251
    @theclient6251 23 дні тому +2

    Learned something as per usual. Thank you.

  • @occultsupport
    @occultsupport 27 днів тому +3

    wtf I was switching from fish to zsh and I was literally looking for this. I swear you're tracking my every move even after all the safeguards

  • @mnk4allcaps
    @mnk4allcaps 9 днів тому +1

    Thank you

  • @Sluggernaut
    @Sluggernaut 28 днів тому +1

    Killer content after more killer content! WOW! The pace is amazing.

  • @whiskeylinux
    @whiskeylinux 28 днів тому +1

    Very cool, thanks for the info.

  • @infinitivez
    @infinitivez 28 днів тому +1

    Yay, youtube ate my comment again.
    Well good thing I found your video this morning, before I jumped to using most. I had just been looking up how to colorize man pages, among other things. Found out I should be using less this entire time, instead of more. Still not sure why more has been such a habit of mine. Less is by far superior

    • @xmvziron
      @xmvziron 28 днів тому +3

      Yeah, it really sucks. You could be writing a really good comment, and UA-cam thinks it's bad or something and removes it...

    • @infinitivez
      @infinitivez 28 днів тому +1

      @@xmvziron Ya, I'm used to editing my comments now, just to be sure they took, and when I get an error after edit, I know they didn't. Just kind used to it. Can never tell exactly what word YT decides it'll take issue with 😆

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      The same thing has happened to me and I've seen comments disappear when refreshing a page as well, thanks UA-cam. Lol, thanks for the leaving the comment again though - I appreciate it!
      Less > more ;^) Glad you were able to get less set up instead!

  • @RichardThomas341
    @RichardThomas341 28 днів тому +1

    Thanks, great stuff! I look forward to the next video, so I can learn more.

  • @ProfessorLinux
    @ProfessorLinux 28 днів тому +3

    Awesome! I didn't know about Wikiman 😂 I've always just used apropos!

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому +1

      Haha fair enough! Thanks for commenting :-)

  • @BrokenKanuck
    @BrokenKanuck 28 днів тому +3

    Strongly recommend a heated wrist rest! It’s safer and warms the blood coming into your hands, which is way more effective.

  • @motokokusanagi2675
    @motokokusanagi2675 28 днів тому +2

    Nice video! I'd love to see a video in the future of you showing a fresh install and setting up your system like this . Sorry if you already made it, I'm quite new to the channel ❤

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      Thank you! I do have a couple vids on my channel actually for both a full arch install, and what to do afterwards to get started :)

  • @kev2020-z9s
    @kev2020-z9s 28 днів тому +1

    Thank you keep up the good work.

  • @jorgel.2222
    @jorgel.2222 28 днів тому +1

    Hola Pan; ripgrep (rg) es fantástico al igual que bat.
    Hace años (+ de 20) que uso Linux y siempre descubro algo nuevo para la terminal, como el comando "tee" que hace unos meses descubrí , por citar un ejemplo.
    Los hábitos hacen que nos "encapsulemos" y solo hace falta un poco de curiosidad para que este sistema operativo, que es tan inmenso y maravilloso, nos sorprenda.
    Muy bueno lo que haces en el área de informática y magníficas las reflexiones y charlas en el bosque.
    Un saludo.

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      Hello, thank you for suggesting ripgrep! It is a great utility and worth showcasing. You are completely correct - it's good to consider alternate ways to accomplish a goal, and to have an open mind to learning new commands.
      Thank you very much, and I appreciate your comment :-)

  • @varhin2369
    @varhin2369 22 дні тому +1

    Beautiful desktop wallpaper. Did you paint it yourself?
    This landscape reminds of my childhood in Polesie region, Belarus, very similar nature in winter :)

    • @BreadOnPenguins
      @BreadOnPenguins  22 дні тому +1

      It is by Alois Arnegger, called Sonnenuntergang am vereisten Bach. His paintings are gorgeous.
      It's very interesting you say that! Arnegger mostly painted in his home country of Austria, to my knowledge, but maybe this one was elsewhere. Or maybe it is just similar :-)

  • @slimesushi
    @slimesushi 28 днів тому +5

    can you do a video about pywall or how do you generate color pallets, thank you

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому +2

      For sure, it is pywal and that vid is on the to-do list :^)

    • @bledleysworld
      @bledleysworld 28 днів тому +1

      @@BreadOnPenguins another vote for this! look forward to learning stuff from your vids, thanks :)

  • @Ninjetika
    @Ninjetika 28 днів тому +1

    Super interesting content. I am new to Linux so I am trying to keep up 😅 Cool channel 😊

  • @ossuseryoutube
    @ossuseryoutube 27 днів тому +1

    So, admittedly, I'm a old, dumb guy who works in JunOS fairly often and I love the way that one can search through a line of potential commands using the question mark. I have limited, minimal success learning Linux through man pages. I have no doubt that is my fault but there are absolutely many ways that Linux could made more accessible to us "normies?" and that is one.

    • @BreadOnPenguins
      @BreadOnPenguins  26 днів тому +1

      I just looked up how the ? feature works, it'd be great to see that appearing on other distros. Seems super helpful. The more helpful and accessible programs are added to Linux, the more widespread adoption we'd see.

    • @ossuseryoutube
      @ossuseryoutube 26 днів тому

      @@BreadOnPenguins thank you for looking into that and responding :)

  • @alaa_atwa
    @alaa_atwa 28 днів тому +2

    hey, thanks nerd 😃🥰

  • @vvieczorny
    @vvieczorny 27 днів тому +3

    wow, first luke smith woman distro

  • @mmkvhornet7522
    @mmkvhornet7522 16 днів тому +1

    good video

  • @jack-spade5647
    @jack-spade5647 17 днів тому

    . ...is this the Hyprland experience video? . ...the candle vibes!!!

  • @TheLinuxCast
    @TheLinuxCast 24 дні тому +1

    Do you use pywal or pywal16? I just started using the second one since it's still being updated.

    • @BreadOnPenguins
      @BreadOnPenguins  24 дні тому

      I use pywal! I'll have another look at pywal16 - thanks for letting me know about it.

  • @YrmiZ
    @YrmiZ 28 днів тому +1

    Verjnuarmu

  • @googIesux
    @googIesux 25 днів тому +1

    I really like your taste in visual theming. Beautiful painting, but I'm a nature lover, so I bias that way.
    Good vid!

  • @karshPrime
    @karshPrime 28 днів тому +3

    some penguin species, like adelie and gentoo, have a peculiar behaviour known as "stone stealing". they collect stones, arrange them neatly, and then steal from their neighbours' piles, often while being watched

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      That's really interesting, animal behavior is fascinating and I have not (yet!) had the chance to observe penguins in the wild. Sometimes you see similar stealing and dominance-establishing behaviors with birds caching seeds

    • @karshPrime
      @karshPrime 26 днів тому

      @@BreadOnPenguins ye i've only ever seen penguins in a zoo too

  • @etcher6841
    @etcher6841 28 днів тому +53

    But what about woman pages?

    • @doomcrimson1680
      @doomcrimson1680 28 днів тому +8

      Oh god please make this stop.

    • @Technopath47
      @Technopath47 28 днів тому +17

      Not just the man pages, but the woman pages, and the children pages too! They're manuals! I read them like manuals! I learned them!!!

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому +21

      I feel like I see this joke on literally any video that mentions "man pages" LOL

    • @etcher6841
      @etcher6841 28 днів тому +10

      I apologize, y'all, I saw the blank comment section and panicked a bit...

    • @solitaryfox69
      @solitaryfox69 28 днів тому +4

      Use emacs.

  • @PaulMason99
    @PaulMason99 28 днів тому +1

    Thanks for the video. I tried using the method using just less but it doesn't use the colours for bold or underline, just the pager prompt. The only way I got it to work was using the LESS_TERMCAP variables. I'm using OpenSUSE tumbleweed so it should be pretty recent versions. Any ideas?

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому +1

      Hm, the only thing I can think of is that less may not universally support --use-color (and possibly the tab spacing options) on all distros, iirc I've heard of that before. Hope you can get it figured out - best of luck!

    • @PaulMason99
      @PaulMason99 19 днів тому

      @@BreadOnPenguins so in case anyone else sees this and has the same issue. The solution was to set MANROFFOPT="-c". This passes -c to groff which man uses to format its output. -c means something like "handle colors in the old way" where "the old way" is the way that works with less. The other way to do it is to set GROFF_NO_SGR=1 but that (potentially) affects things other than man.

  • @pfnlk6885
    @pfnlk6885 3 дні тому +1

    Well GNU info is the one that's supposed to replace man pages with goodies like hyperlinks and colors but for some reason it's still not as popular

    • @BreadOnPenguins
      @BreadOnPenguins  3 дні тому

      I'll have to review it at some point, thanks for mentioning!

  • @chrisalupului
    @chrisalupului 28 днів тому +2

    Another great video, cheers!

  • @null11q
    @null11q 28 днів тому

    1:08 My tz is OMSK +6 and its definitely 1.30 at night. And Bread blinded me again.

    • @BreadOnPenguins
      @BreadOnPenguins  28 днів тому

      My bad lol I did get dark-mode themes for github & archwiki, this vid was recorded before then but future vids will have that. Have a good night

  • @PragMero
    @PragMero 28 днів тому +1

    te quiero mucho linux girl

  • @Rudolfucius
    @Rudolfucius 21 день тому +1

    Pro tips : Use finger less gloves to fight the cold and still type on your computer

  • @bennockley
    @bennockley 26 днів тому +1

  • @dimitri-ee7qj
    @dimitri-ee7qj 26 днів тому

    are you left handed or is camera mirrored? if so, did you switch j/k with d/f?

  • @danp8321
    @danp8321 28 днів тому +1

    Great video, thanks! Hope you're now feeling... toasty 🤣🤦🏻‍♂️

  • @Viken43
    @Viken43 28 днів тому +1

    Is wikiman not an archlinux package?

  • @timmygilbert4102
    @timmygilbert4102 26 днів тому

    I don't know what's man pages 😢

    • @yes-zr8qt
      @yes-zr8qt 20 днів тому

      Its the scared texts written by the ancients that explain how the world works

  • @hatkeinebedeutung492
    @hatkeinebedeutung492 12 днів тому

    Why does everybody say tealdear was superior to tldr ?

    • @BreadOnPenguins
      @BreadOnPenguins  12 днів тому

      It's a little bit faster but that's pretty much it. No huge differences :-)

  • @notafbihoneypot8487
    @notafbihoneypot8487 28 днів тому +1

    I just remembered the entire man page (syntax included) with my brain,
    I use Arch Btw

  • @PixelBoar
    @PixelBoar 27 днів тому +1

    Linux "man pages" feels incomplete in comparison to BSD's. In Linux they hint you in the right direction, you always have to use a search engine from there, whereas in BSD it is ALL there!

    • @BreadOnPenguins
      @BreadOnPenguins  26 днів тому +1

      I'll have to check out the BSD man pages then!

  • @compujohn96
    @compujohn96 27 днів тому +1

    Penguins poop every 20 mins. I wonder if they use cron for scheduling?

  • @slimkid0225
    @slimkid0225 11 днів тому

    Boy pages😂

  • @TurntableTV
    @TurntableTV 13 днів тому +1

    The similarities between what Mental Outlaw recently posted and what you posted here are... strange. You might have a copycat, Bread.

    • @BreadOnPenguins
      @BreadOnPenguins  12 днів тому

      I saw that and did wonder for just a second if he had seen my vid! Either way, such is the curse of Linux content.. a single topic can only be covered in finite ways :-)

    • @hatkeinebedeutung492
      @hatkeinebedeutung492 12 днів тому

      Oh now i know where i heard that tealdear was best before - but aint nobody says why. I dont get it. Whats wrong be tldr?