has_ic(3X) has_ic(3X)
NAME
hasic, hasil - query functions for terminal insert and delete capa-
bility
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
bool hasic(void);
bool hasil(void);
DESCRIPTION
The hasic() function indicates whether the terminal has insert- and
delete-character capabilities.
The hasil() function indicates whether the terminal has insert- and
delete-line capabilities, or can simulate them using scrolling
regions.
RETURN VALUE
The hasic() function returns TRUE if the terminal has insert- and
delete-character capabilities. Otherwise, it returns FALSE.
The hasil() function returns TRUE if the terminal has insert- and
delete-line capabilities. Otherwise, it returns FALSE.
ERRORS
No errors are defined.
NOTES
The hasil() function may be used to determine if it would be
appropriate to turn on physical scrolling using scrollok().
SEE ALSO
curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98