Util-Linux Archive mirror
 help / color / mirror / Atom feed
From: Dragan Simic <dsimic@manjaro.org>
To: util-linux@vger.kernel.org
Subject: [RFC] Alternative color configuration for dmesg
Date: Sun, 16 Jul 2023 19:32:03 +0200	[thread overview]
Message-ID: <e6370090700c26776e2ce6444a05a2d2@manjaro.org> (raw)

Hello,

I'd like to implement support for an additional, alternative way for the 
color configuration in the dmesg utility.  It would use an environment 
variable to store the color configuration, in a way rather similar to 
what grep(1) does using the GREP_COLORS environment variable.

The rationale behind this new feature is the ability to have everything 
contained in one's ~/.bashrc, for example, with no need for additional 
configuration files, which makes setting up, using and keeping multiple 
machines in sync much easier.  Of course, the current way of using 
configuration files to store the color configuration for dmesg would 
remain untouched, so everyone would be free to make a choice.

Would you, please, accept a patch that implements the above-described 
new feature?

             reply	other threads:[~2023-07-16 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-16 17:32 Dragan Simic [this message]
2023-08-01 13:42 ` [RFC] Alternative color configuration for dmesg Karel Zak
2023-08-01 17:50   ` Dragan Simic

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=e6370090700c26776e2ce6444a05a2d2@manjaro.org \
    --to=dsimic@manjaro.org \
    --cc=util-linux@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).