curses_keyname man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

CURSES_KEYNAME(3)	 BSD Library Functions Manual	     CURSES_KEYNAME(3)

NAME
     curses_keyname, keyname — curses report key name routine

LIBRARY
     Curses Library (libcurses, -lcurses)

SYNOPSIS
     #include <curses.h>

     char *
     keyname(int key);

DESCRIPTION
     The function keyname() generates a character string containing a descrip‐
     tion of the key specified in key.

     The string is formatted according to the following table:

     Description		 Key range	      String format
     Control character		 0 - 31		      ^X
     Visible character		 32 - 126	      X
     Delete character		 127		      ^?
     Meta + control character	 128 - 158	      M-^X
     Meta + visible character	 159 - 254	      M-X
     Meta + delete character	 255		      M-^?
     Named key			 KEY_MIN - KEY_MAX    KEY_EXIT
     Unknown key				      -1

SEE ALSO
     curses_input(3)

NOTE
     The return value of keyname() is a static buffer, which will be overwrit‐
     ten on a subsequent call.

STANDARDS
     The NetBSD Curses library complies with the X/Open Curses specification,
     part of the Single Unix Specification.

HISTORY
     These functions first appeared in NetBSD 2.0.

BSD			       October 17, 2007				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

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