[IPython-user] better way to view help info in ipython?

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Sun Dec 31 05:36:01 CST 2006

>>>>> "Ville" == Ville M Vainio <vivainio at gmail.com> writes:

    Ville> On 12/31/06, belinda thom <bthom at cs.hmc.edu> wrote:
    >> FWIW, in this case,
    >> In [9]: S.random.multinomial?
    >> keeps the info in the buffer, e.g.:

    Ville> That's because it uses normal standard output printing
    Ville> mechanism, while less accesses the raw screen directly. I
    Ville> don't know whether some pagers have command line switches
    Ville> to avoid this... but it's not really something that is
    Ville> under IPython's control.

'less -X' will prevent clearing the screen.  Here is the man page entry:

       -X or --no-init
              Disables sending the termcap initialization and deinitialization
              strings to the terminal.  This is  sometimes  desirable  if  the
              deinitialization  string does something unnecessary, like clear-
              ing the screen.


More information about the IPython-user mailing list