[IPython-user] Configuring the pager

Paul Moore p.f.moore@gmail....
Mon Oct 15 07:19:12 CDT 2007


On 15/10/2007, Ville M. Vainio <vivainio@gmail.com> wrote:
> On 10/14/07, Paul Moore <p.f.moore@gmail.com> wrote:
>
> > I guess on Windows, I'm just more comfortable with per-application
> > configuration.
> >
> > Ultimately, it's irrational (and as I try to justify it, I realise
> > that more and more). But on the other hand, I'm comfortable with being
> > irrational :-)
>
> If you use import 'envpersist' extension, you can do
>
> %env PAGER=most
>
> http://ipython.scipy.org/moin/Cookbook/EnvPersist

Nice! Unfortunately, now I try it, I find that the pager needs to
support ANSI-style colour escapes - which Windows less doesn't :-(

So it looks like it's the built in pager after all...

Nevertheless, envpersist looks useful for other stuff, so I'm glad I
asked the question anyway.

Paul.


More information about the IPython-user mailing list