Sets the cursor visibility.
Curses Library (libcurses.a)
int curs_set(int visibility);
The curs_set subroutine sets the appearance of the cursor based on the value of visibility:
Value of visibility Appearance of Cursor
|1||terminal-specific normal mode|
|2||terminal-specific high visibility mode|
The terminal does not necessarily support all the above values.
|Visibility||Sets the cursor state. You can set the cursor state to one of the following:|
If the terminal supports the cursor mode specified by visibility, then the cur_set subroutine returns the previous cursor state. Otherwise, the subroutine returns ERR.
To set the cursor state to invisible, use:
This subroutine is part of Base Operating System (BOS) Runtime.
Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs
List of Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs
Setting Video Attributes in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs