up and down that moves
the cursor to the first or last line.
#!/bin/bash # up - move cursor to the first line tput cup 0 0
#!/bin/bash # down - move cursor to the last line tput cup $(tput lines) 0I hope you find these useful as well!
| Pete's Linux Advent Calendar 2007 | Comments? send mail to pkruse@arcor.de |
|