*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> keybound (3)              



NAME    [Toc]    [Back]

       keybound - return definition of keycode

SYNOPSIS    [Toc]    [Back]

       #include <curses.h>

       int keybound(int keycode, int count);

DESCRIPTION    [Toc]    [Back]

       This is an extension to the curses library.  It permits an
       application to determine the string which  is  defined  in
       the terminfo for specific keycodes.

RETURN VALUE    [Toc]    [Back]

       The  keycode  must  be  greater  than  zero,  else NULL is
       returned.  If it does not correspond  to  a  defined  key,
       then  NULL is returned.  Otherwise, the function returns a
       string, which must be freed by the caller.

PORTABILITY    [Toc]    [Back]

       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

SEE ALSO    [Toc]    [Back]

       define_key(3), keyok(3).

AUTHOR    [Toc]    [Back]

       Thomas Dickey.
[ Back ]
 Similar pages
Name OS Title
define_key OpenBSD define a keycode
define_key FreeBSD define a keycode
keyok OpenBSD enable or disable a keycode
keyok FreeBSD enable or disable a keycode
XmTranslateKey IRIX The default keycode-to-keysym translator
XmTranslateKey Tru64 The default keycode-to-keysym translator
XmTranslateKey HP-UX The default keycode-to-keysym translator
getkeycodes Linux print kernel scancode-to-keycode mapping table
setkeycodes Linux load kernel scancode-to-keycode mapping table entries
protocols Linux the protocols definition file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service