How to recognize ansi color escape codes in Windows7 64 bit command terminal
Asked Answered
D

4

6

I have tried Ansicon and I still cannot get ansi escape sequences to become recognized and interpreted in my CMD.EXE command prompt on Windows 7 64 bit. Has anyone been able to work this correctly and get a colorized console with this OS?

Detestable answered 19/2, 2010 at 5:34 Comment(1)
win7 32bit also has this problem.Prothallus
V
4

I ran into the same problem today, and found a workaround.

The commandline utility Windows ANSI Color detects ANSI color codes and sets the corresponding console color.

Example:

myapp.bat | wac

where wac is the Windows ANSI color utility

Vanover answered 14/3, 2011 at 11:32 Comment(0)
B
3

ANSICON (source) seems to work fine for me...

  • Put ansicon somewhere you intend to keep it...
  • Run ANSICON -I
  • Close the terminal
  • Open a new one...
Blender answered 28/8, 2014 at 22:5 Comment(0)
S
2

Ansicon use dll injection in order to enable ansi color in cmd.exe, which is disabled with the standard user privileges.

Try launching ansicon with "run as administrator" (right click)

Silvas answered 15/2, 2011 at 10:28 Comment(0)
D
-1

I've played a lot with this, and the best console for me is FarManager on Windows. http://www.farmanager.com/

It's a file manager, but with CTRL+O you will get the console, and very handy with full support of ANSI, autocomplete, etc.

Doggone answered 3/2, 2013 at 9:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.