
tput é um comando do sistema operacional Unix que faz uso de capacidades do terminal. Dependendo do sistema, tput usa o terminfo ou termcap.
tput linestput colstput cup 6 9Linhas=$(($(tput lines) / 2)); Colunas=$(($(tput cols) / 2)) ; tput cup $Linhas $Colunastput resettput boldtput revtput smultput rmulObs.: O comando tput smso também sublinha e para desligar(voltar ao normal), usa-se o tput rmso
tput eltput edObs.: Os caracteres teclados aparecerão piscando tput blink
tput ech 1Obs.: Há também os comandos tput cub N ; tput cuf N ; tput cub1 ; tput cuf1 ; tput ll ; tput cuu1
tput sctput rcObs.: Restaura o video ao normal
tput sgr0exemplo1
tput setaf 1tput setab 1tput dimtput cleartput civisObs.: o tput cnorm deixa o cursor visível
tput belhttp://www.bashguru.com/2010/04/how-to-handle-cursor-movement-in-shell.html
https://www.ibm.com/developerworks/aix/library/au-learningtput/
http://www.gnu.org/software/termutils/manual/termutils-2.0/html_chapter/tput_1.html