Query functions for terminal insert and delete capability.
#include <curses.h>
bool has_ic(void);
bool has_il(void);
The has_ic subroutine indicates whether the terminal has insert- and delete-character capabilities.
The has_il subroutine indicates whether the terminal has insert- and delete-line capabilities, or can simulate them using scrolling regions.
The has_ic subroutine returns a value of TRUE if the terminal has insert- and delete-character capabilities. Otherwise, it returns FALSE.
The has_il subroutine returns a value of TRUE if the terminal has insert- and delete-line capabilities. Otherwise, it returns FALSE.
To determine the insert capability of a terminal by returning TRUE or FALSE into the user-defined variable insert_cap, enter:
int insert_cap; insert_cap = has_ic();
To determine the insert capability of a terminal by returning TRUE or FALSE into the user-defined variable insert_line, enter:
int insert_line; insert_line = has_il();
This subroutine is part of Base Operating System (BOS) Runtime.
Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Understanding Terminals with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.