# Inspec terminal coloring

**URL:** <https://discuss.circleci.com/t/inspec-terminal-coloring/26308>\
**Category:** Build Environment\
**Created:** [November 5, 2018, 10:28pm UTC](https://discuss.circleci.com/t/inspec-terminal-coloring/26308 "2018-11-05T22:28:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wyardley](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/wyardley/32/19231_2.png) [@wyardley](https://discuss.circleci.com/u/wyardley)\
**Post date:** [November 5, 2018, 10:28pm UTC](https://discuss.circleci.com/t/inspec-terminal-coloring/26308/1 "2018-11-05T22:28:38Z")

</div>

I’m running “inspec” tests via kitchen-terraform in CircleCI

Locally, the (passing) test results are in green with dark background. In Circle, they show up with red background and white foreground, which is obviously not ideal. My guess is that this is because of whatever `TERM` is defined; if I run the job with SSH and run the verify, the colors are expected (but I’m getting my system’s terminal type over the ssh session, so xterm-xfree86).

I can file an issue on inspec’s GH project, but just wondering if anyone’s seen this before, or if I should try forcing a value `$TERM` (and if so what) in my job’s environment. This is how it shows up in Circle:

![inci](https://global.discourse-cdn.com/circleci/original/3X/0/4/04e4b20f2775831f3e12ee06094eb4681a5bda26.png)

And this is how it shows up if I run locally, or if I shell in to the Circle job (running w/ ssh) and run the verify from a terminal.  
 ![local](https://global.discourse-cdn.com/circleci/original/3X/3/a/3ab0d447e6d88a4a66439c3d9f338d9da3a4f1c1.png)

---

<div class="post-metadata">

**Author:** ![wyardley](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/wyardley/32/19231_2.png) [@wyardley](https://discuss.circleci.com/u/wyardley)\
**Post date:** [November 19, 2018, 10:11pm UTC](https://discuss.circleci.com/t/inspec-terminal-coloring/26308/2 "2018-11-19T22:11:13Z")

</div>

[https://github.com/inspec/inspec/issues/1700](https://github.com/inspec/inspec/issues/1700) has some more details (does seem to affect other systems as well). Basically, boils down to Circle not support 256 colors.

I did hear back from Circle support and apparently a fix is in the works.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [February 17, 2019, 10:11pm UTC](https://discuss.circleci.com/t/inspec-terminal-coloring/26308/3 "2019-02-17T22:11:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
