Ok the answer was found here
#Next page of paginated output
def more
if @paginator and @paginator.more?
self.print(@paginator.more, false)
if not @paginator.more?
@paginator = nil
end
else
@paginator = nil
self.puts "There is no more."
end
end
I guess I should change my request for the paginator message to be a bit more helpful. Ill find that definition in time and see what it looks like.
def more
@current += 1
return "There is no more.\r\n" if @current > @pages
page = @my_p.page(@current)
if more?
page.items.join("\r\n") << "\r\n---MORE (#{@current}/#{@pages})---\r\n"
else
page.items.join("\r\n") << "\r\n"
end
end
maybe something along the lines of..
def more
@current += 1
return "There is no more.\r\n" if @current > @pages
page = @my_p.page(@current)
if more?
page.items.join("\r\n") << "\r\n---Type MORE for next page (#{@current}/#{@pages})---\r\n"
else
page.items.join("\r\n") << "\r\n"
end
end
The reason for suggesting this change is that many people will try to do things like it did and repeatedly enter 'help' 'help' 'help' to get the next page or 'help more' which does not have a help topic :-p Just making the verbiage of the output a little more verbose would go a long way to help people not look as stupid as I feel.