* Re: [kbd] Bug#508795: /bin/kbd_mode: kbd_mode: '-C' option not mentioned in manpage
@ 2008-12-21 14:07 ` Michael Schutte
2008-12-25 20:25 ` Alexey Gladkov
0 siblings, 1 reply; 2+ messages in thread
From: Michael Schutte @ 2008-12-21 14:07 UTC (permalink / raw)
To: kbd; +Cc: 508795, Piotr Lewandowski
[-- Attachment #1.1: Type: text/plain, Size: 333 bytes --]
tags 508795 + patch
thanks
Hi Alexey,
On Mon, Dec 15, 2008 at 01:34:40PM +0100, Piotr Lewandowski wrote:
> Package: kbd
> Version: 1.14.1-4
> Severity: minor
> File: /bin/kbd_mode
>
> kbd_mode(1) does not mention the '-C' option.
Please consider the attached patch.
Thanks,
--
Michael Schutte <michi@uiae.at>
[-- Attachment #1.2: 508795.patch --]
[-- Type: text/x-diff, Size: 1073 bytes --]
commit 0bb2fb1d9334033307b0cdd6001fe6440af3067f
Author: Michael Schutte <michi@uiae.at>
Date: Sun Dec 21 14:46:19 2008 +0100
kbd_mode(1): Document the -C option, closes: #508795
Signed-off-by: Michael Schutte <michi@uiae.at>
diff --git a/man/man1/kbd_mode.1 b/man/man1/kbd_mode.1
index ee3316a..960b36c 100644
--- a/man/man1/kbd_mode.1
+++ b/man/man1/kbd_mode.1
@@ -6,6 +6,8 @@ kbd_mode \- report or set the keyboard mode
.B kbd_mode
[
.I -a | -u | -k | -s
+] [
+.I -C CONSOLE
]
.SH DESCRIPTION
.IX "kbd_mode command" "" "\fLkbd_mode\fR command"
@@ -30,6 +32,9 @@ and these chars are transmitted to the kernel as 1, 2, or 3 bytes
In these latter two modes the key mapping defined by loadkeys(1)
is used.
+kbd_mode operates on the console specified by the "\-C" option; if there
+is none, the console associated with stdin is used.
+
Warning: changing the keyboard mode, other than between ASCII and
Unicode, will probably make your keyboard unusable.
This command is only meant for use (say via remote login)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread