ultrix man page for keypad

Query: keypad

OS: ultrix

Section: 3cur

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

keypad(3cur)															      keypad(3cur)

Name
       keypad - enable keypad

Syntax
       #include <cursesX.h>

       int keypad(win, bf)
       WINDOW *win;
       bool bf;

Description
       This  option  enables  the  keypad  of  the user's terminal.  If the keypad is enabled, pressing a function key (such as an arrow key) will
       return a single value representing the function key.  For example, pressing the	left  arrow  key  results  in  the  value  KEY_LEFT  being
       returned..  For more information see the Guide to X/Open Curses Screen-Handling.  (R)

       The  routine  is  used  to  return  the character.  If the keypad is disabled, does not treat function keys as special keys and the program
       interprets the escape sequences itself.	Keypad layout is terminal dependent; some terminals do not even have a keypad.

Return Values
       The function returns OK on success and ERR on error.

See Also
       getch(3cur)
       Guide to X/Open Curses Screen-Handling

																      keypad(3cur)
Related Man Pages
cdk_position(3) - debian
standend(3cur) - ultrix
standout(3cur) - ultrix
wstandend(3cur) - ultrix
wstandout(3cur) - ultrix
Similar Topics in the Unix Linux Community
Strange tab-completion behavior with zsh in screen
Numpad not working
xlib and keyboard events
Adding to an array in an external file, and adding elements to it.
Displaying every other line in an array.