<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 February 2013 13:23, Florian M. Wagner <span dir="ltr">&lt;<a href="mailto:wagnerfl@student.ethz.ch" target="_blank">wagnerfl@student.ethz.ch</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":1a0">I am trying get the solarized color scheme (<a href="http://ethanschoonover.com/solarized" target="_blank">ethanschoonover.com/solarized</a><u></u>) working with the qtconsole. It works fine for code input (using pygments) but error messages, the output of !ls and things like that stay unaffected (see screenshot attached). Can someone give me a hint, where the colors of this type of output can be tweaked?</div>

</blockquote></div><br></div><div class="gmail_extra">Those are based on escape codes used in terminals, which are limited to 16 colours: <a href="http://en.wikipedia.org/wiki/ANSI_escape_code#Colors">http://en.wikipedia.org/wiki/ANSI_escape_code#Colors</a><br>

<br></div><div class="gmail_extra">You can influence how the Qt console displays those in this code, I think:<br><a href="https://github.com/ipython/ipython/blob/master/IPython/frontend/qt/console/ansi_code_processor.py#L283">https://github.com/ipython/ipython/blob/master/IPython/frontend/qt/console/ansi_code_processor.py#L283</a><br>

<br></div><div class="gmail_extra">Thomas<br></div></div>