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?


The tput command uses terminfo (from man tput):

tput [-Ttype] capname [parms ... ]


For a complete list of capabilities and the capname associated with each, see terminfo(5).


indicates the capability from the terminfo database. When termcap support is compiled in, the termcap name for the capability is also accepted.

The civis and cnorm are documented in terminfo's man page:

   cursor_invisible              civis      vi        make cursor invisi‐
   cursor_normal                 cnorm      ve        make cursor appear
                                                      normal (undo

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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.