Hi Ian, Thanks for point that out. Yes I didn't notice what was on the table. However, I found that I can get light gray (but not dark gray) when I specify the screen mode to the kernel boot line in grub.conf. I got a good result by appending 'vga=785' or 'vga=773' to the line. A little mystery is that I get the full 16 foreground colors on the console of my development system (Fedora-9) but not on the deploying system which is a stripped down version of the same distribution. I got only 8 foreground colors. However, having the light gray is quite satisfactory.
Is there anything I should look at to bring the number of foreground colors to 16? Thanks a lot. -Sitti On Sat, Jul 24, 2010 at 11:23 AM, Ian Ward <[email protected]> wrote: > Hello Sitti, > > I believe that Muhammad was pointing out that table at the top of > http://excess.org/urwid/wiki/DisplayAttributes > > AFAIK the Linux console only supports 16 foreground and 8 background > colours. Other terminals have similar limitations. If you are writing > a program that you want to be compatible with terminals like those you > need to choose some of the colours that work for users without 88/256 > colour support. > > Ian > > Sitti Amarittapark wrote on 2010-07-20 14:13: > > Hi Muhammad, > > > > I forgot to mentioned that the palette test application can use all 256 > > colors when I run it remotely using ssh. However the color palette > > becomes very limitted when I run it directly on it's console. > > > > Thanks, > > -Sitti > > > > On Tue, Jul 20, 2010 at 8:14 AM, Muhammad Ammar <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hi, > > > > may be following link will help > > http://excess.org/urwid/wiki/DisplayAttributes > > > > _______________________________________________ > Urwid mailing list > [email protected] > http://lists.excess.org/mailman/listinfo/urwid >
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
