From: Antonino A. D. <ad...@gm...> - 2007-10-22 14:20:56
|
On Sun, 2007-10-21 at 20:30 -0400, cga2000 wrote: > On Sun, Oct 21, 2007 at 07:31:31PM EDT, Antonino A. Daplas wrote: > > On Sun, 2007-10-21 at 08:34 -0400, cga2000 wrote: > > > > On Sat, Oct 20, 2007 at 12:06:31PM EDT, Antonino A. Daplas wrote: > > > > > > > > The 16 entries is standard since the linux console is limited to 16 > > colors. As to why separate each component (R, G, B) into 3 files, it's > > because that is the simplest way, otherwise, we have to add additional > > code to separate each color into its components before feeding them to > > the console layer. > > OK. > > So we have three files for our three fundamental colors. > > You have probably realized I'm a bit thick by now .. but why 16 entries > to each file - iow, I would have expected one for the background, one > for the foreground .. etc. > > I'm still a bit lost. Do you mean why not one file per attribute? ... ie, default_foreground, default_background, default_underline, etc? It is simply more complicated since we have to take into consideration how a console driver represents an attribute, ie, one driver may use blue for underline, another may use green, and in another ignored. Color though is treated the same whatever driver you use. Tony |