DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

has_ic(CURSES)


has_ic -- query functions for terminal insert and delete capability

Synopsis

cc [options] file -lcurses
#include <curses.h>

bool has_ic(void);

bool has_il(void);

Description

The has_ic(CURSES) function indicates whether the terminal has insert- and delete-character capabilities.

The has_il(CURSES) function indicates whether the terminal has insert- and delete-line capabilities, or can simulate them using scrolling regions.

Return value

The has_ic(CURSES) function returns TRUE if the terminal has insert- and delete-character capabilities. Otherwise, it returns FALSE.

The has_il(CURSES) function returns TRUE if the terminal has insert- and delete-line capabilities. Otherwise, it returns FALSE.

Errors

No errors are defined.

Usage

The has_il(CURSES) function may be used to determine if it would be appropriate to turn on physical scrolling using scrollok(CURSES).

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005