Font colors in bash

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: 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/