man-pages/man1/kbdinfo.1.html
2021-03-31 01:06:50 +01:00

78 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of KBDINFO</TITLE>
</HEAD><BODY>
<H1>KBDINFO</H1>
Section: User Commands (1)<BR>Updated: June 2011<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
kbdinfo - obtain information about the status of a console
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>kbdinfo</B> [-C <I>DEVICE</I>] getmode [text|graphics]
<P>
<B>kbdinfo</B> [-C <I>DEVICE</I>] gkbmode [raw|xlate|mediumraw|unicode]
<P>
<B>kbdinfo</B> [-C <I>DEVICE</I>] gkbmeta [metabit|escprefix]
<P>
<B>kbdinfo</B> [-C <I>DEVICE</I>] gkbled [scrolllock|numlock|capslock]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>kbdinfo</B>
is an interface to KDGETMODE, GKBMODE, GKBMETA and GKBLED ioctls. Its
primary use case is to query the status of the given
<I>CONSOLE</I>
(or the currently active one, if no -C option is present) from a shell
script.
<P>
If the final value argument is not specified,
<B>kbdinfo</B>
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.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+kbd_mode">kbd_mode</A></B>(1)
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
kbdinfo is Copyright &#169; 2011 Alexey Gladkov
&lt;<A HREF="mailto:gladkov.alexey@gmail.com">gladkov.alexey@gmail.com</A>&gt;.
<P>
This manual page was written by Michael Schutte &lt;<A HREF="mailto:michi@debian.org">michi@debian.org</A>&gt; for
the Debian GNU/Linux system (but may be used by others).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:17 GMT, March 31, 2021
</BODY>
</HTML>