From: Karel Zak <kzak@redhat.com>
To: util-linux@vger.kernel.org
Subject: terminal-colors.d changes
Date: Tue, 13 May 2014 13:38:58 +0200 [thread overview]
Message-ID: <20140513113858.GA26357@x2.net.home> (raw)
I have merged some improvements:
* $XDG_CONFIG_HOME/terminal-colors.d and $HOME/.config/terminal-colors.d
are supported now
* @termname suffix is possible to use to restrict the setting to
specified terminal, for example
touch /etc/terminal-colors.d/@vt100.disable
to disable colors for all utils with TERM=vt100
* "scheme" files to customize colors are supported now, for example
echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme
sets red background color for alert messages.
The scheme files supports color names (e.g. "red"), ANSI color
sequences (e.g. 37;41) and escape sequences (e.g. \a for bell).
* all this is optional and with almost zero overhead for systems
without terminal-colors.d/
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
next reply other threads:[~2014-05-13 11:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 11:38 Karel Zak [this message]
2014-05-13 18:16 ` terminal-colors.d changes Mantas Mikulėnas
2014-05-14 8:19 ` Karel Zak
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=20140513113858.GA26357@x2.net.home \
--to=kzak@redhat.com \
--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