in reply to Displaying output page-by-page?

Assuming a console app, the answer to the first question is Term::ReadKey. No idea about the second, sorry.

C.