Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit e4ee053

Browse files
moved 'Windows may need solutions to show ANSI codes' into its own feature file. Massaged text to it can stand alone.
1 parent 26e45f8 commit e4ee053

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

features/configuration/color.feature

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Feature: Windows may require additional solutions to display color
2+
3+
The output uses ANSI escapte codes to show text in color. Windows
4+
systems (shells) often don't interpret those codes at all.
5+
6+
If you're on Windows and you see ANSI escape codes in the output
7+
(something like `[1m [31m` ) and your text isn't in different colors,
8+
you may need to install a utility so that your Windows shell will
9+
interpret those codes correctly and show the colors. Here are some
10+
popular solutions:
11+
12+
* [ANSICON](https://github.com/adoxa/ansicon): ANSICON runs 'on top of' cmd or powershell. This is a very
13+
popular solution. You can set it up so that it's always used whenever
14+
you use cmd or powershell, or use it only at specific times.
15+
16+
* Alternatives to cmd.exe or powershell: [ConEmu](http://conemu.github.io/), [Console2](http://sourceforge.net/projects/console/),
17+
[ConsoleZ](https://github.com/cbucher/console)
18+
19+
* Unix-like shells and utilities: [cygwin](https://www.cygwin.com/), [babun](http://babun.github.io/index.html),
20+
[MinGW](http://www.mingw.org/) (Minimalist GNU for Windows)
21+
22+
To find out more, search for information about those solutions.

features/configuration/read_options_from_file.feature

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@ Feature: read command line configuration options from files
1616
lowest to highest precedence; for example, an option in `~/.rspec` can be
1717
overridden by an option in `.rspec-local`).
1818

19-
**Windows users:** The output uses ANSI escapte codes to show text in color.
20-
If you see ANSI escape codes in the output (something like `[1m [31m` ) and
21-
your text isn't in different colors, you may need to install a utility so
22-
that your Windows shell will interpret those codes correctly and show the
23-
colors. Here are some popular solutions:
24-
25-
* [ANSICON](https://github.com/adoxa/ansicon): ANSICON runs 'on top of' cmd or powershell. This is a very
26-
popular solution. You can set it up so that it's always used whenever
27-
you use cmd or powershell, or use it only at specific times.
28-
29-
* Alternatives to cmd.exe or powershell: [ConEmu](http://conemu.github.io/), [Console2](http://sourceforge.net/projects/console/),
30-
[ConsoleZ](https://github.com/cbucher/console)
31-
32-
* Unix-like shells and utilities: [cygwin](https://www.cygwin.com/), [babun](http://babun.github.io/index.html),
33-
[MinGW](http://www.mingw.org/) (Minimalist GNU for Windows)
34-
35-
More information can be found by searching for information about those solutions.
36-
3719
Scenario: Color set in `.rspec`
3820
Given a file named ".rspec" with:
3921
"""

0 commit comments

Comments
 (0)