From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IE4Uj-0001Xf-OG for mharc-grub-devel@gnu.org; Thu, 26 Jul 2007 10:39:13 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IE4Uh-0001Wt-Dh for grub-devel@gnu.org; Thu, 26 Jul 2007 10:39:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IE4Uf-0001W2-HZ for grub-devel@gnu.org; Thu, 26 Jul 2007 10:39:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IE4Uf-0001Vx-6g for grub-devel@gnu.org; Thu, 26 Jul 2007 10:39:09 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IE4Ue-0002lS-Qo for grub-devel@gnu.org; Thu, 26 Jul 2007 10:39:08 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IE4Ua-0004qt-Sr for grub-devel@gnu.org; Thu, 26 Jul 2007 16:39:07 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1IE4XM-0002Jz-O2 for grub-devel@gnu.org; Thu, 26 Jul 2007 16:41:56 +0200 Date: Thu, 26 Jul 2007 16:41:56 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070726144156.GA8579@aragorn> References: <20070725205327.GA2153@aragorn> <46A7BD2C.50609@nic.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <46A7BD2C.50609@nic.fi> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: [RFC] color command X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 14:39:11 -0000 On Thu, Jul 26, 2007 at 12:14:20AM +0300, Vesa Jääskeläinen wrote: > > Hi, > > One idea was to define themable colors and then use grub_video_map_color > to map this to hardware (color index or RGB value): > > http://grub.enbug.org/VideoSubsystem#head-0df1ed220076ff6cc8188d1a192a21d443cc2456 > > You could define normal VGA color with like > GRUB_COLOR_{WHITE|BLACK|LIGHT_GREEN|YELLOW...}. Then setup theme to map > GRUB_COLOR_CONSOLE_BACKGROUND->GRUB_COLOR_BLACK and > GRUB_COLOR_CONSOLE_FOREGROUND->GRUB_COLOR_LIGHT_GREEN. Of course we have > this missing component 'theme support' here ;) Ok, but you're missing the user interface part. How would that be glued? > You can make dynamic variables in GRUB so that when you set it it will > call function (which could call proper {term|theme}->set color function). Nifty. Is that some sort of preprocessor hack? > I would rather resolve this issue at same time when resolving graphical > menu issues (meaning within graphical menu subproject) (still looking > for more members ;)): > > http://grub.enbug.org/Subprojects > http://grub.enbug.org/Subprojects/GraphicalMenu Uhm that's inconvenient for us [1], because we need basic color functionality (i.e. similar to GRUB Legacy's) soon, and I can't really volunteer more time to speed up the graphical menu efforts. [1] Debian, that is. -- 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.