{"id":1990,"date":"2012-02-12T15:09:26","date_gmt":"2012-02-12T23:09:26","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=1990"},"modified":"2012-03-25T22:06:03","modified_gmt":"2012-03-26T05:06:03","slug":"console2-and-cygwin-with-solarized-color-palette","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2012\/02\/console2-and-cygwin-with-solarized-color-palette\/","title":{"rendered":"Console2 and Cygwin with Solarized Color Palette"},"content":{"rendered":"<p>If you want to use <a href=\"http:\/\/ethanschoonover.com\/solarized\">Ethan Schoonover&#8217;s Solarized color palette<\/a> with <a href=\"http:\/\/sourceforge.net\/projects\/console\/\">Console2<\/a> and <a href=\"http:\/\/www.cygwin.com\/\">Cygwin<\/a>, here&#8217;s how:<\/p>\n<ol>\n<li \/>Edit the console settings file at <tt>%LOCALAPPDATA%\\Console2\\console.xml<\/tt> or <tt>%APPDATA%\\Console\\console.xml<\/tt>.\n<li \/>Replace the <tt>&lt;colors&gt; ... &lt;\/colors&gt;<\/tt> section with the following:\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;colors&gt;\r\n   &lt;color id=&quot;0&quot; r=&quot;7&quot; g=&quot;54&quot; b=&quot;66&quot;\/&gt;         &lt;!-- black --&gt;\r\n   &lt;color id=&quot;1&quot; r=&quot;38&quot; g=&quot;139&quot; b=&quot;210&quot;\/&gt;      &lt;!-- blue --&gt;\r\n   &lt;color id=&quot;2&quot; r=&quot;133&quot; g=&quot;153&quot; b=&quot;0&quot;\/&gt;       &lt;!-- green --&gt;\r\n   &lt;color id=&quot;3&quot; r=&quot;42&quot; g=&quot;161&quot; b=&quot;152&quot;\/&gt;      &lt;!-- cyan --&gt;\r\n   &lt;color id=&quot;4&quot; r=&quot;220&quot; g=&quot;50&quot; b=&quot;47&quot;\/&gt;       &lt;!-- red --&gt;\r\n   &lt;color id=&quot;5&quot; r=&quot;211&quot; g=&quot;54&quot; b=&quot;130&quot;\/&gt;      &lt;!-- magenta --&gt;\r\n   &lt;color id=&quot;6&quot; r=&quot;181&quot; g=&quot;137&quot; b=&quot;0&quot;\/&gt;       &lt;!-- yellow\/brown --&gt;\r\n   &lt;color id=&quot;7&quot; r=&quot;238&quot; g=&quot;232&quot; b=&quot;213&quot;\/&gt;     &lt;!-- white --&gt;\r\n   &lt;color id=&quot;8&quot; r=&quot;0&quot; g=&quot;43&quot; b=&quot;54&quot;\/&gt;         &lt;!-- brblack --&gt; \r\n   &lt;color id=&quot;9&quot; r=&quot;131&quot; g=&quot;148&quot; b=&quot;150&quot;\/&gt;     &lt;!-- brblue --&gt;\r\n   &lt;color id=&quot;10&quot; r=&quot;88&quot; g=&quot;110&quot; b=&quot;117&quot;\/&gt;     &lt;!-- brgreen --&gt;\r\n   &lt;color id=&quot;11&quot; r=&quot;147&quot; g=&quot;161&quot; b=&quot;161&quot;\/&gt;    &lt;!-- brcyan --&gt;\r\n   &lt;color id=&quot;12&quot; r=&quot;203&quot; g=&quot;75&quot; b=&quot;22&quot;\/&gt;      &lt;!-- brred --&gt;\r\n   &lt;color id=&quot;13&quot; r=&quot;108&quot; g=&quot;113&quot; b=&quot;196&quot;\/&gt;    &lt;!-- brmagenta\/violet --&gt;\r\n   &lt;color id=&quot;14&quot; r=&quot;101&quot; g=&quot;123&quot; b=&quot;131&quot;\/&gt;    &lt;!-- bryellow --&gt;\r\n   &lt;color id=&quot;15&quot; r=&quot;253&quot; g=&quot;246&quot; b=&quot;227&quot;\/&gt;    &lt;!-- brwhite  --&gt;\r\n&lt;\/colors&gt;\r\n<\/pre>\n<li \/>Restart Console2.\n<\/ol>\n<p>Colors in <tt>vim<\/tt> look good:<\/p>\n<blockquote><p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/VIM_CPPColors.png\" alt=\"Editing a CPP file in vim\" title=\"VIM_CPPColors\" width=\"400\" height=\"374\" class=\"size-full wp-image-2007\" srcset=\"https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/VIM_CPPColors.png 400w, https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/VIM_CPPColors-300x280.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p><\/blockquote>\n<p>Cygwin <tt>ls<\/tt> colors are a bit odd compared to other platforms:<\/p>\n<blockquote><p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/DefaultCygwinLSColors.png\" alt=\"Cygwin directory listing\" title=\"DefaultCygwinLSColors\" width=\"342\" height=\"112\" class=\"size-full wp-image-2008\" srcset=\"https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/DefaultCygwinLSColors.png 342w, https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2012\/02\/DefaultCygwinLSColors-300x98.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you want to use Ethan Schoonover&#8217;s Solarized color palette with Console2 and Cygwin, here&#8217;s how: Edit the console settings file at %LOCALAPPDATA%\\Console2\\console.xml or %APPDATA%\\Console\\console.xml. Replace the &lt;colors&gt; &#8230; &lt;\/colors&gt; section with the following: &lt;colors&gt; &lt;color id=&quot;0&quot; r=&quot;7&quot; g=&quot;54&quot; b=&quot;66&quot;\/&gt; &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2012\/02\/console2-and-cygwin-with-solarized-color-palette\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[291,15,283],"tags":[],"class_list":["post-1990","post","type-post","status-publish","format-standard","hentry","category-cygwin","category-technology","category-windows-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/1990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=1990"}],"version-history":[{"count":21,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/1990\/revisions"}],"predecessor-version":[{"id":2031,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/1990\/revisions\/2031"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=1990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=1990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=1990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}