3 ms·
tput uses the terminfo database which is usually located in /usr/share/terminfo. If your terminal ($TERM) is not known to the operating system, you can also im
by dolmen 5y ago
tput uses the terminfo database which is usually located in /usr/share/terminfo.
If your terminal ($TERM) is not known to the operating system, you can also import the terminfo definition from another OS in a directory and point the TERMINFO environment variable to it (useful if the legacy OS you connect to via SSH doesn't have full support for your fancy terminal emulator).