Re: How to print colored text to a linux terminal?
From: LEE Sau Dan (danlee_at_informatik.uni-freiburg.de)
Date: 06/03/04
- Previous message: Bernhard Agthe: "Re: Linux presenation software with audio support"
- In reply to: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Next in thread: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Reply: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 03 Jun 2004 22:21:09 +0200
>>>>> "Steve" == Steve Kirkendall <skirkendall@dsl-only.net> writes:
Steve> In C/C++ source code, the escape character is written as
Steve> \033, so the above example could be programmed as...
Steve> int main(int argc, char **argv) {
Steve> puts("\033[1;33mThis is yellow\033[m"); return 0; }
Is "\e" no longer supported?
--
Lee Sau Dan +Z05biGVm- ~{@nJX6X~}
E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee
- Previous message: Bernhard Agthe: "Re: Linux presenation software with audio support"
- In reply to: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Next in thread: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Reply: Steve Kirkendall: "Re: How to print colored text to a linux terminal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]