From: Jan Engelhardt <jengelh@linux01.gwdg.de>
To: Thomas Fazekas <thomas.fazekas@gmail.com>
Cc: linux-kernel@vger.kernel.org, arch@archlinux.org
Subject: Re: Modify setterm color palette
Date: Sun, 15 Jan 2006 13:15:23 +0100 (MET) [thread overview]
Message-ID: <Pine.LNX.4.61.0601151313360.4174@yvahk01.tjqt.qr> (raw)
In-Reply-To: <421547be0601150407v8e087afh55a9ee12ae27ac8e@mail.gmail.com>
>I've been looking in the kernel sources in the "console.c" and I think
>spotted the
>place where the colours are set but it seems to me that a more appropiate
>place to do such things would be the terminfo db.
>
>Any hints ?
drivers/char/vt.c: default_red, default_grn, default_blu
You can also change them with `echo -en "\e]PXRRGGBB"`, where X is a hex
digit (range 0-F), and RGB are the components. Check console_codes(4) and
go figure. :)
>I'm using radeonfb under Suse/amd64 if that makes any difference...
I am not sure if changing colors works with fb, try your best.
Jan Engelhardt
--
next prev parent reply other threads:[~2006-01-15 12:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 12:07 Modify setterm color palette Thomas Fazekas
2006-01-15 12:15 ` Jan Engelhardt [this message]
2006-01-15 12:55 ` Willy Tarreau
2006-01-15 13:16 ` Russell King
2006-01-15 13:35 ` Willy Tarreau
2006-01-15 21:14 ` Jan Engelhardt
2006-01-16 9:54 ` Pavel Machek
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=Pine.LNX.4.61.0601151313360.4174@yvahk01.tjqt.qr \
--to=jengelh@linux01.gwdg.de \
--cc=arch@archlinux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.fazekas@gmail.com \
/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 NNTP newsgroup(s).