schizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 4 months agoDebian spices up APT package manager with a dash of colorwww.theregister.comexternal-linkmessage-square46fedilinkarrow-up1244arrow-down13
arrow-up1241arrow-down1external-linkDebian spices up APT package manager with a dash of colorwww.theregister.comschizoidman@lemmy.ml to Linux@lemmy.mlEnglish · 4 months agomessage-square46fedilink
minus-squareOnno (VK6FLAB)@lemmy.radiolinkfedilinkarrow-up18arrow-down1·4 months agoIf 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/
minus-squareFrater Mus@lemmy.sdf.orglinkfedilinkEnglisharrow-up6·4 months agoAgreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·4 months agoProbably 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
minus-squareThe Doctor@beehaw.orglinkfedilinkEnglisharrow-up4arrow-down2·4 months agoIt’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
minus-squarehelaslo@lemm.eelinkfedilinkarrow-up5·4 months agoApt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
minus-squareReversalHatchery@beehaw.orglinkfedilinkEnglisharrow-up4·4 months agoSo 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.
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/
Agreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”
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
It’ll be fun filtering all the color codes out of build logs, that’s for sure. :/
Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
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.