Font colors in bash

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Jeremy C. Reed
Data:  
Temat: 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/