From: Michael Schutte <michi@uiae.at> To: kbd@lists.altlinux.org Subject: [kbd] [PATCH] Change misleading kbd_mode message for XLATE mode Date: Sat, 2 Jan 2010 17:34:40 +0100 Message-ID: <1262450081-7229-1-git-send-email-michi@uiae.at> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1243 bytes --] The text said “default (ASCII) mode”, which is wrong in two respects: XLATE isn’t limited to 7-bit ASCII, but works with various 8-bit charsets, and the XLATE mode hasn’t been the kernel default for a while. Thanks for the hint go to Samuel Thibault <sthibault@debian.org>. The usage of kbd_mode together with grep in shell scripts might become an issue with this commit, though cursory research with codesearch.google.com shows only the BiCon project <http://sourceforge.net/projects/bicon/>, which does “kbd_mode | grep -q -i Unicode” and is thus unaffected. Signed-off-by: Michael Schutte <michi@uiae.at> --- src/kbd_mode.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/kbd_mode.c b/src/kbd_mode.c index b286678..fe4e233 100644 --- a/src/kbd_mode.c +++ b/src/kbd_mode.c @@ -89,7 +89,7 @@ main(int argc, char *argv[]){ printf(_("The keyboard is in mediumraw (keycode) mode\n")); break; case K_XLATE: - printf(_("The keyboard is in the default (ASCII) mode\n")); + printf(_("The keyboard is in xlate (8-bit) mode\n")); break; case K_UNICODE: printf(_("The keyboard is in Unicode (UTF-8) mode\n")); -- tg: (dab334b..) fixes/kbd_mode (depends on: upstream/master)
reply other threads:[~2010-01-02 16:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1262450081-7229-1-git-send-email-michi@uiae.at \ --to=michi@uiae.at \ --cc=kbd@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux console tools development discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \ kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com public-inbox-index kbd Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.kbd AGPL code for this site: git clone https://public-inbox.org/public-inbox.git