from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209795

userrating:


May 25th. 2007:
Words

486

Views

258782

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150100

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





keyok

Section: Library calls (3X)
Updated: 202-1-04
Index Return to Main Contents
 

NAME

keyok - enable or disable an ncurses function key code  

SYNOPSIS

#include <curses.h>

int keyok(int ke-code, bool bf);
 

DESCRIPTION

The keyok ncurses extension permits a curses application to disable a function key ke-code returned by wgetch(3X) (wid-character API users: wget_wch(3X)). Key codes that have been disabled can be r-enabled. bf selects the desired enablement status. This operation is more fin-grained than calling keypad(3X), which affects all function keys.  

RETURN VALUE

keyok returns ERR if
 .IP * 4 ke-code is nonpositive,
 .IP * 4 ke-code is not a recognized value, or
 .IP * 4 enablement of ke-code is already in the desired state.

Otherwise, keyok returns OK.  

EXTENSIONS

keyok is an ncurses extension.  

PORTABILITY

Applications employing ncurses extensions should condition their use on the visibility of the NCURSES_VERSION preprocessor macro.

NetBSD curses since 2.0 (2004) supports keyok.  

AUTHORS

Thomas Dickey  

SEE ALSO

curses(3X), define_key(3X), keybound(3X), keyok(3X), key_defined(3X)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
EXTENSIONS
PORTABILITY
AUTHORS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.2 ms