Alexis S. L. Carvalho <alexis@cecm.usp.br> [Wed, 19 Mar 2008 16:54:35 -0300] rev 6303
two fixes for the pager stuff
- open pipe in binary mode
- don't start a pager if stdout is not a tty (this prevents test-ssh
from hanging if you set ui.usepager=True in run-tests.py)