public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Robert Bridge <robert@robbieab.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Globally disabling colour
Date: Sun, 5 Jan 2020 12:17:23 +0000	[thread overview]
Message-ID: <CA+Uub+eavCOEegvRBAPLGHFpiOkE5Cpgo6E68sKRnX41iEy1Jg@mail.gmail.com> (raw)
In-Reply-To: <24081.53546.424507.967383@woitok.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

I had this issue many moons ago, which lead to my discovery of the
ansifilter package:

> # emerge -pv ansifilter | ansifilter
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies  . ... done!
> [ebuild   R    ] app-text/ansifilter-2.15::gentoo  USE="qt5" 0 KiB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB

It strips all the terminal escape chars which are how applications do the
color in their terminal output. Very handy when combined with pastebin
utilities.

Cheers,
Robert.

>
>

[-- Attachment #2: Type: text/html, Size: 982 bytes --]

  reply	other threads:[~2020-01-05 12:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-01 11:28 [gentoo-user] Globally disabling colour Dr Rainer Woitok
2019-10-01 11:32 ` Arve Barsnes
2019-10-01 11:42 ` Mick
2019-10-01 14:07 ` Håkon Alstadheim
2019-10-02  9:01   ` Dr Rainer Woitok
2019-10-02 14:50     ` Håkon Alstadheim
2020-01-05 12:06   ` Dr Rainer Woitok
2020-01-05 12:17     ` Robert Bridge [this message]
2020-01-05 12:44       ` Dr Rainer Woitok
2020-01-05 13:02         ` Robert Bridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+Uub+eavCOEegvRBAPLGHFpiOkE5Cpgo6E68sKRnX41iEy1Jg@mail.gmail.com \
    --to=robert@robbieab.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox