I measure my effort by the number of commands I had to enter on my terminal, the number of lines of Ruby code that I had to write, and the amount of HTML and embedded Ruby (ERb) lines I had to write.
First, here are some additional features that tput provides: extracting terminal information such as the devices, the number of columns and rows, and clearing data from the screen.
首先,tput提供了以下一些附加功能:提取终端信息(如设备,列数和行数)和清除屏幕上的数据。
3
You first enable the console terminal (TTP) and associate the programmable asynchronous line controller (PAS) and magnetic tape controller (MT) to avoid device number conflicts.