[IPython-user] More Windows questions part 1 - pager

Fernando Perez Fernando.Perez at colorado.edu
Tue Jun 21 15:43:16 CDT 2005


Jerry McRae wrote:
> I know it is stated the IPython is not intended as a shell, that's
> what I often use if for in Windows.  It it GREAT to have the power of
> Python available at the "command prompt".  I have aliases for various
> versions of the DIR command, and an alias to a Windows grep, and I
> have Python to control it and to manipulate the output!  Happy, happy,
> joy, joy.
> 
> There are a couple Windows specific annoyances I would like help
> solving.
> 
> 1) the internal pager.
> 
>    a. When displaying something on the screen, like the ? command, it
>       only displays 1/2 screen before the --Return to continue.. prompt. I
>       want it to display a WHOLE PAGE.  Executing a DOS command
>       through !xxxx | page correctly stops at a whole page.

You can set the PAGER environment variable to anything you want.

>    b. When using the PgUp key to see the previous pages in the buffer,
>       it is only moving 1/4 page at a time!  So if I just output some
>       long thing I have to press the PgUp key 4 times per page.
>       Again, I want to see a whole page at a time.

This must be something in the win32 command window, nothing I can control.

Best,

f




More information about the IPython-user mailing list