Questions tagged [ansicon]

ANSICON provides ANSI escape sequences for Windows console programs. It provides much the same functionality as ANSI.SYS does for MS-DOS.

ANSICON provides ANSI escape sequences for Windows console programs. It provides much the same functionality as ANSI.SYS does for MS-DOS.

Requirements:

  • 32-bit: Windows 2000 Professional or later.
  • 64-bit: Windows Vista or later.

Running ANSICON with no arguments will start a new instance of the command processor (the program defined by the ComSpec environment variable, typically CMD.EXE), or display standard input if it is redirected. Any argument will be treated as a program and its arguments.

18 questions
23
votes
2 answers

Cucumber not showing coloured output in windows

this is probably something really stupid but I can't work it out. I upgraded my version of cucumber to v 0.10.0 and now the test's (running on Win 7) are not showing coloured output with the "pretty" formatter. When tests are run it prints this…
James Hollingworth
  • 14,040
  • 12
  • 39
  • 57
5
votes
4 answers

Issue getting ANSICON working on Windows 7 Enterprise 64-bit

I have been trying to get 1.50 or 1.40 ANSICON (https://github.com/adoxa/ansicon) working and have looked at sooooo many pages telling about how to install…
Mick Knutson
  • 2,297
  • 3
  • 25
  • 48
3
votes
0 answers

Git Bash with Ansicon

How can I get a clean install of Git Bash and Ansicon to work together, so that I get coloured output when using the Git Bash terminal? I've tried downloading ansicon, adding the x64 directory to my path and typing ansicon.exe -i into the Git Bash…
Richard
  • 494
  • 7
  • 18
3
votes
1 answer

Console colors (Windows)

Is it possible to print out things in different colors in Python for Windows? I already enabled ANSI.sys, but this does not seam to work. I want to be able to print one line in red, and the next in green, etc.
John Howard
  • 61,037
  • 23
  • 50
  • 66
3
votes
1 answer

ansicon -i not working. ansicon is not recognized as an internal or external command

Tired of looking at black and white error RSpec messages on the command prompt. I've decided to follow this post http://softkube.com/blog/ansi-command-line-colors-under-windows to install ansicon. That post directed me to the ansicon github…
user3277633
  • 1,891
  • 6
  • 28
  • 48
3
votes
2 answers

ansicon -i not working in Windows 7 x64

I have followed the direction on this site http://softkube.com/blog/ansi-command-line-colors-under-windows/ for downloading ansicon so I can have colored text in my command line. I run windows 7 on a 64-bit system. I extracted the downloaded zip…
almel
  • 7,178
  • 13
  • 45
  • 58
2
votes
1 answer

Strange characters in PHP Composer and Laravel installer output - Windows 10 CMD

I have this problem on Windows 10 -- PHP Composer showing strange characters. I have tried to install ansicon as suggested here and it solved the problem but then if I try to use terminal in JetBrains PhpStorm it's crashing... Maybe I need to fix…
Tomer Ofer
  • 378
  • 3
  • 15
2
votes
1 answer

Running behat through a PHP CLI script escapes out colour codes

When I run Behat tests directly from Windows PowerShell, the output is formatted with colour: But when I run the php script runbehat.php below with the command php runbehat.php:
Jodes
  • 14,118
  • 26
  • 97
  • 156
2
votes
1 answer

Get Ansicon working on Console2 (Windows 7, 64 bit)

I was wondering how you would get Ansicon working on Console2. Currently, tere is color when I run cmd.exe and colors show up (ie. Rspec). BUT, i have tried to use Console2 (Settings, Tabs, Shell -> C:\Windows\System32\cmd.exe…
tormentoso
  • 33
  • 1
  • 6
1
vote
0 answers

PHPUnit Ansicon is not showing colors

Operating System: Windows 8.1 (64 bit) Terminal: Git Bash Purpose: Show colors in PHPUnit command results Process followed: Downloaded https://github.com/downloads/adoxa/ansicon/ansi160.zip Extracted the file into C:\ansicon Added C:\ansicon\x64 in…
Placid
  • 1,400
  • 3
  • 22
  • 33
1
vote
1 answer

How can I work around Windows 10 command prompt stripping modified output of ANSI colors? (Ansicon)

I am writing a program for Windows Command Prompt. I was originally working on it in Windows 7, but have since upgraded to Windows 10 where it has broken. The batch file starts with this: rem _bc == Background Color (NOT ANSI) rem _bc2 == ANSI…
1
vote
1 answer

Ansicon on Windows 8 only runs once in a new "cmd /d"

I've installed Ansicon from the ansi160.zip, which I placed in a new C:\Program Files (x86)\ansicon directory and unzipped. From a command prompt in the x86 directory I uninstalled, reinstalled, and attempted to log on all different log levels. In…
Philip
  • 323
  • 3
  • 13
1
vote
1 answer

Ansicon doesn't install from python but only from cmd

I'm trying to install ansicon on Windows 8.1. I extracted the files and got to the level that I need to call ansicon -i. When I type this in my cmd and run python scripts that works great but when I call t from python by os.system('ansicon -i') that…
Danis Fischer
  • 375
  • 1
  • 7
  • 27
0
votes
1 answer

I can't understand how to install ansicon

https://github.com/adoxa/ansicon/tree/v1.89 I read the included readme.txt file but it mentions x64 and x86 and an ansicon.exe executable, which i can't find anywhere. Maybe I don't understand something fundamental about the process which I'm…
0
votes
1 answer

What's the meaning of "?]0;"

when I connect to a ssh in powershell I got such strings ?]0;wany@wany02: ~?[01;32mwany@wany02?[00m:?[01;34m~?[00m$ I print the bytes of the string [27 93 48 59 119 97 110 121 64 119 97 110 121 48 50 58 32 126 7 27 91 48 49 59 51 50 109 119 97 110…
wany
  • 9
  • 1
1
2