On 12/13/06, William Stein <[EMAIL PROTECTED]> wrote: > > On an unrelated note, is there a reason that ?, ??, hg_sage.diff(), etc > > use the pager as opposed to printing normally? Is this configurable? > > For ?, ?? this is an IPython question. I think for IPython > this is determined by the environment variable PAGER. > For hg, less is used except in the notebook. This should be changed > (by changing part of misc/hg.py) to use the environment variable > PAGER instead, and default to less. Feel free to send me a patch.
And IPython actually calls genutils.page(), which only invokes $PAGER if the text is too long to fit in a screen. This way, small printouts don't call out to the pager, but long ones do. Regards, f --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---