Language Selection

English French German Italian Portuguese Spanish

So You Like Color--The Mysterious ^[[

Filed under
Linux

Have you ever redirected the output of a curses program with colors and wondered what those mysterious ^[[ symbols are? Have you ever tried to produce colors with a printf command without using curses? If the answer to either of these questions is yes, read on. This article attempts to explain the mysterious characters that one finds in the output of a curses program that produces colors. Later, we extend this concept to produce colors with a mere printf command.

Full Article.

More in Tux Machines

To the One Billion Android™ Users: Stream Your Favorite Shows with TiVo®!

Calling all Android users – the wait is finally over! The Android streaming app is now available. With this update, users can stream most recorded and live shows directly to their Android mobile device to enjoy in or out of the home.* Read more

Bad Saved Games, Fedora Scheduling, and Scribbling

In tonight's Linux news, GamingOnLinux.com poster says "game saves are messing up our drives" - stop it! Phoronix.com is reporting on discussions of changing Fedora release schedule. Jack Germain says Scribbleton creates a personal local wiki to store anything from notes to books and Opera 25 draws near. Read more

Musique for Linux Review – A Minimalistic Player for You and Your Music

Musique is a minimalistic music player for the Linux platform that features a simple and clean interface. It's not like there is a lack of open source music players, so we've decided to see if this one is any good. Read more

CentOS 5.11 Officially Released, Probably the Last One in the Series

As you all know already, CentOS is an Enterprise-class Linux Distribution derived from sources provided by Red Hat. This is the eleventh update for the distribution and probably the last one. It features all the packages from all variants, including Server and Client, and the upstream repositories have been merged into a single one. Red Hat announced less than a month ago the release of their last update for Red Hat Enterprise Linux, 5.11. It stands to reason that CentOS 5.11 will also be the last update in the series. Read more