Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84704

Bug#1088739: colors make ip's output unreadable

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Luca Boccassi <luca.boccassi@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1088739: colors make ip's output unreadable
Date Sat, 30 Nov 2024 12:50:02 +0100
Message-ID <JOu94-cKSL-1@gated-at.bofh.it> (permalink)
References <JOsqB-cJIc-3@gated-at.bofh.it>
X-Original-To 1088739@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Nov 30 11:42:08 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.248
Reply-To Luca Boccassi <luca.boccassi@gmail.com>, 1088739@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1088739
X-Debian-Pr-Package iproute2
X-Debian-Pr-Source iproute2
X-Gm-Message-State AOJu0YzrYRWgTlWloFBJTPWQHGSczEdn5oe3gkUxZHxENrb63q7Pi5SI FJQd1bXmbaZcOY6mGA+b1XlSu8QsJcViTHDFH/sBLvhW6KTyeFItST6MrH9fqIY7n5Hjc/PYJW6 A+dgMnSknNjNOyKIcmxqmqWdslwE1DCY4mKY=
X-Gm-Gg ASbGncunaRl27X1bKsOOspbOL24jP3+2gzmZ6sU4pxxVnXBI0V5ehxtAGDW0t+M7ze8 neQtG14sTuPBByyPIqUVT8REj58OqOdAQMQVgwGOXpphft/nK2nXPKpH+5jhwAgR19A==
X-Google-SMTP-Source AGHT+IGlRp0RAmW2+H3qLuPA3QTQoJ2xrqenz60F9fhDHfs4x6HOPQhlA1X7G4Lrn2sMOrFJjZygr5t7gDUV+YFGASg=
X-Received by 2002:a05:690c:9c0c:b0:6ef:6ba2:e851 with SMTP id 00721157ae682-6ef6ba2ecc0mr43665017b3.12.1732966783825; Sat, 30 Nov 2024 03:39:43 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1870826
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 30 Nov 2024 11:39:31 +0000
X-Original-Message-ID <CAMw=ZnQOfADxd6e=eHx7HAx8CHtBHchrAh6QBrTu6pE==1JyyA@mail.gmail.com>
X-Original-References <87bjxxm4uk.fsf@cecil.afaics.de>
Xref csiph.com linux.debian.bugs.dist:1222185 linux.debian.kernel:84704

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 wontfix
Control: close -1

On Sat, 30 Nov 2024 10:46:27 +0100 Harald Dunkel <harri@afaics.de> wrote:
> Package: iproute2
> Version: 6.12.0-1
>
> Blue on a black background is as impossible to read as yellow on
> white. Obviously it is not reasonable to modify the foreground
> color without taking the background color into accout. Could you
> please make sure ip and the other tools in iproute2 produce a
> readable output *by default*?

See the manpage, you can set COLORFGBG in your shell profile according
to your configuration.
There are no patches or color choices downstream, it's just what
upstream provides, so if you don't like their choice of a default,
please bring it up upstream, we will not carry out-of-tree patches to
customise something like this for one particular user, sorry.

See:

https://lore.kernel.org/netdev/E1s9rpA-00000006Jy7-18Q5@ws2.gedalya.net/
https://lore.kernel.org/netdev/173e0ec8-583a-4d5a-931f-81d08e43fe2b@gedalya.net/

Feel free to chime in those discussions.

> AFAIU upstream's default is COLOR_OPT_NEVER, see commit
> c31fd80a2268c0b1b77e1d65827003a2327315b8 . Sounds reasonable to
> me.

It sounds unreasonable to me, I like having colors in the output, it
makes it so much more readable. This is quite literally bike shedding.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1088739: colors make ip's output unreadable Harald Dunkel <harri@afaics.de> - 2024-11-30 11:00 +0100
  Bug#1088739: colors make ip's output unreadable Luca Boccassi <luca.boccassi@gmail.com> - 2024-11-30 12:50 +0100
    Re: Bug#1088739: colors make ip's output unreadable Harald Dunkel <harald.dunkel@aixigo.com> - 2024-12-02 12:20 +0100
      Re: Re: Bug#1088739: colors make ip's output unreadable Luca Boccassi <bluca@debian.org> - 2024-12-03 20:30 +0100
        Re: Bug#1088739: colors make ip's output unreadable Bjørn Mork <bjorn@mork.no> - 2024-12-03 21:00 +0100
    Re: Bug#1088739: colors make ip's output unreadable Harald Dunkel <harald.dunkel@aixigo.com> - 2024-12-02 12:40 +0100
    Bug#1088739: colors make ip's output unreadable Bastian Blank <waldi@debian.org> - 2024-12-21 15:50 +0100
      Bug#1088739: colors make ip's output unreadable Bastian Blank <waldi@debian.org> - 2025-01-02 11:20 +0100
      Bug#1088739: colors make ip's output unreadable Luca Boccassi <bluca@debian.org> - 2025-01-02 21:00 +0100
  Processed: Re: colors make ip's output unreadable "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-11-30 12:50 +0100
  Re: Bug#1088739: colors make ip's output unreadable Bjørn Mork <bjorn@mork.no> - 2024-11-30 14:50 +0100
  Processed: Re: Bug#1088739: colors make ip's output unreadable "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-12-21 15:50 +0100
  Processed: Re: Bug#1088739: colors make ip's output unreadable "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-01-02 21:00 +0100
  Bug#1088739: colors make ip's output unreadable Axel Scheepers <axel.scheepers76@gmail.com> - 2025-01-12 13:30 +0100
  Bug#1088739: colors make ip's output unreadable Harald Dunkel <harri@afaics.de> - 2025-03-18 09:20 +0100
  Bug#1088739: colors make ip's output unreadable "Oliver M. Schode" <oliver.schode@online.de> - 2025-03-19 14:10 +0100
    Bug#1088739: colors make ip's output unreadable Ben Hutchings <ben@decadent.org.uk> - 2025-03-26 17:10 +0100
      Bug#1088739: colors make ip's output unreadable Luca Boccassi <bluca@debian.org> - 2025-03-26 19:00 +0100
  Bug#1088739: [PATCH iproute2 1/2] color: Introduce and use default_color_opt() function Ben Hutchings <benh@debian.org> - 2025-03-19 23:00 +0100
    Bug#1088739: [PATCH iproute2 2/2] color: Handle NO_COLOR environment variable in default_color_opt() Ben Hutchings <benh@debian.org> - 2025-03-19 23:00 +0100
  Bug#1088739: [PATCH iproute2 0/2] Improve coloured text readability Ben Hutchings <benh@debian.org> - 2025-03-26 15:10 +0100
    Bug#1088739: [PATCH iproute2 2/2] color: Do not use dark blue in dark-background palette Ben Hutchings <benh@debian.org> - 2025-03-26 15:20 +0100
    Bug#1088739: [PATCH iproute2 1/2] color: Assume background is dark if unknown Ben Hutchings <benh@debian.org> - 2025-03-26 15:20 +0100
    Bug#1088739: [PATCH iproute2 0/2] Improve coloured text readability patchwork-bot+netdevbpf@kernel.org - 2025-04-06 19:20 +0200
  Bug#1088739: marked as done (colors make ip's output unreadable) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-06 21:20 +0200

csiph-web