NAME
kbleds – PS/2 keyboard leds

SYNOPSIS
bind –a #λ /dev
/dev/kbleds

DESCRIPTION

The kleds device serves a one–level directory containing a single file, kbleds, representing the state of the leds of a PS/2 keyboard. A read of the file returns the known state of the leds. A write of a line containing the name of a single led (scroll, caps or num) and the state changes the state of a led.

EXAMPLE
bind –a '#λ' /dev
echo scroll on > /dev/kbleds
echo caps off > /dev/kbleds
echo num on > /dev/kbleds

SOURCE
/sys/src/9/pc/kbd.c /sys/src/9/pc/devkbleds.c

BUGS
Changing the state of the leds a lot may break composed keys sometimes.
Copyright © 2008 Lucent Technologies. All rights reserved.