summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/kbdinfo.1
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/mageia-cauldron/man1/kbdinfo.1')
-rw-r--r--upstream/mageia-cauldron/man1/kbdinfo.191
1 files changed, 91 insertions, 0 deletions
diff --git a/upstream/mageia-cauldron/man1/kbdinfo.1 b/upstream/mageia-cauldron/man1/kbdinfo.1
new file mode 100644
index 00000000..a4cf48e2
--- /dev/null
+++ b/upstream/mageia-cauldron/man1/kbdinfo.1
@@ -0,0 +1,91 @@
+.TH KBDINFO "1" "June 2019" "kbd"
+.SH NAME
+kbdinfo \- read information about keyboard state
+.SH SYNOPSIS
+.B kbdinfo
+[\fI\,options\/\fR] \fI\,getmode \/\fR[\fI\,text|graphics\/\fR]
+.br
+.B kbdinfo
+[\fI\,options\/\fR] \fI\,gkbmode \/\fR[\fI\,raw|xlate|mediumraw|unicode\/\fR]
+.br
+.B kbdinfo
+[\fI\,options\/\fR] \fI\,gkbmeta \/\fR[\fI\,metabit|escprefix\/\fR]
+.br
+.B kbdinfo
+[\fI\,options\/\fR] \fI\,gkbled \/\fR[\fI\,scrolllock|numlock|capslock\/\fR]
+.SH DESCRIPTION
+The utility allows you to read and check various parameters of the keyboard and
+virtual console.
+.TP 9
+.B getmode
+Get or check virtual console mode.
+.TP 9
+.B gkbmode
+Gets current keyboard mode.
+.LP
+.RS
+.TP 12
+.B raw
+Raw (scancode) mode. These are the raw codes generated by the keyboard.
+.TP 12
+.B mediumraw
+Medium raw (scancode) mode. This is extended medium raw mode, with keys above
+127 encoded as 0, high 7 bits, low 7 bits, with the 0 bearing the 'up' flag if
+needed. 0 is reserved, so this shouldn't interfere with anything else. The two
+bytes after 0 will always have the up flag set not to interfere with older
+applications. This allows for 16384 different keycodes, which should be enough.
+.TP 12
+.B xlate
+Translate keycodes using keymap. These are the codes generated via the current
+keysym mapping.
+.TP 12
+.B unicode
+Unicode mode.
+.RE
+.LP
+.TP 9
+.B gkbmeta
+Gets meta key handling mode.
+.LP
+.RS
+.TP 12
+.B escprefix
+Specifies if pressing the meta (alt) key generates an ESC (\\033) prefix followed by the keysym.
+.TP 12
+.B metabit
+The keysym marked with the high bit set.
+.RE
+.LP
+
+.TP 9
+.B gkbled
+Get keyboard flags CapsLock, NumLock, ScrollLock (not lights).
+.LP
+.RS
+.TP 12
+.B scrolllock
+The scroll lock is down.
+.TP 12
+.B numlock
+The num lock is down.
+.TP 12
+.B capslock
+The caps lock is down.
+.RE
+.LP
+.SH OPTIONS
+.TP
+\fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR
+the console device to be used;
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+print version number;
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+print this usage message.
+.SH AUTHORS
+Written by Alexey Gladkov.
+.SH "SEE ALSO"
+.BR kbdrate (1),
+.BR setleds (1),
+.BR kbd_mode (1)