clear2ooo
screenful-dot-lua
i was supposed to write this in python as well. somebody else will figure it out.
this script displays text file movies on your terminal. linux only. i dont know if it could work on unix or other descendant.
it uses a command to figure out how many rows and columns the terminal is set to, at the time the script is executed. then it displays the text file a screenful at a time. the number of lines it shows is always one less than the number of rows. must put the cursor somewhere.
the script does a call to the system sleep function. the impatient user might want to change this to a lesser value such as 0.5 for half-second. otherwise if the display gets too long and boring, press control+c. at least this could be done on linux for me with mate desktop and mate terminal.
the text files that i intended to use with this script have no more than 80 characters per line. each line separated only by newline character.
for windows and macos i would have to write a qb64pe program that does the same thing. take into account line-ending sequence. might be able to use less or more or other such utility, just keep pressing page-down key for the next screenful.
one of the provided text files was fabricated by a qb64pe program to be used with this lua script. thats why its kind of large and boring. its an example of a robot floor painter. i was forced to use different code from my other program. this is to make sure it could fill in all the available screen spaces. having to show the robot moving smoothly would have been intolerable if it had to fill in 2320 spaces. it was hardcoded for 80x30 screen 0 text screen. disallowing the use of that troublesome bottom line. asciinema would have been able to do a much better job presenting this animation.