Hello All, I'm writing a Ruby command-line terminal program using Readline, and in some cases the output from the commands ran by the user overflows the height of the terminal. Thus, I'd like to be able to have pagination in the program. Any ideas how to do this? I found the following blog post (http://nex-3.com/posts/73-git-style-automatic-paging-in-ruby) that describes how to to Git-style pagination in a command-line program, but it wasn't meant for a terminal-style program. I tried switching the suggested code around such that I could redirect STDOUT back to the original IO and could kill the child process used to print the output, but that didn't work either. Any ideas on how to do pagination in Readline would be greatly appreciated! -- Thanks! Bryan -- Posted via http://www.ruby-forum.com/.