Font colors in bash

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy C. Reed
Dátum:  
Tárgy: 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/