kbdinfo(1) debian man page | unix.com

Man Page: kbdinfo

Operating Environment: debian

Section: 1

KBDINFO(1)						      General Commands Manual							KBDINFO(1)

NAME
kbdinfo - obtain information about the status of a console
SYNOPSIS
kbdinfo [-C DEVICE] getmode [text|graphics] kbdinfo [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode] kbdinfo [-C DEVICE] gkbmeta [metabit|escprefix] kbdinfo [-C DEVICE] gkbled [scrolllock|numlock|capslock]
DESCRIPTION
kbdinfo is an interface to KDGETMODE, GKBMODE, GKBMETA and GKBLED ioctls. Its primary use case is to query the status of the given CONSOLE (or the currently active one, if no -C option is present) from a shell script. If the final value argument is not specified, kbdinfo will print the result of the desired ioctl to the standard output. Otherwise, the given value is compared to the actual result, and the utility will exit with a status code of 0 for a match, 1 otherwise. No text is printed for this style of invocation.
SEE ALSO
kbd_mode(1)
AUTHOR
kbdinfo is Copyright (C) 2011 Alexey Gladkov <gladkov.alexey@gmail.com>. This manual page was written by Michael Schutte <michi@debian.org> for the Debian GNU/Linux system (but may be used by others). June 2011 KBDINFO(1)
Related Man Pages
xf86miscsetmousesettings(3) - centos
setvtrgb(1) - debian
scsi_stop(8) - debian
xf86misc(3) - centos
xf86miscgetmousesettings(3) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Introduction
One instance of comparing grep and awk
Weird 'find' results
New UNIX and Linux History Sections