Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #234
Difficulty: Easy
The ARPANET was started to create a Command and Control System that would survive a nuclear attack.
True or False?
Linux & Unix Commands - Search Man Pages

kybd(3u) [bsd man page]

kybd(3U)						    InterViews Reference Manual 						  kybd(3U)

kybd - predefined keyboard equivalents SYNOPSIS
#include <Unidraw/kybd.h> DESCRIPTION
The hybd header file provides external declarations for predefined keyboard equivalents corresponding to the predefined components, com- mands, and tools in the Unidraw library. These declarations take the form #extern const char* KLBL_name, *CODE_name where KLBL denotes the printable representation of the keyboard equivalent, and CODE denotes the code against which the key event is matched to find the corresponding control. SEE ALSO
ControlInfo(3U), KeyMap(3U), UControl(3U) Unidraw 1 August 1990 kybd(3U)

Check Out this Related Man Page

KeyMap(3U)						    InterViews Reference Manual 						KeyMap(3U)

KeyMap - activates controls given their keyboard equivalents SYNOPSIS
#include <Unidraw/keymap.h> DESCRIPTION
KeyMap supports keyboard equivalents, which allow the user of a Unidraw application to execute menu commands or select from a palette of controls by typing rather than pointing and clicking with the mouse. The KeyMap can activate a control given its key code as defined by its ControlInfo object. Only those controls registered with the KeyMap can be activated through the KeyMap. By default, the Editor base class handles key events by having its KeyMap execute the key code. PUBLIC OPERATIONS
KeyMap() Construct a new keymap, initially with no registrants. void Register(UControl*) void Register(KeyMap*) void Unregister(UControl*) void Unregister(KeyMap*) Register and unregister a control or another KeyMap. Registering a KeyMap is equivalent to registering all its registered controls individually. void Execute(const char* keyCode) Execute the given key code by activating the corresponding control. Each UControl contains a ControlInfo object that specifies its key code; thus the mapping between key codes and controls is defined by the ControlInfo objects collectively. Key codes among reg- istered controls should be unique. SEE ALSO
ControlInfo(3U), KeyMap(3U), UControl(3U), kybd(3U) Unidraw 1 August 1990 KeyMap(3U)

Featured Tech Videos