[Urwid] color problem on linux tty1
sitti at pancetera.com
Sun Jul 25 17:56:50 EDT 2010
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
Thanks a lot.
On Sat, Jul 24, 2010 at 11:23 AM, Ian Ward <ian at excess.org> wrote:
> Hello Sitti,
> I believe that Muhammad was pointing out that table at the top of
> 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.
> 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 <mammar at gmail.com
> > <mailto:mammar at gmail.com>> wrote:
> > Hi,
> > may be following link will help
> > http://excess.org/urwid/wiki/DisplayAttributes
> Urwid mailing list
> Urwid at lists.excess.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Urwid