[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 2

idlok Subroutine

Purpose

Allows curses to use the hardware insert/delete line feature.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>
idlok(Window, Flag)
WINDOW *Window;
bool Flag;

Description

The idlok subroutine enables curses to use the hardware insert/delete line feature for terminals so equipped. If this feature is disabled, curses cannot use it. The insert/delete line feature is always considered. Enable this option only if your application needs the insert/delete line feature; for example, for a screen editor. If the insert/delete line feature cannot be used, curses will redraw the changed portions of all lines that do not match the desired line.

Parameters

Flag Specifies whether to enable curses to use the hardware insert/delete line feature (True) or not (False).
Window Specifies the window it will affect.

Examples

  1. To enable curses to use the hardware insert/delete line feature in stdscr, enter:
    idlok(stdscr, TRUE);
  2. To force curses not to use the hardware insert/delete line feature in the user-defined window my_window , enter:
    idlok(my_window, FALSE);

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

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.

Setting Video Attributes and Curses Options in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]