keypad man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=keypad&af=0&tf=2&of=Ultrix

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.	 ®

       The  routine  is	 used  to return the character.	 If the keypad is dis‐
       abled, 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)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net