From: Robert Millan <rmh@aybabtu.com>
To: grub-devel@gnu.org
Subject: [RFC] color command
Date: Wed, 25 Jul 2007 22:53:27 +0200 [thread overview]
Message-ID: <20070725205327.GA2153@aragorn> (raw)
Hi,
I'd like to discuss the possibility of providing functionality equivalent to
the "color" command in GRUB Legacy.
One of the downsides of how color worked in GRUB Legacy is that internally
colors were handled by GRUB directly as VGA codes. Since this isn't portable,
I suggest that we avoid it completely instead of just mapping them for
platforms using non-VGA tables (I've seen that ofconsole is using RGB structs).
The solution I propose would be to have a "color" variable (and another one for
highlight color?) with human readable names based on the list in GRUB Legacy,
and let each terminal parse that and pull their colors during initialisation
(this has the downside that one would have to reinitialise terminal after
changing color, but this seems to be akin to the gfxterm / gfxmode situation
and I think is reasonable).
Any comments? Should I go on implementing that?
--
Robert Millan
My spam trap is honeypot@aybabtu.com. Note: this address is only intended
for spam harvesters. Writing to it will get you added to my black list.
next reply other threads:[~2007-07-25 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 20:53 Robert Millan [this message]
2007-07-25 21:14 ` [RFC] color command Vesa Jääskeläinen
2007-07-26 14:41 ` Robert Millan
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=20070725205327.GA2153@aragorn \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.