Font colors in bash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Font colors in bash
On Thu, 29 Jan 2004, JD Austin wrote:

> > BLUE="^[[1;34m"        #System Messages


Make sure that is Escape not ^[.

> The first ^[ is the escape character. Im not sure how you'd put a chr(27) in
> that file without some sort of editor (nedit lets you do that); does the alt-#
> thing still work (forgot how that worked)?


Press CTRL-V followed by CTRL-[ (or ESC) in most shells.

Jeremy C. Reed
http://www.reedmedia.net/