Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
keyok(3) keyok(3)
NAME
keyok - enable or disable a keycode
SYNOPSIS
#include <curses.h>
int keyok(int keycode, bool enable);
DESCRIPTION
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 reenabled.
RETURN VALUE
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.
PORTABILITY
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 con-
ditioned using NCURSES_VERSION.
SEE ALSO
define_key(3).
AUTHOR
Thomas Dickey.
1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
OpenBSD sources for keyok(3)
Up to: Terminal I/O - low-level character based display (TTY) and keyboard routines.
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
keyok.3/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|