This question is for AIX 7
I have been working on a monitor which will display several pages of text. Initially the end user wanted a scrolling list for which I constructed this:
IFS=''; cat plfeed | while read line; do echo $line; perl -e 'select(undef,undef,undef,.8)'; done
The end user has decided that they would rather display a page (24 lines) of output for a set amount of time (20 seconds for example). I know that more will let me display a page at a time, but it requires keyboard input which is not acceptable for my use-case.
How can I automate the 'more' command, or build a similar function that will sleep between pages and then automatically advance?