I have my perl program printing something and I would like it to pipe to 'more'.
This will be very easy with 'program.pl | more'. The glitch is that this is interactive program and I cannot do just mentioned. The data flushes to screen. I know my option to print to a file and then view it, but I want to give option to see the output on the screen too. I can manipulate the print statements and ask for the user input (key press) at every 30 or so line but that will be terminal dependent and dirty tricks.
Your input will be valuable.