Font colors in bash

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy C. Reed
Data:  
Asunto: 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/