|
|
fc7faf |
diff -up kbd-1.15.5/man/man1/dumpkeys.1.in.orig kbd-1.15.5/man/man1/dumpkeys.1.in
|
|
|
fc7faf |
--- kbd-1.15.5/man/man1/dumpkeys.1.in.orig 2018-06-19 10:36:33.232357789 +0200
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man1/dumpkeys.1.in 2018-06-19 10:36:33.247357808 +0200
|
|
|
fc7faf |
@@ -5,10 +5,15 @@ dumpkeys \- dump keyboard translation ta
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
.B dumpkeys
|
|
|
fc7faf |
[
|
|
|
fc7faf |
-.B \-hilfn
|
|
|
fc7faf |
+.B \-1Vdfhiklnstv
|
|
|
fc7faf |
+.B \-h \-\-help \-i \-\-short\-info \-l \-s \-\-long\-info
|
|
|
fc7faf |
+.B \-n \-\-numeric \-f \-\-full\-table \-1 \-\-separate-lines
|
|
|
fc7faf |
+.BI \-S shape
|
|
|
fc7faf |
+.BI \-\-shape= shape
|
|
|
fc7faf |
+.B \-t \-\-funcs\-only \-k \-\-keys\-only \-d \-\-compose\-only
|
|
|
fc7faf |
.BI \-c charset
|
|
|
fc7faf |
-.B \-\-help \-\-short\-info \-\-long\-info \-\-numeric \-\-full\-table \-\-funcs\-only \-\-keys\-only \-\-compose\-only
|
|
|
fc7faf |
.BI \-\-charset= charset
|
|
|
fc7faf |
+.B \-v \-\-verbose \-V \-\-version
|
|
|
fc7faf |
]
|
|
|
fc7faf |
.SH DESCRIPTION
|
|
|
fc7faf |
.IX "dumpkeys command" "" "\fLdumpkeys\fR command"
|
|
|
fc7faf |
@@ -121,7 +126,7 @@ You can see you current function key def
|
|
|
fc7faf |
.RE
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
-.B \-l \-\-long-info
|
|
|
fc7faf |
+.B \-l \-s \-\-long-info
|
|
|
fc7faf |
This option instructs
|
|
|
fc7faf |
.B dumpkeys
|
|
|
fc7faf |
to print a long information listing. The output is the same as with the
|
|
|
fc7faf |
@@ -164,7 +169,10 @@ to write one line per (modifier,keycode)
|
|
|
fc7faf |
for plain keycodes.
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
-.B \-\-funcs-only
|
|
|
fc7faf |
+.BI \-S shape " " " " \-\-shape= shape
|
|
|
fc7faf |
+.LP
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-t \-\-funcs-only
|
|
|
fc7faf |
When this option is given,
|
|
|
fc7faf |
.B dumpkeys
|
|
|
fc7faf |
prints only the function key string definitions. Normally
|
|
|
fc7faf |
@@ -172,7 +180,7 @@ prints only the function key string defi
|
|
|
fc7faf |
prints both the key bindings and the string definitions.
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
-.B \-\-keys-only
|
|
|
fc7faf |
+.B \-k \-\-keys-only
|
|
|
fc7faf |
When this option is given,
|
|
|
fc7faf |
.B dumpkeys
|
|
|
fc7faf |
prints only the key bindings. Normally
|
|
|
fc7faf |
@@ -180,7 +188,7 @@ prints only the key bindings. Normally
|
|
|
fc7faf |
prints both the key bindings and the string definitions.
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
-.B \-\-compose-only
|
|
|
fc7faf |
+.B \-d \-\-compose-only
|
|
|
fc7faf |
When this option is given,
|
|
|
fc7faf |
.B dumpkeys
|
|
|
fc7faf |
prints only the compose key combinations.
|
|
|
fc7faf |
@@ -205,6 +213,13 @@ This option produces an output line `cha
|
|
|
fc7faf |
loadkeys how to interpret the keymap. (For example, "division" is
|
|
|
fc7faf |
0xf7 in iso-8859-1 but 0xba in iso-8859-8.)
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-v \-\-verbose
|
|
|
fc7faf |
+.LP
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-V \-\-version
|
|
|
fc7faf |
+Prints version number and exits.
|
|
|
fc7faf |
+.LP
|
|
|
fc7faf |
.SH FILES
|
|
|
fc7faf |
.PD 0
|
|
|
fc7faf |
.TP 20
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man1/fgconsole.1.orig kbd-1.15.5/man/man1/fgconsole.1
|
|
|
fc7faf |
--- kbd-1.15.5/man/man1/fgconsole.1.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man1/fgconsole.1 2018-06-19 10:36:33.247357808 +0200
|
|
|
fc7faf |
@@ -5,7 +5,13 @@ fgconsole \- print the number of the act
|
|
|
fc7faf |
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
.B fgconsole
|
|
|
fc7faf |
-.BI [ "--help" | "--version" | "--next-available" ]
|
|
|
fc7faf |
+.BI [
|
|
|
fc7faf |
+\-h \-\-help
|
|
|
fc7faf |
+|
|
|
|
fc7faf |
+\-V \-\-version
|
|
|
fc7faf |
+|
|
|
|
fc7faf |
+\-n \-\-next-available
|
|
|
fc7faf |
+]
|
|
|
fc7faf |
.SH DESCRIPTION
|
|
|
fc7faf |
If the active Virtual Terminal is
|
|
|
fc7faf |
.IR /dev/ttyN ,
|
|
|
fc7faf |
@@ -17,6 +23,12 @@ If the console is a serial console, then
|
|
|
fc7faf |
"serial"
|
|
|
fc7faf |
is printed instead.
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
+.I \-h \-\-help
|
|
|
fc7faf |
+Prints short usage message and exits.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.I \-V \-\-version
|
|
|
fc7faf |
+Prints version number and exits.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
.I \-\-next\-available
|
|
|
fc7faf |
Will show the next unallocated virtual terminal. Normally 6 virtual
|
|
|
fc7faf |
terminals are allocated, with number 7 used for X; this will return
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man1/loadkeys.1.in.orig kbd-1.15.5/man/man1/loadkeys.1.in
|
|
|
fc7faf |
--- kbd-1.15.5/man/man1/loadkeys.1.in.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man1/loadkeys.1.in 2018-06-19 10:36:33.247357808 +0200
|
|
|
fc7faf |
@@ -5,6 +5,9 @@ loadkeys \- load keyboard translation ta
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
.B loadkeys
|
|
|
fc7faf |
[
|
|
|
fc7faf |
+.I -a --ascii
|
|
|
fc7faf |
+] [
|
|
|
fc7faf |
+[
|
|
|
fc7faf |
.I -b --bkeymap
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
.I -c --clearcompose
|
|
|
fc7faf |
@@ -19,6 +22,8 @@ loadkeys \- load keyboard translation ta
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
.I -m --mktable
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
+.I -p --parse
|
|
|
fc7faf |
+] [
|
|
|
fc7faf |
.I -q --quiet
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
.I -s --clearstrings
|
|
|
fc7faf |
@@ -27,6 +32,8 @@ loadkeys \- load keyboard translation ta
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
.I -v --verbose
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
+.I -V --version
|
|
|
fc7faf |
+] [
|
|
|
fc7faf |
.I filename...
|
|
|
fc7faf |
]
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
@@ -177,14 +184,25 @@ instead of using the
|
|
|
fc7faf |
option.
|
|
|
fc7faf |
.SH "OTHER OPTIONS"
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
+.B \-a \-\-ascii
|
|
|
fc7faf |
+Force conversion to ASCII.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
.B \-h \-\-help
|
|
|
fc7faf |
.B loadkeys
|
|
|
fc7faf |
prints its version number and a short usage message to the programs
|
|
|
fc7faf |
standard error output and exits.
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
+.B \-p \-\-parse
|
|
|
fc7faf |
+.B loadkeys
|
|
|
fc7faf |
+searchs and parses keymap without action.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
.B \-q \-\-quiet
|
|
|
fc7faf |
.B loadkeys
|
|
|
fc7faf |
suppresses all normal output.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-V \-\-version
|
|
|
fc7faf |
+.B loadkeys
|
|
|
fc7faf |
+prints version number and exits.
|
|
|
fc7faf |
.SH WARNING
|
|
|
fc7faf |
Note that anyone having read access to
|
|
|
fc7faf |
.B /dev/console
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man1/showkey.1.orig kbd-1.15.5/man/man1/showkey.1
|
|
|
fc7faf |
--- kbd-1.15.5/man/man1/showkey.1.orig 2018-06-19 10:36:33.225357780 +0200
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man1/showkey.1 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -3,7 +3,7 @@
|
|
|
fc7faf |
.SH NAME
|
|
|
fc7faf |
showkey \- examine the codes sent by the keyboard
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
-showkey [\-h|\-\-help] [\-a|\-\-ascii] [\-s|\-\-scancodes] [\-k|\-\-keycodes]
|
|
|
fc7faf |
+showkey [\-h|\-\-help] [\-a|\-\-ascii] [\-s|\-\-scancodes] [\-k|\-\-keycodes] [\-V|\-\-version]
|
|
|
fc7faf |
.SH DESCRIPTION
|
|
|
fc7faf |
.IX "showkey command" "" "\fLshowkey\fR command"
|
|
|
fc7faf |
.LP
|
|
|
fc7faf |
@@ -66,6 +66,10 @@ are present.
|
|
|
fc7faf |
Starts
|
|
|
fc7faf |
.B showkey
|
|
|
fc7faf |
in `ascii' dump mode.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+\-V \-\-version
|
|
|
fc7faf |
+.B showkey
|
|
|
fc7faf |
+prints version number and exits.
|
|
|
fc7faf |
.SH "2.6 KERNELS"
|
|
|
fc7faf |
In 2.6 kernels key codes lie in the range 1-255, instead of 1-127.
|
|
|
fc7faf |
Key codes larger than 127 are returned as three bytes of which the
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man8/kbdrate.8.orig kbd-1.15.5/man/man8/kbdrate.8
|
|
|
fc7faf |
--- kbd-1.15.5/man/man8/kbdrate.8.orig 2018-06-19 10:36:33.227357783 +0200
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man8/kbdrate.8 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -48,7 +48,7 @@ For Intel-based systems, the allowable r
|
|
|
fc7faf |
in 250 ms steps. For SPARC systems, possible values are between 10 ms and 1440 ms,
|
|
|
fc7faf |
in 10 ms steps.
|
|
|
fc7faf |
.TP
|
|
|
fc7faf |
-.B \-V
|
|
|
fc7faf |
+.B \-V \-\-version
|
|
|
fc7faf |
Display a version number and exit.
|
|
|
fc7faf |
.SH BUGS
|
|
|
fc7faf |
Not all keyboards support all rates.
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man8/mapscrn.8.in.orig kbd-1.15.5/man/man8/mapscrn.8.in
|
|
|
fc7faf |
--- kbd-1.15.5/man/man8/mapscrn.8.in.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man8/mapscrn.8.in 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -3,7 +3,7 @@
|
|
|
fc7faf |
.SH NAME
|
|
|
fc7faf |
mapscrn \- load screen output mapping table
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
-.BR mapscrn " [" -v "] [" -o
|
|
|
fc7faf |
+.BR mapscrn " [" -V "] [" -v "] [" -o
|
|
|
fc7faf |
.IR map.orig ]
|
|
|
fc7faf |
.I mapfile
|
|
|
fc7faf |
.SH DESCRIPTION
|
|
|
fc7faf |
@@ -96,6 +96,13 @@ Single (possibly multi-byte) UTF-8 chara
|
|
|
fc7faf |
Note that control characters (with codes < 32) cannot be re-mapped with
|
|
|
fc7faf |
.I mapscrn
|
|
|
fc7faf |
because they have special meaning for the driver.
|
|
|
fc7faf |
+.SH OTHER OPTIONS
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-V
|
|
|
fc7faf |
+Prints version number and exits.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+.B \-v
|
|
|
fc7faf |
+Be verbose.
|
|
|
fc7faf |
.SH FILES
|
|
|
fc7faf |
.I @DATADIR@/consoletrans
|
|
|
fc7faf |
is the default directory for screen mappings.
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man8/setvtrgb.8.orig kbd-1.15.5/man/man8/setvtrgb.8
|
|
|
fc7faf |
--- kbd-1.15.5/man/man8/setvtrgb.8.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man8/setvtrgb.8 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -4,7 +4,7 @@
|
|
|
fc7faf |
setvtrgb \- set the virtual terminal RGB colors
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
.B setvtrgb
|
|
|
fc7faf |
-.I vga|FILE|\-
|
|
|
fc7faf |
+.I \-h|\-V|vga|FILE|\-
|
|
|
fc7faf |
.SH DESCRIPTION
|
|
|
fc7faf |
The
|
|
|
fc7faf |
.I setvtrgb
|
|
|
fc7faf |
@@ -30,6 +30,14 @@ To seed a valid
|
|
|
fc7faf |
And then edit the values in
|
|
|
fc7faf |
.B FILE
|
|
|
fc7faf |
|
|
|
fc7faf |
+.SH OTHER OPTIONS
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+\-h
|
|
|
fc7faf |
+Prints usage message and exits.
|
|
|
fc7faf |
+.TP
|
|
|
fc7faf |
+\-V
|
|
|
fc7faf |
+Prints version number and exists.
|
|
|
fc7faf |
+
|
|
|
fc7faf |
.SH AUTHOR
|
|
|
fc7faf |
The utility is written by Alexey Gladkov, Seth Forshee, Dustin Kirkland.
|
|
|
fc7faf |
|
|
|
fc7faf |
diff -up kbd-1.15.5/man/man8/showconsolefont.8.orig kbd-1.15.5/man/man8/showconsolefont.8
|
|
|
fc7faf |
--- kbd-1.15.5/man/man8/showconsolefont.8.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/man/man8/showconsolefont.8 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -6,10 +6,12 @@ showconsolefont \- Show the current EGA/
|
|
|
fc7faf |
.SH SYNOPSIS
|
|
|
fc7faf |
.B showconsolefont
|
|
|
fc7faf |
[
|
|
|
fc7faf |
-.B \-V
|
|
|
fc7faf |
+.B \-V | \-\-version
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
.B \-v
|
|
|
fc7faf |
] [
|
|
|
fc7faf |
+.B \-i
|
|
|
fc7faf |
+] [
|
|
|
fc7faf |
.B \-C
|
|
|
fc7faf |
.I console
|
|
|
fc7faf |
]
|
|
|
fc7faf |
@@ -20,6 +22,8 @@ The
|
|
|
fc7faf |
command outputs the current console font to stdout.
|
|
|
fc7faf |
The option \-v prints additional information, while
|
|
|
fc7faf |
the option \-V prints the program version number.
|
|
|
fc7faf |
+The option \-i doesn't print out the font table,
|
|
|
fc7faf |
+just shows ROWSxCOLSxCOUNT and exits.
|
|
|
fc7faf |
On Linux 2.6.1 and later, the option \-C allows one
|
|
|
fc7faf |
to indicate the console involved. Its argument is a pathname.
|
|
|
fc7faf |
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/dumpkeys.c.orig kbd-1.15.5/src/dumpkeys.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/dumpkeys.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/dumpkeys.c 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -558,19 +558,24 @@ valid options are:\n\
|
|
|
fc7faf |
\n\
|
|
|
fc7faf |
-h --help display this help text\n\
|
|
|
fc7faf |
-i --short-info display information about keyboard driver\n\
|
|
|
fc7faf |
- -l --long-info display above and symbols known to loadkeys\n\
|
|
|
fc7faf |
+ -l -s --long-info display above and symbols known to loadkeys\n\
|
|
|
fc7faf |
-n --numeric display keytable in hexadecimal notation\n\
|
|
|
fc7faf |
-f --full-table don't use short-hand notations, one row per keycode\n\
|
|
|
fc7faf |
-1 --separate-lines one line per (modifier,keycode) pair\n\
|
|
|
fc7faf |
- --funcs-only display only the function key strings\n\
|
|
|
fc7faf |
- --keys-only display only key bindings\n\
|
|
|
fc7faf |
- --compose-only display only compose key combinations\n\
|
|
|
fc7faf |
+ -S --shape=\n\
|
|
|
fc7faf |
+ -t --funcs-only display only the function key strings\n\
|
|
|
fc7faf |
+ -k --keys-only display only key bindings\n\
|
|
|
fc7faf |
+ -d --compose-only display only compose key combinations\n\
|
|
|
fc7faf |
-c --charset="));
|
|
|
fc7faf |
list_charsets(stderr);
|
|
|
fc7faf |
fprintf(stderr, _("\
|
|
|
fc7faf |
interpret character action codes to be from the\n\
|
|
|
fc7faf |
specified character set\n\
|
|
|
fc7faf |
"));
|
|
|
fc7faf |
+ fprintf(stderr, _("\
|
|
|
fc7faf |
+ -v --verbose\n\
|
|
|
fc7faf |
+ -V --version print version number\n\
|
|
|
fc7faf |
+"));
|
|
|
fc7faf |
exit(1);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/kbdinfo.c.orig kbd-1.15.5/src/kbdinfo.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/kbdinfo.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/kbdinfo.c 2018-06-19 10:36:33.248357810 +0200
|
|
|
fc7faf |
@@ -18,7 +18,10 @@ usage(int code) {
|
|
|
fc7faf |
_("Usage: %1$s [-C DEVICE] getmode [text|graphics]\n"
|
|
|
fc7faf |
" or: %1$s [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\n"
|
|
|
fc7faf |
" or: %1$s [-C DEVICE] gkbmeta [metabit|escprefix]\n"
|
|
|
fc7faf |
- " or: %1$s [-C DEVICE] gkbled [scrolllock|numlock|capslock]\n"),
|
|
|
fc7faf |
+ " or: %1$s [-C DEVICE] gkbled [scrolllock|numlock|capslock]\n"
|
|
|
fc7faf |
+ "Other options:\n"
|
|
|
fc7faf |
+ " -h print this usage message\n"
|
|
|
fc7faf |
+ " -V print version number\n"),
|
|
|
fc7faf |
progname);
|
|
|
fc7faf |
exit(code);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/kbdrate.c.orig kbd-1.15.5/src/kbdrate.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/kbdrate.c.orig 2018-06-19 10:36:33.227357783 +0200
|
|
|
fc7faf |
+++ kbd-1.15.5/src/kbdrate.c 2018-06-19 10:36:33.249357811 +0200
|
|
|
fc7faf |
@@ -257,7 +257,7 @@ main( int argc, char **argv ) {
|
|
|
fc7faf |
(!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version")))
|
|
|
fc7faf |
print_version_and_exit();
|
|
|
fc7faf |
|
|
|
fc7faf |
- while ( (c = getopt( argc, argv, "r:d:sv" )) != EOF ) {
|
|
|
fc7faf |
+ while ( (c = getopt( argc, argv, "r:d:s" )) != EOF ) {
|
|
|
fc7faf |
switch (c) {
|
|
|
fc7faf |
case 'r':
|
|
|
fc7faf |
rate = atof( optarg );
|
|
|
fc7faf |
@@ -270,7 +270,7 @@ main( int argc, char **argv ) {
|
|
|
fc7faf |
break;
|
|
|
fc7faf |
default:
|
|
|
fc7faf |
fprintf(stderr,
|
|
|
fc7faf |
- _("Usage: kbdrate [-V] [-s] [-r rate] [-d delay]\n"));
|
|
|
fc7faf |
+ _("Usage: kbdrate [-V | --version] [-s] [-r rate] [-d delay]\n"));
|
|
|
fc7faf |
exit(1);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
}
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/loadkeys.c.orig kbd-1.15.5/src/loadkeys.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/loadkeys.c.orig 2018-06-19 10:36:33.244357804 +0200
|
|
|
fc7faf |
+++ kbd-1.15.5/src/loadkeys.c 2018-06-19 10:36:33.249357811 +0200
|
|
|
fc7faf |
@@ -162,7 +162,8 @@ static void attr_noreturn usage(void)
|
|
|
fc7faf |
" -q --quiet suppress all normal output\n"
|
|
|
fc7faf |
" -s --clearstrings clear kernel string table\n"
|
|
|
fc7faf |
" -u --unicode force conversion to Unicode\n"
|
|
|
fc7faf |
- " -v --verbose report the changes\n"),
|
|
|
fc7faf |
+ " -v --verbose report the changes\n"
|
|
|
fc7faf |
+ " -V --version print version number\n"),
|
|
|
fc7faf |
PACKAGE_VERSION, DEFMAP);
|
|
|
fc7faf |
exit(EXIT_FAILURE);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/mapscrn.c.orig kbd-1.15.5/src/mapscrn.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/mapscrn.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/mapscrn.c 2018-06-19 10:36:33.249357811 +0200
|
|
|
fc7faf |
@@ -65,7 +65,7 @@ main(int argc, char *argv[]) {
|
|
|
fc7faf |
}
|
|
|
fc7faf |
|
|
|
fc7faf |
if (argc != 2) {
|
|
|
fc7faf |
- fprintf(stderr, _("usage: %s [-v] [-o map.orig] map-file\n"),
|
|
|
fc7faf |
+ fprintf(stderr, _("usage: %s [-V] [-v] [-o map.orig] map-file\n"),
|
|
|
fc7faf |
progname);
|
|
|
fc7faf |
exit(1);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/setvtrgb.c.orig kbd-1.15.5/src/setvtrgb.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/setvtrgb.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/setvtrgb.c 2018-06-19 10:36:33.250357812 +0200
|
|
|
fc7faf |
@@ -39,7 +39,8 @@ static void attr_noreturn
|
|
|
fc7faf |
usage(int code)
|
|
|
fc7faf |
{
|
|
|
fc7faf |
fprintf(stderr,
|
|
|
fc7faf |
- _("Usage: %s vga|FILE|-\n"
|
|
|
fc7faf |
+ _("Usage: %s [-h] [-V]\n"
|
|
|
fc7faf |
+ " %s vga|FILE|-\n"
|
|
|
fc7faf |
"\n"
|
|
|
fc7faf |
"If you use the FILE parameter, FILE should be exactly 3 lines of\n"
|
|
|
fc7faf |
"comma-separated decimal values for RED, GREEN, and BLUE.\n"
|
|
|
fc7faf |
@@ -48,8 +49,12 @@ usage(int code)
|
|
|
fc7faf |
" cat /sys/module/vt/parameters/default_{red,grn,blu} > FILE\n"
|
|
|
fc7faf |
"\n"
|
|
|
fc7faf |
"and then edit the values in FILE.\n"
|
|
|
fc7faf |
+ "\n"
|
|
|
fc7faf |
+ "Other options:\n"
|
|
|
fc7faf |
+ " -h print this usage message\n"
|
|
|
fc7faf |
+ " -V print version number\n"
|
|
|
fc7faf |
"\n"),
|
|
|
fc7faf |
- progname);
|
|
|
fc7faf |
+ progname, progname);
|
|
|
fc7faf |
exit(code);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/showconsolefont.c.orig kbd-1.15.5/src/showconsolefont.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/showconsolefont.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/showconsolefont.c 2018-06-19 10:37:06.169399318 +0200
|
|
|
fc7faf |
@@ -106,10 +106,11 @@ usage(void) {
|
|
|
fc7faf |
"(probably after loading a font with `setfont font')\n"
|
|
|
fc7faf |
"\n"
|
|
|
fc7faf |
"Valid options are:\n"
|
|
|
fc7faf |
- " -C tty Device to read the font from. Default: current tty.\n"
|
|
|
fc7faf |
- " -v Be more verbose.\n"
|
|
|
fc7faf |
- " -i Don't print out the font table, just show\n"
|
|
|
fc7faf |
- " ROWSxCOLSxCOUNT and exit.\n"));
|
|
|
fc7faf |
+ " -V --version Print version number and exit.\n"
|
|
|
fc7faf |
+ " -C tty Device to read the font from. Default: current tty.\n"
|
|
|
fc7faf |
+ " -v Be more verbose.\n"
|
|
|
fc7faf |
+ " -i Don't print out the font table, just show\n"
|
|
|
fc7faf |
+ " ROWSxCOLSxCOUNT and exit.\n"));
|
|
|
fc7faf |
exit(1);
|
|
|
fc7faf |
}
|
|
|
fc7faf |
|
|
|
fc7faf |
diff -up kbd-1.15.5/src/showkey.c.orig kbd-1.15.5/src/showkey.c
|
|
|
fc7faf |
--- kbd-1.15.5/src/showkey.c.orig 2012-12-01 22:41:38.000000000 +0100
|
|
|
fc7faf |
+++ kbd-1.15.5/src/showkey.c 2018-06-19 10:36:33.250357812 +0200
|
|
|
fc7faf |
@@ -85,6 +85,7 @@ usage(void) {
|
|
|
fc7faf |
" -a --ascii display the decimal/octal/hex values of the keys\n"
|
|
|
fc7faf |
" -s --scancodes display only the raw scan-codes\n"
|
|
|
fc7faf |
" -k --keycodes display only the interpreted keycodes (default)\n"
|
|
|
fc7faf |
+" -V --version print version number\n"
|
|
|
fc7faf |
), PACKAGE_VERSION);
|
|
|
fc7faf |
exit(1);
|
|
|
fc7faf |
}
|