I love the Linux console, but due to many reasons have to work under Windows XP. So now I decided to make it look better but couldn't find any documentation/posts about it. Is it possible at all?
|
You can't do that because the way the Windows console works is fundamentally different from the Linux terminal. On Linux the coloring is done using ANSI escape sequences. From Wikipedia:
This pretty much means that coloring (and formatting in general) can be controlled by the user, even when the original program had no provision for that, by simply using strings which contain ANSI escapes. On Windows, the console formatting has to be done explicitly by the program. Each character cell is comprised of two 16-bit codes: a Unicode character and a style word (mainly color information). The program has to use the low-level API output functions to set the style information, otherwise all characters use the default style (gray on black). The moral of the story I guess is that Windows and Linux are two completely different operating systems. It is therefore better to get used to their idiosyncrasies, than to fight to fit either one to the mindset of the other. That way madness lies. |
|||||||||||||
|
|
Open Command Prompt, right click on the header bar at the top, select Properties, customize it in there:
|
|||||||||||||
|
|
Running You can find a list of available colors here. |
|||
|
|
|
You could always install Cygwin |
|||||||
|
|
I don't think you can customise CMD the way you describe in your comment to Moab's answer. If it's relevant, there are alternatives to Windows' CMD. |
|||
|
You can use PowerShell on windows XP and up, and it comes with the newer versions of Windows. See Costumizing the Windows PowerShell Console, Display Output in Color Using Windows PowerShell, and Windows PowerShell Tip: Modifying Message Colors from Microsoft Technet, for information on different some ways of customization. |
|||
|
|


