[Tutor] Scrolling through output in shell

Mike Hoy mhoy06 at gmail.com
Sun Nov 16 19:21:39 CET 2008


I'm writing a small program that writes to a text file. I want to be
able to view the contents of the text file inside of shell. But the
file is too large for a small shell window. Is there a way for the
user to 'scroll' through the contents of file that has been read into
the program? I noticed that on the man pages that you can do that
although I'm sure it's not written in python. Do I need to find a new
language to write this in? Maybe use a different language for the
output and still use python? Any help appreciated.

-- 
Mike Hoy
http://www.mikehoy.net


More information about the Tutor mailing list