Slow scrolling
I used to be able to automatically scroll a scroll region under a different OS. I tried those escape commands but everyone fails.
Other than doing a where/read line and sleep to display a line are there any shell escape commands or anything to do this automatically? Is there a way to create a scroll region with bash? I can do it with that where/read and carefully setting margins but am looking for a simpler approach maybe like scrollreg x,y x1,y1? |
i lost you in "scroll a scroll", please explain it with more examples and details.
|
Sounds like a bash programming question, not a Slackware specific topic.
Perhaps you're asking about a terminal configuration setting in Slackware? |
@cisneros: I am looking for escape commands to use in bash/bourne shell scripting that allow for automatic scrolling of text within a defined scroll region.
My fall back method is without defining a region within which to display: Code:
while read line @ |
Actually it is a bit of both bash and terminal.
What I had done was to tell the system/terminal that lines say 15 to 20 would be set aside to output to and whatever file I catted or listed would output only within those lines. It looks like tput csr is close but cannot get it to set aside a scroll area. Hope this helps someone to come up with a genius idea. |
How about this:
Quote:
|
Suppose you have a file.txt to scroll along a small portion of your screen, in the example between lines 10 and 30, I made this:
Code:
#!/bin/bash |
Another one with tput csr, scrolling file.txt
Code:
#!/bin/bash |
All times are GMT -5. The time now is 09:31 PM. |