TApxVT100Emulator.LEDs

TApxVT100Emulator

property LEDs : Integer

Returns the state of the LEDs on the VT100 keyboard.

The VT100 keyboard has a set of four LEDs embedded in the face of the keyboard. The host computer can set them on or off if required. The LEDs property returns an integer value as a binary representation of the current state of the LEDs: if the first LED is on, bit 0 is set in the property value; if the second LED is on, bit 1 is set and so on.

The LEDs are only visual, they do not affect the use of the keyboard or functionality of the terminal at all. Indeed, the host computer cannot even read their state.