[pymvpa] object_name? in IPython not returning colored output
mih at debian.org
Thu Jan 31 11:54:33 UTC 2013
I had seen this on various machines from time to time, but never had the
stamina to figure it out.
On Tue, Jan 29, 2013 at 02:03:13PM +0100, Jan Derrfuss wrote:
> Dear All,
> It took me a while to figure this one out, so I thought I'll post
> the solution to the mailing list in case someone else has the same
> When I used object_name? or object_name?? in IPython, I frequently
> (but not always) had output with color escape sequences looking like
> ESC[0;31mType: ESC[0mAttributesCollector
> After a while, I realized that this only happens with longer output.
> It turned out that the underlying problem is that longer output is
> passed to a pager (e.g., less) before it is displayed. For example,
> in my .bashrc I had set the pager to less:
> export PAGER=less
> The problem was solved by using less -r instead:
> PAGER='less -r'
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
More information about the Pkg-ExpPsy-PyMVPA