From: Willy Tarreau <willy@w.ods.org>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Thomas Fazekas <thomas.fazekas@gmail.com>,
linux-kernel@vger.kernel.org, arch@archlinux.org
Subject: Re: Modify setterm color palette
Date: Sun, 15 Jan 2006 13:55:47 +0100 [thread overview]
Message-ID: <20060115125547.GM7142@w.ods.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0601151313360.4174@yvahk01.tjqt.qr>
Hi Jan,
On Sun, Jan 15, 2006 at 01:15:23PM +0100, Jan Engelhardt wrote:
>
> >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. :)
Thanks for the tip, I was not aware of this !
> >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.
I can confirm that it works on matrox_fb at least !
> Jan Engelhardt
regards,
willy
next prev parent reply other threads:[~2006-01-15 12:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 12:07 Thomas Fazekas
2006-01-15 12:15 ` Jan Engelhardt
2006-01-15 12:55 ` Willy Tarreau [this message]
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=20060115125547.GM7142@w.ods.org \
--to=willy@w.ods.org \
--cc=arch@archlinux.org \
--cc=jengelh@linux01.gwdg.de \
--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
all inboxes | Powered by JetHome®