HP 3000 Manuals

notimeout [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

notimeout 

The notimeout routine is used to disable the timer used by getch().

Syntax 

     #include <curses.h>

     int notimeout(WINDOW *win, bool bf);

Parameters 

bf                    A Boolean expression.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

If bool is TRUE, notimeout() disables a timer used by getch() when
interpreting escape character sequences.

When bool is FALSE and keypad handling is enabled, a timer is set by
wgetch() to handle characters received that could be the beginning of a
function key (for example, ESC). If the remainder of the sequence is not
received before the time expires, the character is returned; otherwise,
the value of the function key is returned.  If notimeout() is set to
TRUE, the timer is not set and all characters are returned as single
values.


NOTE The notimeout() routine is a macro.
Implementation Considerations UNIX System V implementation See Also keypad(), wgetch() Portability UNIX System V


MPE/iX 5.0 Documentation