I wanted to hide the cursor, and I was aware of tput
command. I did search its man page. On searching the Internet, I found
$ tput civis # to hide the cursor
$ tput cnorm # to bring back the cursor
These work perfectly, but these options are not mentioned anywhere in the man page.
Where are they officially documented?
Best Answer
The
tput
command usesterminfo
(fromman tput
):The
civis
andcnorm
are documented interminfo
's man page:In general, when you don't know which man page describes a particular command, you can search for it. In this case, I found the above by running
man -K civis
.