keyok - enable or disable a keycode


   #include <curses.h>

   int keyok(int keycode, bool enable);


   This  is an extension to the curses library.  It permits an application
   to disable specific keycodes, rather than use the  keypad  function  to
   disable all keycodes.  Keys that have been disabled can be re-enabled.


   The  keycode  must  be  greater than zero, else ERR is returned.  If it
   does not correspond to a defined key, then ERR  is  returned.   If  the
   enable  parameter  is  true,  then the key must have been disabled, and
   vice versa.  Otherwise, the function returns OK.


   These routines are specific to ncurses.  They  were  not  supported  on
   Version 7, BSD or System V implementations.  It is recommended that any
   code depending on them be conditioned using NCURSES_VERSION.




   Thomas Dickey.


More Linux Commands

glTexCoord4d(3gl) - set the current texture coordinates.....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT

CPU_ZERO(3) - macros for manipulating CPU sets (Man Page)...
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

pthread_attr_setstack(3) - set/get stack attributes in threa
The pthread_attr_setstack() function sets the stack address and stack size attributes of the thread attributes object referred to by attr to the values specifie

isnanf(3) - BSD floating-point classification functions.....
The finite(), finitef(), and finitel() functions return a nonzero value if x is neither infinite nor a not-a-number (NaN) value, and 0 otherwise. The isnan(), i

curl_easy_cleanup(3) - End a libcurl easy session (ManPage)
This function must be the last function to call for an easy session. It is the opposite of the curl_easy_init(3) function and must be called with the same handl

slk_restore(3ncurses) - curses soft label routines (ManPage)
The slk* functions manipulate the set of soft function-key labels that exist on many terminals. For those terminals that do not have soft labels, curses takes o

sha(1ssl) message digests (Commands - Linux manual page)....
The digest functions output the message digest of a supplied file or files in hexadecimal. The digest functions also generate and verify digital signatures usin

getpt(3) - open the pseudoterminal master (PTM) (Man Page)
getpt() opens a pseudoterminal master and returns its file descriptor. It is equivalent to open(/dev/ptmx, O_RDWR | O_NOCTTY); on Linux systems, though the pseu

dmevent_tool(8) - A utility used to load a DSO into dmeventd
dmevent_tool is a userspace utility used to register/unregister DSOs with the daemon dmeventd. If used with the -m command line parameter users can display all

getpmsg(2) - unimplemented system calls - Linux manual page
These system calls are not implemented in the Linux kernel. RETURN VALUE These system calls always return -1 and set errno to ENOSYS. NOTES Note that ftime(3),

menu_opts_on(3menu) - set and get menu options (Man Page)...
The function set_menu_opts sets all the given menus option bits (menu option bits may be logically-ORed together). The function menu_opts_on turns on the given

dbus-uuidgen(1) - Utility to generate UUIDs - Linux man page
The dbus-uuidgen command generates or reads a universally unique ID. Note that the D-Bus UUID has no relationship to RFC 4122 and does not generate UUIDs compat

We can't live, work or learn in freedom unless the software we use is free.