• Onno (VK6FLAB)
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    8 months ago

    If you’re anything like me and find coloured text is often unreadable in a terminal window, here’s the list of how to address the issue:

    http://no-color.org/

    • Frater Mus@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      8 months ago

      Agreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”

      • mexicancartel@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        8 months ago

        Probably it will have an option --no-color or something as well as config. Somebody will ask for it for a specific niche use case and it might not be hard to implement within apt so they add it

      • The Doctor@beehaw.org
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        8 months ago

        It’ll be fun filtering all the color codes out of build logs, that’s for sure. :/

        • helaslo@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          8 months ago

          Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that

        • ReversalHatchery@beehaw.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          8 months ago

          So far almost any Linux software I have used and supports colored output automatically turns off coloring if it detects that stdout is not a terminal.