From: Anatolij Gustschin <agust@denx.de>
To: Amol Lad <amol.lad@gmail.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Background color Framebuffer console
Date: Thu, 21 Aug 2008 14:12:20 +0200 [thread overview]
Message-ID: <48AD5BA4.3050009@denx.de> (raw)
In-Reply-To: <8c675e9b0808210334q7871e06cnb926c7df0fe2055c@mail.gmail.com>
Amol Lad wrote:
> After enabling console on framebuffer, the background color is "blue"
background color should be "black" by default. What is the endianness
of your host CPU and of the frame buffer?
> . How can I change this color (to say black) ? Is this color specified
> by vc->vc_video_erase_char ?
To set black background try
# echo -e "\033[40m" > /dev/tty0
You could also try to set other bg colors and see what happens:
# for ((i = 40; i < 51; i++)) do echo -e "\033[${i}m > /dev/tty0"; done
No, it is not specified by vc->vc_video_erase_char but by upper nibble
of vc->vc_color, IIRC.
Best Regards,
Anatolij
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
next prev parent reply other threads:[~2008-08-21 12:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 10:34 Background color Framebuffer console Amol Lad
2008-08-21 12:12 ` Anatolij Gustschin [this message]
2008-08-21 12:21 ` Anatolij Gustschin
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=48AD5BA4.3050009@denx.de \
--to=agust@denx.de \
--cc=amol.lad@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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.