78 lines
2.2 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
kbdinfo - obtain information about the status of a console
|
|
<A NAME="lbAC"> </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"> </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"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+kbd_mode">kbd_mode</A></B>(1)
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
kbdinfo is Copyright © 2011 Alexey Gladkov
|
|
<<A HREF="mailto:gladkov.alexey@gmail.com">gladkov.alexey@gmail.com</A>>.
|
|
<P>
|
|
|
|
This manual page was written by Michael Schutte <<A HREF="mailto:michi@debian.org">michi@debian.org</A>> for
|
|
the Debian GNU/Linux system (but may be used by others).
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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>
|