Skip to Content.
Sympa Menu

baslinux - Re: [BL] File manager

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: qwms-avib AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] File manager
  • Date: Fri, 29 Aug 2003 07:52:02 +1200

daybrown wrote:
>
> About color in, I presume, text mode, would it be possible
> to use assembly rather than ncurses?

In BL1 and BL2 you can use echo to change colors:
--------------------------------
echo -ne '\033[31m' # red
echo -ne '\033[32m' # green
echo -ne '\033[33m' # yellow
...etc...

echo -ne '\033[1m' # bold
echo -ne '\033[0m' # off
--------------------------------

It is also possible to embed color changes in strings.
See /etc/issue for examples of this.

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page